mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-07 04:40:05 -06:00
cleanup: remove no longer valid submodule release step
This commit is contained in:
committed by
Ralf Haferkamp
parent
4b3516ec92
commit
62d8a03400
46
.drone.star
46
.drone.star
@@ -231,8 +231,7 @@ def main(ctx):
|
||||
build_release_pipelines = \
|
||||
[licenseCheck(ctx)] + \
|
||||
dockerReleases(ctx) + \
|
||||
binaryReleases(ctx) + \
|
||||
[releaseSubmodule(ctx)]
|
||||
binaryReleases(ctx)
|
||||
|
||||
build_release_helpers = [
|
||||
changelog(),
|
||||
@@ -1583,49 +1582,6 @@ def licenseCheck(ctx):
|
||||
"volumes": [pipelineVolumeGo],
|
||||
}
|
||||
|
||||
def releaseSubmodule(ctx):
|
||||
depends = []
|
||||
if len(ctx.build.ref.replace("refs/tags/", "").split("/")) == 2:
|
||||
depends = ["linting&unitTests-%s" % (ctx.build.ref.replace("refs/tags/", "").split("/")[0])]
|
||||
|
||||
return {
|
||||
"kind": "pipeline",
|
||||
"type": "docker",
|
||||
"name": "release-%s" % (ctx.build.ref.replace("refs/tags/", "")),
|
||||
"platform": {
|
||||
"os": "linux",
|
||||
"arch": "amd64",
|
||||
},
|
||||
"steps": [
|
||||
{
|
||||
"name": "release-submodule",
|
||||
"image": PLUGINS_GITHUB_RELEASE,
|
||||
"settings": {
|
||||
"api_key": {
|
||||
"from_secret": "github_token",
|
||||
},
|
||||
"files": [
|
||||
],
|
||||
"title": ctx.build.ref.replace("refs/tags/", "").replace("/v", " "),
|
||||
"note": "Release %s submodule" % (ctx.build.ref.replace("refs/tags/", "").replace("/v", " ")),
|
||||
"overwrite": True,
|
||||
"prerelease": len(ctx.build.ref.split("-")) > 1,
|
||||
},
|
||||
"when": {
|
||||
"ref": [
|
||||
"refs/tags/*/v*",
|
||||
],
|
||||
},
|
||||
},
|
||||
],
|
||||
"depends_on": depends,
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/tags/*/v*",
|
||||
],
|
||||
},
|
||||
}
|
||||
|
||||
def releaseDockerManifest():
|
||||
return {
|
||||
"kind": "pipeline",
|
||||
|
||||
Reference in New Issue
Block a user