-
Notifications
You must be signed in to change notification settings - Fork 13
/
pipeline.yml
350 lines (350 loc) · 14.6 KB
/
pipeline.yml
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
version: "1.1"
name: ""
stages:
- stage:
- git-checkout:
alias: git-checkout
description: 代码仓库克隆
version: "1.0"
params:
branch: ((gittar.branch))
depth: 1
uri: ((gittar.uri))
timeout: 3600
- git-checkout:
alias: raw-erda
version: "1.0"
params:
branch: master
depth: 1
password: ((gittar.password))
uri: https://github.com/erda-project/erda.git
username: ((gittar.username))
timeout: 3600
- stage:
- custom-script:
alias: erda
image: registry.erda.cloud/erda/gohub:1.0.7
commands:
- cp -a ${{ dirs.raw-erda }}/. .
- make proto-go-in-local
resources:
cpu: 0.5
mem: 2048
- stage:
- custom-script:
alias: make-As
description: 运行自定义命令
version: "2.0"
image: registry.erda.cloud/erda-actions/custom-script-action:2.0-20211224-c6b7a3e
commands:
- cd ${{ dirs.git-checkout }}
- cp -a ${{ dirs.erda }} .erda
- docker login "${DOCKER_REGISTRY_ERDA_ACTIONS}" -u "${DOCKER_REGISTRY_ERDA_ACTIONS_USERNAME}" -p "${DOCKER_REGISTRY_ERDA_ACTIONS_PASSWORD}"
- VERSION='1.0' make add-nodes
- VERSION='1.0' make agent
- VERSION='1.0' make android
- VERSION='1.0' make api-publish
- VERSION='1.0' make api-register
- VERSION='1.0' make api-test
- VERSION='2.0' make api-test
- VERSION='1.0' make app-create
- VERSION='1.0' make app-run
- VERSION='1.0' make archive-extensions
- VERSION='1.0' make archive-release
- VERSION='1.0' make assert
resources:
cpu: 0.5
mem: 2048
- custom-script:
alias: make-Bs
description: 运行自定义命令
version: "2.0"
image: registry.erda.cloud/erda-actions/custom-script-action:2.0-20211224-c6b7a3e
commands:
- cd ${{ dirs.git-checkout }}
- cp -a ${{ dirs.erda }} .erda
- docker login "${DOCKER_REGISTRY_ERDA_ACTIONS}" -u "${DOCKER_REGISTRY_ERDA_ACTIONS_USERNAME}" -p "${DOCKER_REGISTRY_ERDA_ACTIONS_PASSWORD}"
- VERSION='1.0' make buildpack
- VERSION='1.0' make buildpack-aliyun
resources:
cpu: 0.5
mem: 2048
- custom-script:
alias: make-Cs
description: 运行自定义命令
version: "2.0"
image: registry.erda.cloud/erda-actions/custom-script-action:2.0-20211224-c6b7a3e
commands:
- cd ${{ dirs.git-checkout }}
- cp -a ${{ dirs.erda }} .erda
- docker login "${DOCKER_REGISTRY_ERDA_ACTIONS}" -u "${DOCKER_REGISTRY_ERDA_ACTIONS_USERNAME}" -p "${DOCKER_REGISTRY_ERDA_ACTIONS_PASSWORD}"
- VERSION='1.0' make cloud-resource
- VERSION='1.0' make cluster-resource
- VERSION='1.0' make contrast-security
- VERSION='1.0' make cs-kubernetes
- VERSION='1.0' make cs-kubernetes-scale
- VERSION='1.0' make custom-script
- VERSION='2.0' make custom-script
resources:
cpu: 0.5
mem: 2048
- custom-script:
alias: make-Ds
description: 运行自定义命令
version: "2.0"
image: registry.erda.cloud/erda-actions/custom-script-action:2.0-20211224-c6b7a3e
commands:
- cd ${{ dirs.git-checkout }}
- cp -a ${{ dirs.erda }} .erda
- docker login "${DOCKER_REGISTRY_ERDA_ACTIONS}" -u "${DOCKER_REGISTRY_ERDA_ACTIONS_USERNAME}" -p "${DOCKER_REGISTRY_ERDA_ACTIONS_PASSWORD}"
- VERSION='1.0' make datax
- VERSION='1.1' make datax
- VERSION='1.2' make datax
- VERSION='1.0' make delete-ess-nodes
- VERSION='1.0' make dice
- VERSION='2.0' make dice
- VERSION='1.0' make dice-deploy
- VERSION='1.0' make dice-deploy-addon
- VERSION='1.0' make dice-deploy-domain
- VERSION='1.0' make dice-deploy-redeploy
- VERSION='1.0' make dice-deploy-release
- VERSION='1.0' make dice-deploy-rollback
- VERSION='1.0' make dice-deploy-service
- VERSION='1.0' make dingtalk-robot-msg
- VERSION='1.0' make docker-push
- VERSION='1.0' make dockerfile
resources:
cpu: 0.5
mem: 2048
- custom-script:
alias: make-Es
description: 运行自定义命令
version: "2.0"
image: registry.erda.cloud/erda-actions/custom-script-action:2.0-20211224-c6b7a3e
commands:
- cd ${{ dirs.git-checkout }}
- cp -a ${{ dirs.erda }} .erda
- docker login "${DOCKER_REGISTRY_ERDA_ACTIONS}" -u "${DOCKER_REGISTRY_ERDA_ACTIONS_USERNAME}" -p "${DOCKER_REGISTRY_ERDA_ACTIONS_PASSWORD}"
- VERSION='0.1' make echo
- VERSION='1.0' make echo
- VERSION='1.3' make echo
- VERSION='1.0' make email
- VERSION='1.0' make erda-add-app-config
- VERSION='1.0' make erda-create-custom-addon
- VERSION='1.0' make erda-get-addon-info
- VERSION='1.0' make erda-get-service-addr
- VERSION='1.0-56' make erda-mysql-migration
- VERSION='1.0-57' make erda-mysql-migration
- VERSION='1.0-80' make erda-mysql-migration
- VERSION='1.0' make ess-info
- VERSION='1.0' make extract-repo-version
resources:
cpu: 0.5
mem: 2048
- custom-script:
alias: make-Fs
description: 运行自定义命令
version: "2.0"
image: registry.erda.cloud/erda-actions/custom-script-action:2.0-20211224-c6b7a3e
commands:
- cd ${{ dirs.git-checkout }}
- cp -a ${{ dirs.erda }} .erda
- docker login "${DOCKER_REGISTRY_ERDA_ACTIONS}" -u "${DOCKER_REGISTRY_ERDA_ACTIONS_USERNAME}" -p "${DOCKER_REGISTRY_ERDA_ACTIONS_PASSWORD}"
- VERSION='1.0' make file-sync
- VERSION='1.1' make file-sync
- VERSION='1.0' make flink-upload
- VERSION='1.1' make flink-upload
resources:
cpu: 0.5
mem: 2048
- stage:
- custom-script:
alias: make-Gs
description: 运行自定义命令
version: "2.0"
image: registry.erda.cloud/erda-actions/custom-script-action:2.0-20211224-c6b7a3e
commands:
- cd ${{ dirs.git-checkout }}
- cp -a ${{ dirs.erda }} .erda
- docker login "${DOCKER_REGISTRY_ERDA_ACTIONS}" -u "${DOCKER_REGISTRY_ERDA_ACTIONS_USERNAME}" -p "${DOCKER_REGISTRY_ERDA_ACTIONS_PASSWORD}"
- VERSION='1.0' make git-checkout
- VERSION='1.0' make git-push
- VERSION='1.0' make gitbook
- VERSION='1.0' make golang
resources:
cpu: 0.5
mem: 2048
- custom-script:
alias: make-Is
description: 运行自定义命令
version: "2.0"
image: registry.erda.cloud/erda-actions/custom-script-action:2.0-20211224-c6b7a3e
commands:
- cd ${{ dirs.git-checkout }}
- cp -a ${{ dirs.erda }} .erda
- docker login "${DOCKER_REGISTRY_ERDA_ACTIONS}" -u "${DOCKER_REGISTRY_ERDA_ACTIONS_USERNAME}" -p "${DOCKER_REGISTRY_ERDA_ACTIONS_PASSWORD}"
- VERSION='1.0' make integration-test
- VERSION='1.0' make ios
resources:
cpu: 0.5
mem: 2048
- custom-script:
alias: make-Js
description: 运行自定义命令
version: "2.0"
image: registry.erda.cloud/erda-actions/custom-script-action:2.0-20211224-c6b7a3e
commands:
- cd ${{ dirs.git-checkout }}
- cp -a ${{ dirs.erda }} .erda
- docker login "${DOCKER_REGISTRY_ERDA_ACTIONS}" -u "${DOCKER_REGISTRY_ERDA_ACTIONS_USERNAME}" -p "${DOCKER_REGISTRY_ERDA_ACTIONS_PASSWORD}"
- VERSION='1.0' make java
- VERSION='1.0' make java-agent
- VERSION='1.0' make java-build
- VERSION='1.0' make java-dependency-check
- VERSION='1.0' make java-deploy
- VERSION='1.0' make java-lint
- VERSION='1.0' make java-unit
- VERSION='1.0' make js
- VERSION='1.0' make js-build
- VERSION='1.0' make js-deploy
- VERSION='1.0' make js-pack
- VERSION='1.0' make js-script
- VERSION='1.0' make jsonparse
resources:
cpu: 0.5
mem: 2048
- custom-script:
alias: make-Ks
description: 运行自定义命令
version: "2.0"
image: registry.erda.cloud/erda-actions/custom-script-action:2.0-20211224-c6b7a3e
commands:
- cd ${{ dirs.git-checkout }}
- cp -a ${{ dirs.erda }} .erda
- docker login "${DOCKER_REGISTRY_ERDA_ACTIONS}" -u "${DOCKER_REGISTRY_ERDA_ACTIONS_USERNAME}" -p "${DOCKER_REGISTRY_ERDA_ACTIONS_PASSWORD}"
- VERSION='1.0' make k8sflink
- VERSION='1.0' make k8sspark
resources:
cpu: 0.5
mem: 2048
- custom-script:
alias: make-Ls
description: 运行自定义命令
version: "2.0"
image: registry.erda.cloud/erda-actions/custom-script-action:2.0-20211224-c6b7a3e
commands:
- cd ${{ dirs.git-checkout }}
- cp -a ${{ dirs.erda }} .erda
- docker login "${DOCKER_REGISTRY_ERDA_ACTIONS}" -u "${DOCKER_REGISTRY_ERDA_ACTIONS_USERNAME}" -p "${DOCKER_REGISTRY_ERDA_ACTIONS_PASSWORD}"
- VERSION='1.0' make lib-publish
- VERSION='1.0' make loop
resources:
cpu: 0.5
mem: 2048
- stage:
- custom-script:
alias: make-Ms
description: 运行自定义命令
version: "2.0"
image: registry.erda.cloud/erda-actions/custom-script-action:2.0-20211224-c6b7a3e
commands:
- cd ${{ dirs.git-checkout }}
- cp -a ${{ dirs.erda }} .erda
- docker login "${DOCKER_REGISTRY_ERDA_ACTIONS}" -u "${DOCKER_REGISTRY_ERDA_ACTIONS_USERNAME}" -p "${DOCKER_REGISTRY_ERDA_ACTIONS_PASSWORD}"
- VERSION='1.0' make manual-review
- VERSION='1.0' make maven-deploy
- VERSION='1.0' make mobile-publish
- VERSION='1.0' make mobile-template
- VERSION='1.4' make model-publish
- VERSION='2.0' make model-publish
- VERSION='3.21' make model-publish
- VERSION='1.0' make mysql-assert
- VERSION='1.0' make mysql-cli
- VERSION='1.0' make mysqldump
resources:
cpu: 0.5
mem: 2048
- custom-script:
alias: make-NOPQs
description: 运行自定义命令
version: "2.0"
image: registry.erda.cloud/erda-actions/custom-script-action:2.0-20211224-c6b7a3e
commands:
- cd ${{ dirs.git-checkout }}
- cp -a ${{ dirs.erda }} .erda
- docker login "${DOCKER_REGISTRY_ERDA_ACTIONS}" -u "${DOCKER_REGISTRY_ERDA_ACTIONS_USERNAME}" -p "${DOCKER_REGISTRY_ERDA_ACTIONS_PASSWORD}"
- VERSION='1.0' make npm-publish
- VERSION='1.0' make oss-upload
- VERSION='1.0' make php
- VERSION='1.0' make project-artifacts
- VERSION='1.0' make project-package
- VERSION='1.0' make publish-api-asset
- VERSION='1.0' make push-extensions
- VERSION='3.21' make python-script
- VERSION='4.0' make python-script
resources:
cpu: 0.5
mem: 2048
- custom-script:
alias: make-Rs
description: 运行自定义命令
version: "2.0"
image: registry.erda.cloud/erda-actions/custom-script-action:2.0-20211224-c6b7a3e
commands:
- cd ${{ dirs.git-checkout }}
- cp -a ${{ dirs.erda }} .erda
- docker login "${DOCKER_REGISTRY_ERDA_ACTIONS}" -u "${DOCKER_REGISTRY_ERDA_ACTIONS_USERNAME}" -p "${DOCKER_REGISTRY_ERDA_ACTIONS_PASSWORD}"
- VERSION='1.0' make redis-cli
- VERSION='1.0' make release
- VERSION='1.0' make release-fetch
- VERSION='1.0' make reportengine
- VERSION='2.0' make reportengine
- VERSION='1.0' make rm-nodes
resources:
cpu: 0.5
mem: 2048
- stage:
- custom-script:
alias: make-Ss
description: 运行自定义命令
version: "2.0"
image: registry.erda.cloud/erda-actions/custom-script-action:2.0-20211224-c6b7a3e
commands:
- cd ${{ dirs.git-checkout }}
- cp -a ${{ dirs.erda }} .erda
- docker login "${DOCKER_REGISTRY_ERDA_ACTIONS}" -u "${DOCKER_REGISTRY_ERDA_ACTIONS_USERNAME}" -p "${DOCKER_REGISTRY_ERDA_ACTIONS_PASSWORD}"
- VERSION='1.0' make service-deploy
- VERSION='1.0' make sftp-access
- VERSION='1.0' make sonar
- VERSION='2.0' make sonar
- VERSION='1.0' make spark
- VERSION='1.0' make spark-upload
- VERSION='1.1' make spark-upload
- VERSION='1.0' make sql
- VERSION='1.1' make sql
- VERSION='1.2' make sql
resources:
cpu: 0.5
mem: 2048
- custom-script:
alias: make-TUVWs
description: 运行自定义命令
version: "2.0"
image: registry.erda.cloud/erda-actions/custom-script-action:2.0-20211224-c6b7a3e
commands:
- cd ${{ dirs.git-checkout }}
- cp -a ${{ dirs.erda }} .erda
- docker login "${DOCKER_REGISTRY_ERDA_ACTIONS}" -u "${DOCKER_REGISTRY_ERDA_ACTIONS_USERNAME}" -p "${DOCKER_REGISTRY_ERDA_ACTIONS_PASSWORD}"
- VERSION='3.21' make tagging
- VERSION='4.0' make tagging
- VERSION='1.0' make testplan
- VERSION='1.0' make testplan-run
- VERSION='1.0' make testscene-run
- VERSION='1.0' make unit-test
- VERSION='1.0' make upgrade-edge-cluster
- VERSION='1.0' make virtual-offline-image
- VERSION='1.0' make wait
resources:
cpu: 0.5
mem: 2048