-
Notifications
You must be signed in to change notification settings - Fork 177
adapt pipeline for prod releases #2553
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -1821,7 +1821,7 @@ def dockerReleases(ctx): | |||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||
| def checkVersionPlaceholder(): | ||||||||||||||||||||||||||||||||
| return [{ | ||||||||||||||||||||||||||||||||
| "name": "check-version-placeholder", | ||||||||||||||||||||||||||||||||
| "name": "check-version-placeholder-next", | ||||||||||||||||||||||||||||||||
| "steps": [ | ||||||||||||||||||||||||||||||||
| { | ||||||||||||||||||||||||||||||||
| "name": "check-version-placeholder", | ||||||||||||||||||||||||||||||||
|
|
@@ -1838,6 +1838,27 @@ def checkVersionPlaceholder(): | |||||||||||||||||||||||||||||||
| "when": [ | ||||||||||||||||||||||||||||||||
| event["pull_request"], | ||||||||||||||||||||||||||||||||
| ], | ||||||||||||||||||||||||||||||||
| },{ | ||||||||||||||||||||||||||||||||
| "name": "check-version-placeholder-next-production-release", | ||||||||||||||||||||||||||||||||
| "steps": [ | ||||||||||||||||||||||||||||||||
| { | ||||||||||||||||||||||||||||||||
| "name": "check-version-placeholder", | ||||||||||||||||||||||||||||||||
| "image": OC_CI_ALPINE, | ||||||||||||||||||||||||||||||||
| "commands": [ | ||||||||||||||||||||||||||||||||
| "grep -r -e '%%NEXT_PRODUCTION_VERSION%%' %s/services %s/pkg > next_production_version.txt || true" % ( | ||||||||||||||||||||||||||||||||
| dirs["base"], | ||||||||||||||||||||||||||||||||
| dirs["base"], | ||||||||||||||||||||||||||||||||
| ), | ||||||||||||||||||||||||||||||||
| 'if [ -s next_production_version.txt ]; then echo "replace version placeholders"; cat next_production_version.txt; exit 1; fi', | ||||||||||||||||||||||||||||||||
| ], | ||||||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||||||
| ], | ||||||||||||||||||||||||||||||||
| "when": [ | ||||||||||||||||||||||||||||||||
| event["pull_request"], | ||||||||||||||||||||||||||||||||
| { | ||||||||||||||||||||||||||||||||
| "evaluate": 'CI_COMMIT_PULL_REQUEST_LABELS contains "production_release"', | ||||||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||||||
|
Comment on lines
+1857
to
+1860
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This does not work, because Also, the linter shows a warning:
Suggested change
or
Suggested change
|
||||||||||||||||||||||||||||||||
| ], | ||||||||||||||||||||||||||||||||
| }] | ||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||
| def dockerRelease(ctx, repo, build_type): | ||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||

Uh oh!
There was an error while loading. Please reload this page.