-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy pathTaskfile.yml
More file actions
74 lines (62 loc) · 1.41 KB
/
Taskfile.yml
File metadata and controls
74 lines (62 loc) · 1.41 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
version: "3"
includes:
build:
taskfile: "build/.tasks.yml"
dir: "."
clnvm:
taskfile: "libs/cln-version-manager/.tasks.yml"
dir: "libs/cln-version-manager/"
clientpy:
taskfile: "libs/gl-client-py/.tasks.yml"
dir: "libs/gl-client-py/"
testing:
taskfile: "libs/gl-testing/.tasks.yml"
dir: "libs/gl-testing/"
docker:
taskfile: "docker/.tasks.yml"
dir: "."
plugin:
taskfile: "libs/gl-plugin/.tasks.yml"
dir: "."
signerproxy:
taskfile: "libs/gl-signerproxy/.tasks.yml"
dir: "."
sdk:
taskfile: "libs/gl-sdk/.tasks.yml"
dir: "libs/gl-sdk/"
tasks:
ci-check:
deps:
- ci-build
cmds:
- task: sdk:test
- task: clientpy:check
- task: testing:check
- task: clnvm:check
docker-ci-build:
cmds:
- >
docker buildx build \
--load \
--build-arg DOCKER_USER=$(whoami) \
--build-arg UID=$(id -u) \
--build-arg GID=$(id -g) \
--build-arg GL_TESTING_IGNORE_HASH=1 \
--platform=linux/amd64 \
-t gltesting \
-f docker/gl-testing/Dockerfile \
.
docker-ci-check:
deps:
- docker-ci-build
cmds:
- docker run --rm -ti -v $(pwd):/repo gltesting task ci-check
ci-build:
cmds:
- task: signerproxy:build
- task: plugin:build
clean:
dir: "."
cmds:
- cargo clean
- rm -rf .venv