mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-03-07 13:29:39 -06:00
updated drone file to display pipeline in order by trigger (#8823)
This commit is contained in:
19
.drone.star
19
.drone.star
@@ -246,25 +246,27 @@ def main(ctx):
|
||||
|
||||
pipelines = []
|
||||
|
||||
build_release_helpers = [
|
||||
changelog(),
|
||||
docs(),
|
||||
licenseCheck(ctx),
|
||||
]
|
||||
|
||||
test_pipelines = \
|
||||
codestyle(ctx) + \
|
||||
checkTestSuitesInExpectedFailures(ctx) + \
|
||||
buildWebCache(ctx) + \
|
||||
getGoBinForTesting(ctx) + \
|
||||
[buildOcisBinaryForTesting(ctx)] + \
|
||||
checkStarlark() + \
|
||||
build_release_helpers + \
|
||||
testOcisAndUploadResults(ctx) + \
|
||||
testPipelines(ctx)
|
||||
|
||||
build_release_pipelines = \
|
||||
[licenseCheck(ctx)] + \
|
||||
dockerReleases(ctx) + \
|
||||
binaryReleases(ctx)
|
||||
|
||||
build_release_helpers = [
|
||||
changelog(),
|
||||
docs(),
|
||||
]
|
||||
|
||||
test_pipelines.append(
|
||||
pipelineDependsOn(
|
||||
purgeBuildArtifactCache(ctx),
|
||||
@@ -272,7 +274,7 @@ def main(ctx):
|
||||
),
|
||||
)
|
||||
|
||||
pipelines = test_pipelines + build_release_pipelines + build_release_helpers
|
||||
pipelines = test_pipelines + build_release_pipelines
|
||||
|
||||
if ctx.build.event == "cron":
|
||||
pipelines = \
|
||||
@@ -296,7 +298,6 @@ def main(ctx):
|
||||
|
||||
pipelines = pipelines + k6LoadTests(ctx)
|
||||
|
||||
pipelines += checkStarlark()
|
||||
pipelineSanityChecks(ctx, pipelines)
|
||||
return pipelines
|
||||
|
||||
@@ -331,7 +332,7 @@ def testOcisAndUploadResults(ctx):
|
||||
scan_result_upload["depends_on"] = getPipelineNames([pipeline])
|
||||
|
||||
security_scan = scanOcis(ctx)
|
||||
return [pipeline, scan_result_upload, security_scan]
|
||||
return [security_scan, pipeline, scan_result_upload]
|
||||
|
||||
def testPipelines(ctx):
|
||||
pipelines = []
|
||||
|
||||
Reference in New Issue
Block a user