-
Notifications
You must be signed in to change notification settings - Fork 0
/
Taskfile.yaml
56 lines (53 loc) · 1.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
49
50
51
52
53
54
55
version: '3'
includes:
isengard:
dir: ./isengard
taskfile: ./isengard
gateway:
dir: ./gateway
taskfile: ./gateway
mordor:
dir: ./mordor
taskfile: ./mordor
shire:
dir: ./shire
taskfile: ./shire
test:
dir: ./test
taskfile: ./test
tasks:
default:
cmds:
- task -l
silent: true
run-subgraphs:
cmds:
- task -p mordor:run isengard:run
silent: true
run-gateway:
cmds:
- task -p mordor:run isengard:run
silent: true
test:
desc: runs tests
cmds:
- task: test:run
test-docker:
desc: runs tests using docker compose
cmds:
- docker-compose exec gandalf_the_green task setup
- docker-compose exec gandalf_the_green task run
test-sh:
desc: enters THA MACHINE
cmds:
- docker-compose exec gandalf_the_green bash
up:
desc: runs docker compose up
cmds:
- docker-compose up --build --remove-orphans
prune:
desc: docker image prune
cmds:
- docker rmi $(docker images -q --filter "dangling=true") -f
- docker image prune -fa
- docker images