1
1
---
2
2
kind : pipeline
3
+ type : docker
3
4
name : compliance
4
5
5
6
platform :
@@ -130,6 +131,7 @@ steps:
130
131
131
132
---
132
133
kind : pipeline
134
+ type : docker
133
135
name : testing-amd64
134
136
135
137
platform :
@@ -191,16 +193,6 @@ steps:
191
193
exclude :
192
194
- pull_request
193
195
194
- - name : build
195
- pull : always
196
- image : golang:1.17
197
- commands :
198
- - make backend
199
- environment :
200
- GOPROXY : https://goproxy.cn # proxy.golang.org is blocked in China, this proxy is not
201
- GOSUMDB : sum.golang.org
202
- TAGS : bindata sqlite sqlite_unlock_notify
203
-
204
196
- name : tag-pre-condition
205
197
pull : always
206
198
image : drone/git
@@ -212,11 +204,24 @@ steps:
212
204
commands :
213
205
- ./build/test-env-prepare.sh
214
206
207
+ - name : build
208
+ pull : always
209
+ image : golang:1.17
210
+ user : gitea
211
+ commands :
212
+ - ./build/test-env-check.sh
213
+ - make backend
214
+ environment :
215
+ GOPROXY : https://goproxy.cn # proxy.golang.org is blocked in China, this proxy is not
216
+ GOSUMDB : sum.golang.org
217
+ TAGS : bindata sqlite sqlite_unlock_notify
218
+ depends_on :
219
+ - prepare-test-env
220
+
215
221
- name : unit-test
216
222
image : gitea/test_env:linux-amd64 # https://gitea.com/gitea/test-env
217
223
user : gitea
218
224
commands :
219
- - ./build/test-env-check.sh
220
225
- make unit-test-coverage test-check
221
226
environment :
222
227
GOPROXY : off
@@ -230,7 +235,6 @@ steps:
230
235
image : gitea/test_env:linux-amd64 # https://gitea.com/gitea/test-env
231
236
user : gitea
232
237
commands :
233
- - ./build/test-env-check.sh
234
238
- make unit-test-coverage test-check
235
239
environment :
236
240
GOPROXY : off
@@ -243,7 +247,6 @@ steps:
243
247
image : gitea/test_env:linux-amd64 # https://gitea.com/gitea/test-env
244
248
user : gitea
245
249
commands :
246
- - ./build/test-env-check.sh
247
250
- make test-mysql-migration integration-test-coverage
248
251
environment :
249
252
GOPROXY : off
@@ -259,7 +262,6 @@ steps:
259
262
image : gitea/test_env:linux-amd64 # https://gitea.com/gitea/test-env
260
263
user : gitea
261
264
commands :
262
- - ./build/test-env-check.sh
263
265
- timeout -s ABRT 40m make test-mysql8-migration test-mysql8
264
266
environment :
265
267
GOPROXY : off
@@ -274,7 +276,6 @@ steps:
274
276
image : gitea/test_env:linux-amd64 # https://gitea.com/gitea/test-env
275
277
user : gitea
276
278
commands :
277
- - ./build/test-env-check.sh
278
279
- make test-mssql-migration test-mssql
279
280
environment :
280
281
GOPROXY : off
@@ -374,12 +375,13 @@ steps:
374
375
GOPROXY : https://goproxy.cn # proxy.golang.org is blocked in China, this proxy is not
375
376
GOSUMDB : sum.golang.org
376
377
TAGS : bindata gogit sqlite sqlite_unlock_notify
378
+ depends_on :
379
+ - prepare-test-env
377
380
378
381
- name : test-sqlite
379
382
image : gitea/test_env:linux-arm64 # https://gitea.com/gitea/test-env
380
383
user : gitea
381
384
commands :
382
- - ./build/test-env-check.sh
383
385
- timeout -s ABRT 40m make test-sqlite-migration test-sqlite
384
386
environment :
385
387
GOPROXY : off
@@ -394,7 +396,6 @@ steps:
394
396
image : gitea/test_env:linux-arm64 # https://gitea.com/gitea/test-env
395
397
user : gitea
396
398
commands :
397
- - ./build/test-env-check.sh
398
399
- timeout -s ABRT 40m make test-pgsql-migration test-pgsql
399
400
environment :
400
401
GOPROXY : off
@@ -469,6 +470,7 @@ steps:
469
470
470
471
---
471
472
kind : pipeline
473
+ type : docker
472
474
name : update_gitignore_and_licenses
473
475
474
476
platform :
@@ -505,6 +507,7 @@ steps:
505
507
506
508
---
507
509
kind : pipeline
510
+ type : docker
508
511
name : release-latest
509
512
510
513
platform :
@@ -683,6 +686,7 @@ steps:
683
686
684
687
---
685
688
kind : pipeline
689
+ type : docker
686
690
name : docs
687
691
688
692
platform :
@@ -724,6 +728,7 @@ steps:
724
728
725
729
---
726
730
kind : pipeline
731
+ type : docker
727
732
name : docker-linux-amd64-release-version
728
733
729
734
platform :
@@ -788,6 +793,7 @@ steps:
788
793
789
794
---
790
795
kind : pipeline
796
+ type : docker
791
797
name : docker-linux-amd64-release
792
798
793
799
platform :
@@ -852,6 +858,7 @@ steps:
852
858
853
859
---
854
860
kind : pipeline
861
+ type : docker
855
862
name : docker-linux-arm64-dry-run
856
863
857
864
platform :
@@ -884,6 +891,7 @@ steps:
884
891
885
892
---
886
893
kind : pipeline
894
+ type : docker
887
895
name : docker-linux-arm64-release-version
888
896
889
897
platform :
@@ -951,6 +959,7 @@ steps:
951
959
952
960
---
953
961
kind : pipeline
962
+ type : docker
954
963
name : docker-linux-arm64-release
955
964
956
965
platform :
@@ -1017,6 +1026,7 @@ steps:
1017
1026
- pull_request
1018
1027
---
1019
1028
kind : pipeline
1029
+ type : docker
1020
1030
name : docker-manifest-version
1021
1031
1022
1032
platform :
@@ -1060,6 +1070,7 @@ depends_on:
1060
1070
1061
1071
---
1062
1072
kind : pipeline
1073
+ type : docker
1063
1074
name : docker-manifest
1064
1075
1065
1076
platform :
@@ -1103,6 +1114,7 @@ depends_on:
1103
1114
1104
1115
---
1105
1116
kind : pipeline
1117
+ type : docker
1106
1118
name : notifications
1107
1119
1108
1120
platform :
0 commit comments