mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-04-22 02:38:32 -05:00
This commit is contained in:
+10
-9
@@ -237,25 +237,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),
|
||||
@@ -263,7 +265,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 = \
|
||||
@@ -287,7 +289,6 @@ def main(ctx):
|
||||
|
||||
pipelines = pipelines + k6LoadTests(ctx)
|
||||
|
||||
pipelines += checkStarlark()
|
||||
pipelineSanityChecks(ctx, pipelines)
|
||||
return pipelines
|
||||
|
||||
@@ -322,7 +323,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