-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskfile.yml
More file actions
38 lines (32 loc) · 816 Bytes
/
Copy pathTaskfile.yml
File metadata and controls
38 lines (32 loc) · 816 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# yaml-language-server: $schema=https://taskfile.dev/schema.json
version: "3"
includes:
deploy:
taskfile: ./deploy/Taskfile.yml
dir: ./deploy/
docker:
taskfile: ./Taskfile.docker.yml
backend:
taskfile: ./backend/Taskfile.yml
dir: ./backend/
web:
taskfile: ./web/Taskfile.yml
dir: ./web/
tasks:
push-all:
desc: Build and push all images
deps: [backend:push, web:push]
base-push-all:
desc: Build and push the initial versions of images
cmds:
- task backend:push IMAGE_TAG=0.1.0
- task web:push IMAGE_TAG=0.1.0
setup:
cmds:
- task: deploy:start-kind-with-registry
- task: deploy:tofu:apply-all
- task: base-push-all
teardown:
cmds:
- task: deploy:tofu:destroy-all
- task: deploy:stop-kind-with-registry