27
27
28
28
- name : lint-backend
29
29
pull : always
30
- image : golang:1.16
30
+ image : gitea/test_env:linux-arm64 # https://gitea.com/gitea/test-env
31
31
commands :
32
32
- make lint-backend
33
33
environment :
37
37
38
38
- name : lint-backend-windows
39
39
pull : always
40
- image : golang:1.16
40
+ image : gitea/test_env:linux-arm64 # https://gitea.com/gitea/test-env
41
41
commands :
42
42
- make golangci-lint vet
43
43
environment :
49
49
50
50
- name : lint-backend-gogit
51
51
pull : always
52
- image : golang:1.16
52
+ image : gitea/test_env:linux-arm64 # https://gitea.com/gitea/test-env
53
53
commands :
54
54
- make lint-backend
55
55
environment :
@@ -223,10 +223,8 @@ steps:
223
223
from_secret : github_read_token
224
224
225
225
- name : test-mysql
226
- image : golang:1.16
226
+ image : gitea/test_env:linux-amd64 # https://gitea.com/gitea/test-env
227
227
commands :
228
- - " curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash"
229
- - apt-get install -y git-lfs
230
228
- make test-mysql-migration integration-test-coverage
231
229
environment :
232
230
GOPROXY : off
@@ -238,10 +236,8 @@ steps:
238
236
- build
239
237
240
238
- name : test-mysql8
241
- image : golang:1.16
239
+ image : gitea/test_env:linux-amd64 # https://gitea.com/gitea/test-env
242
240
commands :
243
- - " curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash"
244
- - apt-get install -y git-lfs
245
241
- timeout -s ABRT 40m make test-mysql8-migration test-mysql8
246
242
environment :
247
243
GOPROXY : off
@@ -252,10 +248,8 @@ steps:
252
248
- build
253
249
254
250
- name : test-mssql
255
- image : golang:1.16
251
+ image : gitea/test_env:linux-amd64 # https://gitea.com/gitea/test-env
256
252
commands :
257
- - " curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash"
258
- - apt-get install -y git-lfs
259
253
- make test-mssql-migration test-mssql
260
254
environment :
261
255
GOPROXY : off
@@ -349,10 +343,8 @@ steps:
349
343
TAGS : bindata gogit sqlite sqlite_unlock_notify
350
344
351
345
- name : test-sqlite
352
- image : golang:1.16
346
+ image : gitea/test_env:linux-arm64 # https://gitea.com/gitea/test-env
353
347
commands :
354
- - " curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash"
355
- - apt-get install -y git-lfs
356
348
- timeout -s ABRT 40m make test-sqlite-migration test-sqlite
357
349
environment :
358
350
GOPROXY : off
@@ -363,10 +355,8 @@ steps:
363
355
- build
364
356
365
357
- name : test-pgsql
366
- image : golang:1.16
358
+ image : gitea/test_env:linux-arm64 # https://gitea.com/gitea/test-env
367
359
commands :
368
- - " curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash"
369
- - apt-get install -y git-lfs
370
360
- timeout -s ABRT 40m make test-pgsql-migration test-pgsql
371
361
environment :
372
362
GOPROXY : off
0 commit comments