feat: add workflow for generating a production FBC from the main stag…#221
feat: add workflow for generating a production FBC from the main stag…#221
Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||||||||||
| creationTimestamp: null | ||
| labels: | ||
| appstudio.openshift.io/application: fbc-v4-14 | ||
| appstudio.openshift.io/component: fbc-v4-14-production |
There was a problem hiding this comment.
We will need to onboard new components for each OCP Version
There was a problem hiding this comment.
@JasonPowr I looked into this some more, I think these tekton files might be legacy and no longer needed now that we have with the rhtas-fbc templates. I think this may have implications for your other PR, I'll comment on that one as well.
There was a problem hiding this comment.
Never mind, it looks like the pipeline ones may be ephemeral and only used for the e2e integration tests. These ones are still needed.
| - name: git-url | ||
| value: '{{source_url}}' | ||
| - name: output-image | ||
| value: quay.io/securesign/fbc-v4-14-production:{{revision}} |
There was a problem hiding this comment.
We will also need to create new image repos in quay.io/securesign
| @@ -0,0 +1,46 @@ | |||
| apiVersion: tekton.dev/v1 | |||
There was a problem hiding this comment.
Usually konflux will create the on-push/on-pull-request pipelines when the component is on boarded, this will probably be OK once the component is on boarded though.
| --body "## Automated Production Release PR | ||
|
|
||
| ### Release Details | ||
| - **Operator**: ${{ env.OPERATOR_NAME }} |
There was a problem hiding this comment.
I think the formatting here is stopping the action from running
There was a problem hiding this comment.
Thanks, I'll check this shortly
There was a problem hiding this comment.
@JasonPowr sorry about that, the indentation was causing the error. I've tidied it up and moved the body to a variable to make it easier to read.
|
FYI I realised during the night that I missed some use cases in my testing of the script parts. I'm just working through those, so expect an update in a bit. |
0fc8fb7 to
1140249
Compare
…ing branch Signed-off-by: Kevin Conner <kconner@redhat.com>
1140249 to
363a064
Compare
User description
…ing branch
Now that the main branch could include multiple, in progress, streams we need to have a clean production version. The proposal is to create a
productionbranch through a manual workflow invocation (at least for now), generate the PR and follow the push pipelines to create the appropriate components.@JasonPowr @osmman please take a look and let me know what you think.
PR Type
Enhancement
Description
Add automated workflow to generate production FBC from main branch
Filter bundles by registry availability using skopeo validation
Create production PRs with derived versions and OCP compatibility
Add Tekton pipeline configurations for multi-version production builds
Diagram Walkthrough
File Walkthrough
2 files
Filter bundles by registry availabilityAutomated production PR creation workflow7 files
Tekton pipeline for v4.14 production buildsTekton pipeline for v4.15 production buildsTekton pipeline for v4.16 production buildsTekton pipeline for v4.17 production buildsTekton pipeline for v4.18 production buildsTekton pipeline for v4.19 production buildsTekton pipeline for v4.20 production builds