Skip to content

Commit

Permalink
disable tiny proxy
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Richter <[email protected]>
  • Loading branch information
dragonchaser committed Oct 14, 2024
1 parent 6064386 commit 4b6505d
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -590,7 +590,7 @@ def scanOcis(ctx):
"commands": [
"make govulncheck",
],
"environment": DRONE_HTTP_PROXY_ENV,
#"environment": DRONE_HTTP_PROXY_ENV,
"volumes": [stepVolumeGo],
},
]
Expand Down Expand Up @@ -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),
],
Expand Down Expand Up @@ -1548,15 +1548,15 @@ 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),
],
},
{
"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/",
Expand All @@ -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", ""),
],
Expand Down Expand Up @@ -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",
],
Expand All @@ -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",
],
Expand All @@ -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],
],
Expand Down Expand Up @@ -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",
],
Expand Down Expand Up @@ -1940,21 +1940,21 @@ 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",
],
},
{
"name": "test",
"image": OC_CI_GOLANG,
"environment": DRONE_HTTP_PROXY_ENV,
#"environment": DRONE_HTTP_PROXY_ENV,
"commands": [
"make -C docs test",
],
Expand Down Expand Up @@ -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],
},
]
Expand Down Expand Up @@ -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],
},
]
Expand Down

0 comments on commit 4b6505d

Please sign in to comment.