45
45
commands :
46
46
- make lint-backend
47
47
environment :
48
- GOPROXY : https://goproxy.cn # proxy.golang.org is blocked in China, this proxy is not
48
+ GOPROXY : https://goproxy.io # proxy.golang.org is blocked in China, this proxy is not
49
49
GOSUMDB : sum.golang.org
50
50
TAGS : bindata sqlite sqlite_unlock_notify
51
51
depends_on : [deps-backend]
58
58
commands :
59
59
- make golangci-lint-windows vet
60
60
environment :
61
- GOPROXY : https://goproxy.cn # proxy.golang.org is blocked in China, this proxy is not
61
+ GOPROXY : https://goproxy.io # proxy.golang.org is blocked in China, this proxy is not
62
62
GOSUMDB : sum.golang.org
63
63
TAGS : bindata sqlite sqlite_unlock_notify
64
64
GOOS : windows
73
73
commands :
74
74
- make lint-backend
75
75
environment :
76
- GOPROXY : https://goproxy.cn # proxy.golang.org is blocked in China, this proxy is not
76
+ GOPROXY : https://goproxy.io # proxy.golang.org is blocked in China, this proxy is not
77
77
GOSUMDB : sum.golang.org
78
78
TAGS : bindata gogit sqlite sqlite_unlock_notify
79
79
depends_on : [deps-backend]
@@ -113,7 +113,7 @@ steps:
113
113
pull : always
114
114
environment :
115
115
GO111MODULE : on
116
- GOPROXY : https://goproxy.cn
116
+ GOPROXY : https://goproxy.io
117
117
commands :
118
118
- go build -o gitea_no_gcc # test if build succeeds without the sqlite tag
119
119
depends_on : [deps-backend, checks-backend]
@@ -125,7 +125,7 @@ steps:
125
125
image : golang:1.18
126
126
environment :
127
127
GO111MODULE : on
128
- GOPROXY : https://goproxy.cn
128
+ GOPROXY : https://goproxy.io
129
129
GOOS : linux
130
130
GOARCH : arm64
131
131
TAGS : bindata gogit
@@ -141,7 +141,7 @@ steps:
141
141
image : golang:1.18
142
142
environment :
143
143
GO111MODULE : on
144
- GOPROXY : https://goproxy.cn
144
+ GOPROXY : https://goproxy.io
145
145
GOOS : windows
146
146
GOARCH : amd64
147
147
TAGS : bindata gogit
@@ -156,7 +156,7 @@ steps:
156
156
image : golang:1.18
157
157
environment :
158
158
GO111MODULE : on
159
- GOPROXY : https://goproxy.cn
159
+ GOPROXY : https://goproxy.io
160
160
GOOS : linux
161
161
GOARCH : 386
162
162
commands :
@@ -269,7 +269,7 @@ steps:
269
269
- ./build/test-env-check.sh
270
270
- make backend
271
271
environment :
272
- GOPROXY : https://goproxy.cn # proxy.golang.org is blocked in China, this proxy is not
272
+ GOPROXY : https://goproxy.io # proxy.golang.org is blocked in China, this proxy is not
273
273
GOSUMDB : sum.golang.org
274
274
TAGS : bindata sqlite sqlite_unlock_notify
275
275
depends_on : [deps-backend, prepare-test-env]
@@ -283,7 +283,7 @@ steps:
283
283
commands :
284
284
- make unit-test-coverage test-check
285
285
environment :
286
- GOPROXY : https://goproxy.cn
286
+ GOPROXY : https://goproxy.io
287
287
TAGS : bindata sqlite sqlite_unlock_notify
288
288
RACE_ENABLED : true
289
289
GITHUB_READ_TOKEN :
@@ -299,7 +299,7 @@ steps:
299
299
commands :
300
300
- make unit-test-coverage test-check
301
301
environment :
302
- GOPROXY : https://goproxy.cn
302
+ GOPROXY : https://goproxy.io
303
303
TAGS : bindata gogit sqlite sqlite_unlock_notify
304
304
RACE_ENABLED : true
305
305
GITHUB_READ_TOKEN :
@@ -315,7 +315,7 @@ steps:
315
315
commands :
316
316
- make test-mysql-migration integration-test-coverage
317
317
environment :
318
- GOPROXY : https://goproxy.cn
318
+ GOPROXY : https://goproxy.io
319
319
TAGS : bindata
320
320
RACE_ENABLED : true
321
321
TEST_LDAP : 1
@@ -332,7 +332,7 @@ steps:
332
332
commands :
333
333
- timeout -s ABRT 40m make test-mysql8-migration test-mysql8
334
334
environment :
335
- GOPROXY : https://goproxy.cn
335
+ GOPROXY : https://goproxy.io
336
336
TAGS : bindata
337
337
RACE_ENABLED : true
338
338
TEST_LDAP : 1
@@ -348,7 +348,7 @@ steps:
348
348
commands :
349
349
- make test-mssql-migration test-mssql
350
350
environment :
351
- GOPROXY : https://goproxy.cn
351
+ GOPROXY : https://goproxy.io
352
352
TAGS : bindata
353
353
RACE_ENABLED : true
354
354
TEST_LDAP : 1
@@ -363,7 +363,7 @@ steps:
363
363
commands :
364
364
- make coverage
365
365
environment :
366
- GOPROXY : https://goproxy.cn
366
+ GOPROXY : https://goproxy.io
367
367
TAGS : bindata
368
368
depends_on : [unit-test, test-mysql]
369
369
when :
@@ -455,7 +455,7 @@ steps:
455
455
- ./build/test-env-check.sh
456
456
- make backend
457
457
environment :
458
- GOPROXY : https://goproxy.cn # proxy.golang.org is blocked in China, this proxy is not
458
+ GOPROXY : https://goproxy.io # proxy.golang.org is blocked in China, this proxy is not
459
459
GOSUMDB : sum.golang.org
460
460
TAGS : bindata gogit sqlite sqlite_unlock_notify
461
461
depends_on : [deps-backend, prepare-test-env]
@@ -469,7 +469,7 @@ steps:
469
469
commands :
470
470
- timeout -s ABRT 40m make test-sqlite-migration test-sqlite
471
471
environment :
472
- GOPROXY : https://goproxy.cn
472
+ GOPROXY : https://goproxy.io
473
473
TAGS : bindata gogit sqlite sqlite_unlock_notify
474
474
RACE_ENABLED : true
475
475
TEST_TAGS : gogit sqlite sqlite_unlock_notify
@@ -485,7 +485,7 @@ steps:
485
485
commands :
486
486
- timeout -s ABRT 40m make test-pgsql-migration test-pgsql
487
487
environment :
488
- GOPROXY : https://goproxy.cn
488
+ GOPROXY : https://goproxy.io
489
489
TAGS : bindata gogit
490
490
RACE_ENABLED : true
491
491
TEST_TAGS : gogit
@@ -653,7 +653,7 @@ steps:
653
653
- export PATH=$PATH:$GOPATH/bin
654
654
- make release
655
655
environment :
656
- GOPROXY : https://goproxy.cn # proxy.golang.org is blocked in China, this proxy is not
656
+ GOPROXY : https://goproxy.io # proxy.golang.org is blocked in China, this proxy is not
657
657
TAGS : bindata sqlite sqlite_unlock_notify
658
658
volumes :
659
659
- name : deps
@@ -771,7 +771,7 @@ steps:
771
771
- export PATH=$PATH:$GOPATH/bin
772
772
- make release
773
773
environment :
774
- GOPROXY : https://goproxy.cn # proxy.golang.org is blocked in China, this proxy is not
774
+ GOPROXY : https://goproxy.io # proxy.golang.org is blocked in China, this proxy is not
775
775
TAGS : bindata sqlite sqlite_unlock_notify
776
776
depends_on : [fetch-tags]
777
777
volumes :
@@ -901,7 +901,7 @@ steps:
901
901
auto_tag_suffix : linux-amd64
902
902
repo : gitea/gitea
903
903
build_args :
904
- - GOPROXY=https://goproxy.cn
904
+ - GOPROXY=https://goproxy.io
905
905
password :
906
906
from_secret : docker_password
907
907
username :
@@ -919,7 +919,7 @@ steps:
919
919
auto_tag_suffix : linux-amd64-rootless
920
920
repo : gitea/gitea
921
921
build_args :
922
- - GOPROXY=https://goproxy.cn
922
+ - GOPROXY=https://goproxy.io
923
923
password :
924
924
from_secret : docker_password
925
925
username :
@@ -964,7 +964,7 @@ steps:
964
964
tags : dev-linux-amd64
965
965
repo : gitea/gitea
966
966
build_args :
967
- - GOPROXY=https://goproxy.cn
967
+ - GOPROXY=https://goproxy.io
968
968
password :
969
969
from_secret : docker_password
970
970
username :
@@ -982,7 +982,7 @@ steps:
982
982
tags : dev-linux-amd64-rootless
983
983
repo : gitea/gitea
984
984
build_args :
985
- - GOPROXY=https://goproxy.cn
985
+ - GOPROXY=https://goproxy.io
986
986
password :
987
987
from_secret : docker_password
988
988
username :
@@ -1026,7 +1026,7 @@ steps:
1026
1026
tags : ${DRONE_BRANCH##release/v}-dev-linux-amd64
1027
1027
repo : gitea/gitea
1028
1028
build_args :
1029
- - GOPROXY=https://goproxy.cn
1029
+ - GOPROXY=https://goproxy.io
1030
1030
password :
1031
1031
from_secret : docker_password
1032
1032
username :
@@ -1044,7 +1044,7 @@ steps:
1044
1044
tags : ${DRONE_BRANCH##release/v}-dev-linux-amd64-rootless
1045
1045
repo : gitea/gitea
1046
1046
build_args :
1047
- - GOPROXY=https://goproxy.cn
1047
+ - GOPROXY=https://goproxy.io
1048
1048
password :
1049
1049
from_secret : docker_password
1050
1050
username :
@@ -1079,7 +1079,7 @@ steps:
1079
1079
repo : gitea/gitea
1080
1080
tags : linux-arm64
1081
1081
build_args :
1082
- - GOPROXY=https://goproxy.cn
1082
+ - GOPROXY=https://goproxy.io
1083
1083
environment :
1084
1084
PLUGIN_MIRROR :
1085
1085
from_secret : plugin_mirror
@@ -1122,7 +1122,7 @@ steps:
1122
1122
auto_tag_suffix : linux-arm64
1123
1123
repo : gitea/gitea
1124
1124
build_args :
1125
- - GOPROXY=https://goproxy.cn
1125
+ - GOPROXY=https://goproxy.io
1126
1126
password :
1127
1127
from_secret : docker_password
1128
1128
username :
@@ -1140,7 +1140,7 @@ steps:
1140
1140
auto_tag_suffix : linux-arm64-rootless
1141
1141
repo : gitea/gitea
1142
1142
build_args :
1143
- - GOPROXY=https://goproxy.cn
1143
+ - GOPROXY=https://goproxy.io
1144
1144
password :
1145
1145
from_secret : docker_password
1146
1146
username :
@@ -1185,7 +1185,7 @@ steps:
1185
1185
tags : dev-linux-arm64
1186
1186
repo : gitea/gitea
1187
1187
build_args :
1188
- - GOPROXY=https://goproxy.cn
1188
+ - GOPROXY=https://goproxy.io
1189
1189
password :
1190
1190
from_secret : docker_password
1191
1191
username :
@@ -1203,7 +1203,7 @@ steps:
1203
1203
tags : dev-linux-arm64-rootless
1204
1204
repo : gitea/gitea
1205
1205
build_args :
1206
- - GOPROXY=https://goproxy.cn
1206
+ - GOPROXY=https://goproxy.io
1207
1207
password :
1208
1208
from_secret : docker_password
1209
1209
username :
@@ -1247,7 +1247,7 @@ steps:
1247
1247
tags : ${DRONE_BRANCH##release/v}-dev-linux-arm64
1248
1248
repo : gitea/gitea
1249
1249
build_args :
1250
- - GOPROXY=https://goproxy.cn
1250
+ - GOPROXY=https://goproxy.io
1251
1251
password :
1252
1252
from_secret : docker_password
1253
1253
username :
@@ -1265,7 +1265,7 @@ steps:
1265
1265
tags : ${DRONE_BRANCH##release/v}-dev-linux-arm64-rootless
1266
1266
repo : gitea/gitea
1267
1267
build_args :
1268
- - GOPROXY=https://goproxy.cn
1268
+ - GOPROXY=https://goproxy.io
1269
1269
password :
1270
1270
from_secret : docker_password
1271
1271
username :
0 commit comments