mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-05 11:51:16 -06:00
Merge pull request #6056 from owncloud/proxy-lint-steps
use a proxy for the golangci-lint step
This commit is contained in:
16
.drone.star
16
.drone.star
@@ -477,6 +477,14 @@ def testOcisModule(ctx, module):
|
||||
"make -C %s ci-golangci-lint" % (module),
|
||||
"mv %s/checkstyle.xml cache/checkstyle/$(basename %s)_checkstyle.xml" % (module, module),
|
||||
],
|
||||
"environment": {
|
||||
"HTTP_PROXY": {
|
||||
"from_secret": "drone_http_proxy",
|
||||
},
|
||||
"HTTPS_PROXY": {
|
||||
"from_secret": "drone_http_proxy",
|
||||
},
|
||||
},
|
||||
"volumes": [stepVolumeGo],
|
||||
},
|
||||
{
|
||||
@@ -1999,6 +2007,14 @@ def makeGoGenerate(module):
|
||||
"commands": [
|
||||
"retry -t 3 '%s ci-go-generate'" % (make),
|
||||
],
|
||||
"environment": {
|
||||
"HTTP_PROXY": {
|
||||
"from_secret": "drone_http_proxy",
|
||||
},
|
||||
"HTTPS_PROXY": {
|
||||
"from_secret": "drone_http_proxy",
|
||||
},
|
||||
},
|
||||
"volumes": [stepVolumeGo],
|
||||
},
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user