-
Notifications
You must be signed in to change notification settings - Fork 702
Red Hat Konflux update source-to-image-rhel9 #1223
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: master
Are you sure you want to change the base?
Conversation
Signed-off-by: red-hat-konflux <[email protected]>
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: red-hat-konflux[bot] The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Hi @red-hat-konflux[bot]. Thanks for your PR. I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
appstudio.openshift.io/application: source-to-image | ||
appstudio.openshift.io/component: source-to-image-rhel9 | ||
pipelines.appstudio.openshift.io/type: build | ||
name: source-to-image-rhel9-on-pull-request |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This name is correct. But we need to rename the existing one to source-to-image-rhel8-on-pull-request
pipelinesascode.tekton.dev/cancel-in-progress: "true" | ||
pipelinesascode.tekton.dev/max-keep-runs: "3" | ||
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch | ||
== "master" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add CEL expression to exclude changes from RHEL8 docker file. Need the same in the rhel8 pipeline for rhel9 dockerfile.
- name: dockerfile | ||
value: Dockerfile.rhel9 | ||
pipelineSpec: | ||
description: | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need use the remote-pipeline pattern here.
https://konflux-ci.dev/docs/patterns/keep-remote-pipelines-up-to-date/
Our pipelines are here in this repo. Use this pipeline for multiarch build.
https://github.com/redhat-openshift-builds/release/blob/main/pipelines/konflux-build-multi-platform.yaml
This change required for rhel8 pipelines also.
Close in favor of #1224 |
Pipelines as Code configuration proposal
To start the PipelineRun, add a new comment with content
/ok-to-test
For more detailed information about running a PipelineRun, please refer to Pipelines as Code documentation Running the PipelineRun
To customize the proposed PipelineRuns after merge, please refer to Build Pipeline customization