diff --git a/.drone.star b/.drone.star index bcb31708e5c..819115eabbe 100644 --- a/.drone.star +++ b/.drone.star @@ -255,14 +255,14 @@ MINIO_MC_ENV = { }, } -DRONE_HTTP_PROXY_ENV = { - "HTTP_PROXY": { - "from_secret": "drone_http_proxy", - }, - "HTTPS_PROXY": { - "from_secret": "drone_http_proxy", - }, -} +#DRONE_HTTP_PROXY_ENV = { +# "HTTP_PROXY": { +# "from_secret": "drone_http_proxy", +# }, +# "HTTPS_PROXY": { +# "from_secret": "drone_http_proxy", +# }, +#} def pipelineDependsOn(pipeline, dependant_pipelines): if "depends_on" in pipeline.keys(): @@ -469,7 +469,7 @@ def cacheGoBin(): "make bingo-update", ], "volumes": [stepVolumeGo], - "environment": DRONE_HTTP_PROXY_ENV, + #"environment": DRONE_HTTP_PROXY_ENV, }, { "name": "archive-go-bin", @@ -528,13 +528,13 @@ def testOcis(ctx): "make ci-golangci-lint", "mv checkstyle.xml cache/checkstyle/checkstyle.xml", ], - "environment": DRONE_HTTP_PROXY_ENV, + #"environment": DRONE_HTTP_PROXY_ENV, "volumes": [stepVolumeGo], }, { "name": "test", "image": OC_CI_GOLANG, - "environment": DRONE_HTTP_PROXY_ENV, + #"environment": DRONE_HTTP_PROXY_ENV, "commands": [ "mkdir -p cache/coverage", "make test", @@ -590,7 +590,7 @@ def scanOcis(ctx): "commands": [ "make govulncheck", ], - "environment": DRONE_HTTP_PROXY_ENV, + #"environment": DRONE_HTTP_PROXY_ENV, "volumes": [stepVolumeGo], }, ] @@ -1403,7 +1403,7 @@ def dockerRelease(ctx, arch, repo, build_type): { "name": "build", "image": OC_CI_GOLANG, - "environment": DRONE_HTTP_PROXY_ENV, + #"environment": DRONE_HTTP_PROXY_ENV, "commands": [ "make -C ocis release-linux-docker-%s" % (arch), ], @@ -1548,7 +1548,7 @@ def binaryRelease(ctx, arch, build_type, target, depends_on = []): { "name": "build", "image": OC_CI_GOLANG, - "environment": DRONE_HTTP_PROXY_ENV, + #"environment": DRONE_HTTP_PROXY_ENV, "commands": [ "make -C ocis release-%s" % (arch), ], @@ -1556,7 +1556,7 @@ def binaryRelease(ctx, arch, build_type, target, depends_on = []): { "name": "finish", "image": OC_CI_GOLANG, - "environment": DRONE_HTTP_PROXY_ENV, + #"environment": DRONE_HTTP_PROXY_ENV, "commands": [ "make -C ocis release-finish", "cp assets/End-User-License-Agreement-for-ownCloud-Infinite-Scale.pdf ocis/dist/release/", @@ -1582,7 +1582,7 @@ def binaryRelease(ctx, arch, build_type, target, depends_on = []): { "name": "changelog", "image": OC_CI_GOLANG, - "environment": DRONE_HTTP_PROXY_ENV, + #"environment": DRONE_HTTP_PROXY_ENV, "commands": [ "make changelog CHANGELOG_VERSION=%s" % ctx.build.ref.replace("refs/tags/v", ""), ], @@ -1681,7 +1681,7 @@ def licenseCheck(ctx): { "name": "go-check-licenses", "image": OC_CI_GOLANG, - "environment": DRONE_HTTP_PROXY_ENV, + #"environment": DRONE_HTTP_PROXY_ENV, "commands": [ "make ci-go-check-licenses", ], @@ -1690,7 +1690,7 @@ def licenseCheck(ctx): { "name": "go-save-licenses", "image": OC_CI_GOLANG, - "environment": DRONE_HTTP_PROXY_ENV, + #"environment": DRONE_HTTP_PROXY_ENV, "commands": [ "make ci-go-save-licenses", ], @@ -1717,7 +1717,7 @@ def licenseCheck(ctx): { "name": "changelog", "image": OC_CI_GOLANG, - "environment": DRONE_HTTP_PROXY_ENV, + #"environment": DRONE_HTTP_PROXY_ENV, "commands": [ "make changelog CHANGELOG_VERSION=%s" % ctx.build.ref.replace("refs/tags/v", "").split("-")[0], ], @@ -1837,7 +1837,7 @@ def changelog(): { "name": "generate", "image": OC_CI_GOLANG, - "environment": DRONE_HTTP_PROXY_ENV, + #"environment": DRONE_HTTP_PROXY_ENV, "commands": [ "make -C ocis changelog", ], @@ -1940,13 +1940,13 @@ def docs(): { "name": "docs-generate", "image": OC_CI_GOLANG, - "environment": DRONE_HTTP_PROXY_ENV, + #"environment": DRONE_HTTP_PROXY_ENV, "commands": ["make docs-generate"], }, { "name": "prepare", "image": OC_CI_GOLANG, - "environment": DRONE_HTTP_PROXY_ENV, + #"environment": DRONE_HTTP_PROXY_ENV, "commands": [ "make -C docs docs-copy", ], @@ -1954,7 +1954,7 @@ def docs(): { "name": "test", "image": OC_CI_GOLANG, - "environment": DRONE_HTTP_PROXY_ENV, + #"environment": DRONE_HTTP_PROXY_ENV, "commands": [ "make -C docs test", ], @@ -2031,7 +2031,7 @@ def makeGoGenerate(module): "commands": [ "retry -t 3 '%s ci-go-generate'" % (make), ], - "environment": DRONE_HTTP_PROXY_ENV, + #"environment": DRONE_HTTP_PROXY_ENV, "volumes": [stepVolumeGo], }, ] @@ -2198,7 +2198,7 @@ def build(): "commands": [ "retry -t 3 'make -C ocis build'", ], - "environment": DRONE_HTTP_PROXY_ENV, + #"environment": DRONE_HTTP_PROXY_ENV, "volumes": [stepVolumeGo], }, ]