Skip to content

Onboard pco-fbc streams#414

Merged
JasonPowr merged 1 commit into
mainfrom
onboard-pco-fbc-to-streams
Feb 13, 2026
Merged

Onboard pco-fbc streams#414
JasonPowr merged 1 commit into
mainfrom
onboard-pco-fbc-to-streams

Conversation

@JasonPowr
Copy link
Copy Markdown
Member

@JasonPowr JasonPowr commented Feb 12, 2026

This PR adds project resources for pco-fbc and streams for main and tech-preview, currently this follows the current implementation i.e one app, one component. When we switch to one app, muti component this will need to be refactored.

Stage ENV:

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 12, 2026

Configuration Diff

14 document(s) impacted:

+ 14 added
- 0 removed
! 0 modified
Diff
@@ (root level) @@
# projctl.konflux.dev/v1beta1/Project/rhtas-tenant/pco-fbc
! + one document added:
+   ---
+   apiVersion: projctl.konflux.dev/v1beta1
+   kind: Project
+   metadata:
+     name: pco-fbc
+     namespace: rhtas-tenant
+   spec:
+     description: |
+       File-Based Catalogs for Red Hat Trusted Artifact Signer Policy Controller Operator.
+       
+     displayName: "Policy Controller Operator FBC"

@@ (root level) @@
# projctl.konflux.dev/v1beta1/ProjectDevelopmentStream/rhtas-tenant/pco-fbc-v4-16
! + one document added:
+   ---
+   apiVersion: projctl.konflux.dev/v1beta1
+   kind: ProjectDevelopmentStream
+   metadata:
+     name: pco-fbc-v4-16
+     namespace: rhtas-tenant
+   spec:
+     project: pco-fbc
+     template:
+       name: pco-fbc-template
+       values:
+       - name: ocpVersion
+         value: 4.16
+       - name: version
+         value: main
+       - name: branch
+         value: main
+       - name: nameSuffix
+         value: 
+       - name: policyControllerOperatorGitRevision
+         value: main
+       - name: installChannel
+         value: stable

@@ (root level) @@
# projctl.konflux.dev/v1beta1/ProjectDevelopmentStream/rhtas-tenant/pco-fbc-v4-16-tech-preview
! + one document added:
+   ---
+   apiVersion: projctl.konflux.dev/v1beta1
+   kind: ProjectDevelopmentStream
+   metadata:
+     name: pco-fbc-v4-16-tech-preview
+     namespace: rhtas-tenant
+   spec:
+     project: pco-fbc
+     template:
+       name: pco-fbc-template
+       values:
+       - name: ocpVersion
+         value: 4.16
+       - name: version
+         value: tech-preview
+       - name: branch
+         value: pco-tech-preview
+       - name: nameSuffix
+         value: "-tech-preview"
+       - name: policyControllerOperatorGitRevision
+         value: tech-preview
+       - name: installChannel
+         value: tech-preview

@@ (root level) @@
# projctl.konflux.dev/v1beta1/ProjectDevelopmentStream/rhtas-tenant/pco-fbc-v4-17
! + one document added:
+   ---
+   apiVersion: projctl.konflux.dev/v1beta1
+   kind: ProjectDevelopmentStream
+   metadata:
+     name: pco-fbc-v4-17
+     namespace: rhtas-tenant
+   spec:
+     project: pco-fbc
+     template:
+       name: pco-fbc-template
+       values:
+       - name: ocpVersion
+         value: 4.17
+       - name: version
+         value: main
+       - name: branch
+         value: main
+       - name: nameSuffix
+         value: 
+       - name: policyControllerOperatorGitRevision
+         value: main
+       - name: installChannel
+         value: stable

@@ (root level) @@
# projctl.konflux.dev/v1beta1/ProjectDevelopmentStream/rhtas-tenant/pco-fbc-v4-17-tech-preview
! + one document added:
+   ---
+   apiVersion: projctl.konflux.dev/v1beta1
+   kind: ProjectDevelopmentStream
+   metadata:
+     name: pco-fbc-v4-17-tech-preview
+     namespace: rhtas-tenant
+   spec:
+     project: pco-fbc
+     template:
+       name: pco-fbc-template
+       values:
+       - name: ocpVersion
+         value: 4.17
+       - name: version
+         value: tech-preview
+       - name: branch
+         value: pco-tech-preview
+       - name: nameSuffix
+         value: "-tech-preview"
+       - name: policyControllerOperatorGitRevision
+         value: tech-preview
+       - name: installChannel
+         value: tech-preview

@@ (root level) @@
# projctl.konflux.dev/v1beta1/ProjectDevelopmentStream/rhtas-tenant/pco-fbc-v4-18
! + one document added:
+   ---
+   apiVersion: projctl.konflux.dev/v1beta1
+   kind: ProjectDevelopmentStream
+   metadata:
+     name: pco-fbc-v4-18
+     namespace: rhtas-tenant
+   spec:
+     project: pco-fbc
+     template:
+       name: pco-fbc-template
+       values:
+       - name: ocpVersion
+         value: 4.18
+       - name: version
+         value: main
+       - name: branch
+         value: main
+       - name: nameSuffix
+         value: 
+       - name: policyControllerOperatorGitRevision
+         value: main
+       - name: installChannel
+         value: stable

@@ (root level) @@
# projctl.konflux.dev/v1beta1/ProjectDevelopmentStream/rhtas-tenant/pco-fbc-v4-18-tech-preview
! + one document added:
+   ---
+   apiVersion: projctl.konflux.dev/v1beta1
+   kind: ProjectDevelopmentStream
+   metadata:
+     name: pco-fbc-v4-18-tech-preview
+     namespace: rhtas-tenant
+   spec:
+     project: pco-fbc
+     template:
+       name: pco-fbc-template
+       values:
+       - name: ocpVersion
+         value: 4.18
+       - name: version
+         value: tech-preview
+       - name: branch
+         value: pco-tech-preview
+       - name: nameSuffix
+         value: "-tech-preview"
+       - name: policyControllerOperatorGitRevision
+         value: tech-preview
+       - name: installChannel
+         value: tech-preview

@@ (root level) @@
# projctl.konflux.dev/v1beta1/ProjectDevelopmentStream/rhtas-tenant/pco-fbc-v4-19
! + one document added:
+   ---
+   apiVersion: projctl.konflux.dev/v1beta1
+   kind: ProjectDevelopmentStream
+   metadata:
+     name: pco-fbc-v4-19
+     namespace: rhtas-tenant
+   spec:
+     project: pco-fbc
+     template:
+       name: pco-fbc-template
+       values:
+       - name: ocpVersion
+         value: 4.19
+       - name: version
+         value: main
+       - name: branch
+         value: main
+       - name: nameSuffix
+         value: 
+       - name: policyControllerOperatorGitRevision
+         value: main
+       - name: installChannel
+         value: stable

@@ (root level) @@
# projctl.konflux.dev/v1beta1/ProjectDevelopmentStream/rhtas-tenant/pco-fbc-v4-19-tech-preview
! + one document added:
+   ---
+   apiVersion: projctl.konflux.dev/v1beta1
+   kind: ProjectDevelopmentStream
+   metadata:
+     name: pco-fbc-v4-19-tech-preview
+     namespace: rhtas-tenant
+   spec:
+     project: pco-fbc
+     template:
+       name: pco-fbc-template
+       values:
+       - name: ocpVersion
+         value: 4.19
+       - name: version
+         value: tech-preview
+       - name: branch
+         value: pco-tech-preview
+       - name: nameSuffix
+         value: "-tech-preview"
+       - name: policyControllerOperatorGitRevision
+         value: tech-preview
+       - name: installChannel
+         value: tech-preview

@@ (root level) @@
# projctl.konflux.dev/v1beta1/ProjectDevelopmentStream/rhtas-tenant/pco-fbc-v4-20
! + one document added:
+   ---
+   apiVersion: projctl.konflux.dev/v1beta1
+   kind: ProjectDevelopmentStream
+   metadata:
+     name: pco-fbc-v4-20
+     namespace: rhtas-tenant
+   spec:
+     project: pco-fbc
+     template:
+       name: pco-fbc-template
+       values:
+       - name: ocpVersion
+         value: 4.20
+       - name: version
+         value: main
+       - name: branch
+         value: main
+       - name: nameSuffix
+         value: 
+       - name: policyControllerOperatorGitRevision
+         value: main
+       - name: installChannel
+         value: stable

@@ (root level) @@
# projctl.konflux.dev/v1beta1/ProjectDevelopmentStream/rhtas-tenant/pco-fbc-v4-20-tech-preview
! + one document added:
+   ---
+   apiVersion: projctl.konflux.dev/v1beta1
+   kind: ProjectDevelopmentStream
+   metadata:
+     name: pco-fbc-v4-20-tech-preview
+     namespace: rhtas-tenant
+   spec:
+     project: pco-fbc
+     template:
+       name: pco-fbc-template
+       values:
+       - name: ocpVersion
+         value: 4.20
+       - name: version
+         value: tech-preview
+       - name: branch
+         value: pco-tech-preview
+       - name: nameSuffix
+         value: "-tech-preview"
+       - name: policyControllerOperatorGitRevision
+         value: tech-preview
+       - name: installChannel
+         value: tech-preview

@@ (root level) @@
# projctl.konflux.dev/v1beta1/ProjectDevelopmentStream/rhtas-tenant/pco-fbc-v4-21
! + one document added:
+   ---
+   apiVersion: projctl.konflux.dev/v1beta1
+   kind: ProjectDevelopmentStream
+   metadata:
+     name: pco-fbc-v4-21
+     namespace: rhtas-tenant
+   spec:
+     project: pco-fbc
+     template:
+       name: pco-fbc-template
+       values:
+       - name: ocpVersion
+         value: 4.21
+       - name: version
+         value: main
+       - name: branch
+         value: main
+       - name: nameSuffix
+         value: 
+       - name: policyControllerOperatorGitRevision
+         value: main
+       - name: installChannel
+         value: stable

@@ (root level) @@
# projctl.konflux.dev/v1beta1/ProjectDevelopmentStream/rhtas-tenant/pco-fbc-v4-21-tech-preview
! + one document added:
+   ---
+   apiVersion: projctl.konflux.dev/v1beta1
+   kind: ProjectDevelopmentStream
+   metadata:
+     name: pco-fbc-v4-21-tech-preview
+     namespace: rhtas-tenant
+   spec:
+     project: pco-fbc
+     template:
+       name: pco-fbc-template
+       values:
+       - name: ocpVersion
+         value: 4.21
+       - name: version
+         value: tech-preview
+       - name: branch
+         value: pco-tech-preview
+       - name: nameSuffix
+         value: "-tech-preview"
+       - name: policyControllerOperatorGitRevision
+         value: tech-preview
+       - name: installChannel
+         value: tech-preview

@@ (root level) @@
# projctl.konflux.dev/v1beta1/ProjectDevelopmentStreamTemplate/rhtas-tenant/pco-fbc-template
! + one document added:
+   ---
+   apiVersion: projctl.konflux.dev/v1beta1
+   kind: ProjectDevelopmentStreamTemplate
+   metadata:
+     name: pco-fbc-template
+     namespace: rhtas-tenant
+     labels:
+       build.rhtas.com/ec: fbc-standard
+       build.rhtas.com/type: fbc
+   spec:
+     resources:
+     - apiVersion: appstudio.redhat.com/v1alpha1
+       kind: Application
+       metadata:
+         name: {{.application}}{{.nameSuffix}}
+         annotations:
+           application.thumbnail: 5
+       spec:
+         displayName: "{{.application}} ({{.version}})"
+     - apiVersion: appstudio.redhat.com/v1beta2
+       kind: IntegrationTestScenario
+       metadata:
+         name: {{.application}}{{.nameSuffix}}-enterprise-contract
+         annotations:
+           test.appstudio.openshift.io/kind: enterprise-contract
+       spec:
+         application: {{.application}}{{.nameSuffix}}
+         contexts:
+         - name: application
+           description: "Application testing"
+         params:
+         - name: POLICY_CONFIGURATION
+           value: rhtap-releng-tenant/fbc-standard
+         resolverRef:
+           params:
+           - name: url
+             value: "https://github.com/redhat-appstudio/build-definitions"
+           - name: revision
+             value: main
+           - name: pathInRepo
+             value: pipelines/enterprise-contract.yaml
+           resolver: git
+           resourceKind: pipeline
+     - apiVersion: appstudio.redhat.com/v1alpha1
+       kind: Component
+       metadata:
+         name: {{.application}}{{.nameSuffix}}
+         annotations:
+           build.appstudio.openshift.io/pipeline: "{\"name\":\"fbc-builder\",\"bundle\":\"latest\"}"
+           build.appstudio.openshift.io/status: "{\"pac\":{\"state\":\"enabled\",\"merge-url\":\"https://github.com/securesign/fbc/pull/97\",\"configuration-time\":\"Thu,27 Mar 2025 12:35:34 UTC\"},\"message\":\"done\"}"
+           mintmaker.appstudio.redhat.com/disabled: {{.mintmakerDisabled}}
+       spec:
+         source:
+           git:
+             url: "https://github.com/securesign/fbc"
+             context: v{{.ocpVersion}}/{{.operator}}
+             dockerfileUrl: catalog.Dockerfile
+             revision: {{.branch}}
+         application: {{.application}}{{.nameSuffix}}
+         componentName: {{.application}}{{.nameSuffix}}
+     - apiVersion: appstudio.redhat.com/v1beta2
+       kind: IntegrationTestScenario
+       metadata:
+         name: {{.application}}{{.nameSuffix}}-e2e
+         labels:
+           test.appstudio.openshift.io/optional: "false"
+       spec:
+         application: {{.application}}{{.nameSuffix}}
+         contexts:
+         - name: component_{{.application}}{{.nameSuffix}}
+           description: "execute the integration test when component {{.application}}{{.nameSuffix}} updates"
+         params:
+         - name: OCP_VERSION
+           value: {{.ocpVersion}}
+         - name: POLICY_CONTROLLER_OPERATOR_GIT_REVISION
+           value: {{.policyControllerOperatorGitRevision}}
+         - name: POLICY_CONTROLLER_OPERATOR_INSTALL_CHANNEL
+           value: {{.installChannel}}
+         resolverRef:
+           params:
+           - name: url
+             value: "https://github.com/securesign/pipelines.git"
+           - name: revision
+             value: main
+           - name: pathInRepo
+             value: pipelines/integration-test/policy-controller-fbc-e2e.yaml
+           resolver: git
+           resourceKind: pipelinerun
+     project: pco-fbc
+     variables:
+     - name: ocpVersion
+       description: "OCP version for this stream (for example 4.21)"
+     - name: version
+       defaultValue: v{{.ocpVersion}}
+       description: "A version number for a new development stream"
+     - name: branch
+       defaultValue: main
+       description: "Git branch"
+     - name: nameSuffix
+       defaultValue: 
+       description: "A suffix which will be added to K8s resource name"
+     - name: application
+       defaultValue: "pco-fbc-v{{hyphenize .ocpVersion}}"
+       description: "The application name"
+     - name: mintmakerDisabled
+       defaultValue: "false"
+       description: "Whether to disable mintmaker annotation on the Component"
+     - name: operator
+       defaultValue: policy-controller-operator
+       description: "The operator name"
+     - name: policyControllerOperatorGitRevision
+       defaultValue: main
+       description: "Git revision of policy-controller-operator repo used by PCO FBC e2e"
+     - name: installChannel
+       defaultValue: stable
+       description: "The operator install channel used for e2e"

📦 Artifacts: base-output.yaml, head-output.yaml, dyff-output.txt

@JasonPowr JasonPowr force-pushed the onboard-pco-fbc-to-streams branch from 498bee9 to 69c127f Compare February 13, 2026 08:46
Comment thread konflux-configs/base/project/base/ocp/pco/patch.yaml
@JasonPowr JasonPowr merged commit eb38b55 into main Feb 13, 2026
4 checks passed
@JasonPowr JasonPowr deleted the onboard-pco-fbc-to-streams branch February 13, 2026 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants