-
Task
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
-
None
-
None
-
False
-
-
False
-
None
-
None
-
None
-
None
-
None
Consolidate the three main branch component pipelines (hypershift-operator, control-plane-operator, hypershift-shared-ingress) into a single shared pipeline to eliminate duplication and simplify maintenance.
Changes
Pipeline Consolidation
- Create shared pipeline at .tekton/pipelines/common-operator-build.yaml
- Migrate all 6 main branch PipelineRuns to use pipelineRef with git resolver
- Reduces code duplication by ~3,500 lines across 6 PipelineRun files
Parameter Cleanup
Remove 7 unused parameters from consolidated pipeline:
- build-args (never referenced)
- build-args-file (hardcoded to "")
- build-image-index (hardcoded to "true")
- build-source-image (hardcoded to "false")
- privileged-nested (hardcoded to "false")
- rebuild (hardcoded to "false")
- skip-checks (hardcoded to "false" - always run security checks)
Remove obsolete hermetic parameter from 4 PipelineRuns (HERMETIC is now hardcoded to "true" in pipeline tasks)
Reduce pipeline parameters from 16 to 9 essential parameters.
Benefits
- Single source of truth for Tekton task versions
- Easier to update pipeline behavior across all components
- Cleaner parameter surface with only essential configuration exposed
- All builds are hermetic and security checks always run
Files Changed
- .tekton/pipelines/common-operator-build.yaml (new)
- .tekton/control-plane-operator-main-pull-request.yaml
- .tekton/control-plane-operator-main-push.yaml
- .tekton/hypershift-operator-main-pull-request.yaml
- .tekton/hypershift-operator-main-push.yaml
- .tekton/hypershift-shared-ingress-main-pull-request.yaml
- .tekton/hypershift-shared-ingress-main-push.yaml
- is related to
-
CNTRLPLANE-1741 Migrate gomaxprocs-webhook pipelines to use common-operator-build
-
- Code Review
-
- links to