-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathTaskfile.yaml
More file actions
45 lines (39 loc) · 1.1 KB
/
Taskfile.yaml
File metadata and controls
45 lines (39 loc) · 1.1 KB
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
---
# https://taskfile.dev
version: '3'
includes:
go: ./tasks/go.yaml
k8s: ./tasks/k8s.yaml
argocd: ./tasks/argocd.yaml
ts: ./tasks/ts.yaml
docker: ./tasks/docker.yaml
python: ./tasks/python.yaml
dotenv: [.env]
tasks:
default:
cmds:
- task: go:generate
- task: go:fmt
- task: go:lint
- task: go:build
- task: go:test
- task: ts:lint
- task: ts:build
services:
desc: Set up services (aka ArgoCD) to use for tests.
cmds:
- task: k8s:cluster:delete
- task: k8s:start
- task: argocd:healthcheck
- task: argocd:token
devcontainer:
desc: Test devcontainer changes
cmds:
- docker build -t devcontainer -f ./.devcontainer/Dockerfile .
services:cicd:
desc: Run Docker container.
deps:
- services
- docker:build
cmds:
- docker run -d -v `pwd`/integration:/config -e TANGLE_CONFIG_PATH=/config/tangle.yaml --network=host --env-file .env --rm -p 8081:8081 tangle