File tree 1 file changed +58
-22
lines changed
1 file changed +58
-22
lines changed Original file line number Diff line number Diff line change @@ -73,13 +73,6 @@ services:
73
73
MYSQL_ALLOW_EMPTY_PASSWORD : yes
74
74
MYSQL_DATABASE : test
75
75
76
- - name : mysql8
77
- pull : default
78
- image : mysql:8.0
79
- environment :
80
- MYSQL_ALLOW_EMPTY_PASSWORD : yes
81
- MYSQL_DATABASE : testgitea
82
-
83
76
- name : pgsql
84
77
pull : default
85
78
image : postgres:9.5
@@ -226,21 +219,6 @@ steps:
226
219
event :
227
220
- tag
228
221
229
- - name : test-mysql8
230
- pull : always
231
- image : golang:1.13
232
- commands :
233
- - " curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash"
234
- - apt-get install -y git-lfs
235
- - timeout -s ABRT 20m make test-mysql8-migration
236
- - timeout -s ABRT 20m make test-mysql8
237
- environment :
238
- GOPROXY : off
239
- TAGS : bindata
240
- TEST_LDAP : 1
241
- depends_on :
242
- - build
243
-
244
222
- name : test-pgsql
245
223
pull : always
246
224
image : golang:1.13
@@ -307,6 +285,64 @@ steps:
307
285
- push
308
286
- pull_request
309
287
288
+
289
+ ---
290
+ kind : pipeline
291
+ name : testing-mysql8-arm64
292
+
293
+ platform :
294
+ os : linux
295
+ arch : arm64
296
+
297
+ workspace :
298
+ base : /go
299
+ path : src/code.gitea.io/gitea
300
+
301
+ services :
302
+ - name : mysql8
303
+ pull : default
304
+ image : mysql:8.0
305
+ environment :
306
+ MYSQL_ALLOW_EMPTY_PASSWORD : yes
307
+ MYSQL_DATABASE : testgitea
308
+
309
+ steps :
310
+ - name : fetch-tags
311
+ pull : default
312
+ image : docker:git
313
+ commands :
314
+ - git fetch --tags --force
315
+ when :
316
+ event :
317
+ exclude :
318
+ - pull_request
319
+
320
+ - name : build
321
+ pull : always
322
+ image : golang:1.13
323
+ commands :
324
+ - curl -sL https://deb.nodesource.com/setup_12.x | bash - && apt -y install nodejs
325
+ - make build
326
+ environment :
327
+ GOPROXY : https://goproxy.cn # proxy.golang.org is blocked in China, this proxy is not
328
+ GOSUMDB : sum.golang.org
329
+ TAGS : bindata
330
+
331
+ - name : test-mysql8
332
+ pull : always
333
+ image : golang:1.13
334
+ commands :
335
+ - " curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash"
336
+ - apt-get install -y git-lfs
337
+ - timeout -s ABRT 20m make test-mysql8-migration
338
+ - timeout -s ABRT 20m make test-mysql8
339
+ environment :
340
+ GOPROXY : off
341
+ TAGS : bindata
342
+ TEST_LDAP : 0
343
+ depends_on :
344
+ - build
345
+
310
346
---
311
347
kind : pipeline
312
348
name : translations
You can’t perform that action at this time.
0 commit comments