-
Notifications
You must be signed in to change notification settings - Fork 469
/
package-deploy.yaml
110 lines (97 loc) · 2.82 KB
/
package-deploy.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
agents:
- name: docker
dockerFilePath: docker/build/docker.ubuntu.Dockerfile
image: algorand/docker
version: scripts/configure_dev-deps.sh
buildArgs:
- GOLANG_VERSION=`./scripts/get_golang_version.sh`
env:
- AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY
- NETWORK=$NETWORK
- VERSION=$VERSION
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- $HOME/.docker:/root/.docker
workDir: $HOME/projects/go-algorand
- name: releases-page
dockerFilePath: docker/build/releases-page.Dockerfile
image: algorand/releases-page
version: scripts/configure_dev-deps.sh
env:
- AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY
- NETWORK=$NETWORK
- VERSION=$VERSION
workDir: $HOME/projects/go-algorand
- name: deb
dockerFilePath: docker/build/aptly.Dockerfile
image: algorand/aptly
version: scripts/configure_dev-deps.sh
env:
- AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY
- NETWORK=$NETWORK
- SNAPSHOT=$SNAPSHOT
- STAGING=$STAGING
- VERSION=$VERSION
volumes:
- $XDG_RUNTIME_DIR/gnupg/S.gpg-agent:/root/.gnupg/S.gpg-agent
- $HOME/.gnupg/pubring.kbx:/root/.gnupg/pubring.kbx
- $HOME/.gnupg/secring.gpg:/root/.gnupg/secring.gpg
- $HOME/.aptly:/root/.aptly
workDir: $HOME/projects/go-algorand
- name: rpm
dockerFilePath: docker/build/cicd.centos9.Dockerfile
image: algorand/go-algorand-ci-linux-centos9
version: scripts/configure_dev-deps.sh
buildArgs:
- GOLANG_VERSION=`./scripts/get_golang_version.sh`
env:
- AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY
- NETWORK=$NETWORK
- NO_DEPLOY=$NO_DEPLOY
- PACKAGES_DIR=$PACKAGES_DIR
- STAGING=$STAGING
- VERSION=$VERSION
volumes:
- $XDG_RUNTIME_DIR/gnupg/S.gpg-agent:/root/.gnupg/S.gpg-agent
- $HOME/.gnupg/pubring.kbx:/root/.gnupg/pubring.kbx
workDir: $HOME/projects/go-algorand
tasks:
- task: docker.Make
name: docker
agent: docker
target: mule-docker
- task: docker.Make
name: releases-page
agent: releases-page
target: mule-releases-page
- task: docker.Make
name: deb
agent: deb
target: mule-deploy-deb
- task: docker.Make
name: rpm
agent: rpm
target: mule-deploy-rpm
jobs:
package-deploy:
tasks:
- docker.Make.deb
- docker.Make.rpm
- docker.Make.docker
- docker.Make.releases-page
package-deploy-deb:
tasks:
- docker.Make.deb
package-deploy-rpm:
tasks:
- docker.Make.rpm
docker-hub:
tasks:
- docker.Make.docker
releases-page:
tasks:
- docker.Make.releases-page