-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTaskfile.yaml
48 lines (45 loc) · 1 KB
/
Taskfile.yaml
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
39
40
41
42
43
44
45
46
47
48
version: '3'
vars:
PLATFORM: sulfone
SERVICE: boron
USER: kirinnee/
REGISTRY_HOST: http://host.docker.internal:9001
includes:
docker: tasks/Taskfile.docker.yaml
general:
taskfile: tasks/Taskfile.tf.yaml
dir: tofu/live/general
ruby:
taskfile: tasks/Taskfile.tf.yaml
dir: tofu/live/ruby
opal:
taskfile: tasks/Taskfile.tf.yaml
dir: tofu/live/opal
mica:
taskfile: tasks/Taskfile.tf.yaml
dir: tofu/live/mica
talc:
taskfile: tasks/Taskfile.tf.yaml
dir: tofu/live/talc
tasks:
setup:
desc: 'Setup the repository'
cmds:
- go mod tidy
- ./scripts/local/secrets.sh
provision-and-deploy:
desc: 'Provision and deploy the cluster'
cmds:
- ./scripts/cd/provision-and-deploy.sh
exec:
desc: 'SSH into the executor'
cmds:
- ./scripts/local/exec.sh
build:
desc: 'Build the binary'
cmds:
- go build -o bin/{{.PLATFORM}}-{{.SERVICE}} .
run:
desc: 'Run the application'
cmds:
- go run . {{.CLI_ARGS}}