-
Notifications
You must be signed in to change notification settings - Fork 93
/
mule.yaml
69 lines (56 loc) · 1.23 KB
/
mule.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
56
57
58
59
60
61
62
63
64
65
66
67
68
agents:
- name: ubuntu
dockerFilePath: docker/Dockerfile.mule
image: algorand/indexer-ci-linux
version: README.md
env:
- AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY
volumes:
- $XDG_RUNTIME_DIR/gnupg/S.gpg-agent:/root/.gnupg/S.gpg-agent
- $HOME/.gnupg/pubring.kbx:/root/.gnupg/pubring.kbx
workDir: $HOME/projects/indexer
tasks:
- task: docker.Make
name: package
agent: ubuntu
target: package
- task: s3.BucketCopy
name: stage
src: $HOME/projects/indexer/tmp/node_pkgs/linux/amd64/$VERSION
dest: s3://$STAGING/indexer/$VERSION
- task: docker.Make
name: sign
agent: ubuntu
target: sign
- task: docker.Make
name: deploy
agent: ubuntu
target: deploy
- task: docker.Make
name: test
agent: ubuntu
target: test
- task: docker.Make
name: test-package
agent: ubuntu
target: test-package
jobs:
deploy:
tasks:
- docker.Make.deploy
package:
tasks:
- docker.Make.package
sign:
tasks:
- docker.Make.sign
stage:
tasks:
- s3.BucketCopy.stage
test:
tasks:
- docker.Make.test
test-package:
tasks:
- docker.Make.test-package