From f413c618e57456633e191116be13b91860ac0319 Mon Sep 17 00:00:00 2001 From: Michael Barz Date: Wed, 12 Mar 2025 09:20:15 +0100 Subject: [PATCH] fix: remove uneeded upload steps --- .woodpecker.star | 65 ------------------------------------------------ 1 file changed, 65 deletions(-) diff --git a/.woodpecker.star b/.woodpecker.star index b534bbccda..1a8f03c6d7 100644 --- a/.woodpecker.star +++ b/.woodpecker.star @@ -1657,25 +1657,6 @@ def binaryReleases(ctx): return pipelines def binaryRelease(ctx, arch, build_type, target, depends_on = []): - settings = { - "endpoint": { - "from_secret": "upload_s3_endpoint", - }, - "access_key": { - "from_secret": "upload_s3_access_key", - }, - "secret_key": { - "from_secret": "upload_s3_secret_key", - }, - "bucket": { - "from_secret": "upload_s3_bucket", - }, - "path_style": True, - "strip_prefix": "ocis/dist/release/", - "source": "ocis/dist/release/*", - "target": target, - } - return { "name": "binaries-%s-%s" % (arch, build_type), "steps": makeNodeGenerate("") + @@ -1706,20 +1687,6 @@ def binaryRelease(ctx, arch, build_type, target, depends_on = []): }, ], }, - { - "name": "upload", - "image": PLUGINS_S3, - "settings": settings, - "when": [ - { - "event": ["push", "manual"], - "branch": "main", - }, - { - "event": "tag", - }, - ], - }, { "name": "changelog", "image": OC_CI_GOLANG, @@ -1785,24 +1752,6 @@ def licenseCheck(ctx): folder = "testing" target = "/ocis/%s/%s/%s" % (ctx.repo.name.replace("ocis-", ""), folder, buildref) - settings = { - "endpoint": { - "from_secret": "upload_s3_endpoint", - }, - "access_key": { - "from_secret": "upload_s3_access_key", - }, - "secret_key": { - "from_secret": "upload_s3_secret_key", - }, - "bucket": { - "from_secret": "upload_s3_bucket", - }, - "path_style": True, - "source": "third-party-licenses.tar.gz", - "target": target, - } - return [{ "name": "check-licenses", "steps": [ @@ -1843,20 +1792,6 @@ def licenseCheck(ctx): "cd third-party-licenses && tar -czf ../third-party-licenses.tar.gz *", ], }, - { - "name": "upload", - "image": PLUGINS_S3, - "settings": settings, - "when": [ - { - "event": "tag", - }, - { - "event": ["push", "manual"], - "branch": "main", - }, - ], - }, { "name": "changelog", "image": OC_CI_GOLANG,