-
Task
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
-
False
-
-
False
-
None
-
None
-
None
-
None
-
None
Following up on CNTRLPLANE-1650, migrate the gomaxprocs-webhook Tekton pipelines to delegate to the common pipeline.
Changes
Migrate gomaxprocs-webhook PipelineRuns to use pipelineRef:
- .tekton/hypershift-gomaxprocs-webhook-push.yaml
- .tekton/hypershift-gomaxprocs-webhook-pull-request.yaml
Benefits
- Consistency with other HyperShift components
- Single source of truth for Tekton task versions
- Reduces code duplication by ~1,186 lines
- Easier to update pipeline behavior
- Hermetic builds and standardized security checks
Implementation
Both PipelineRuns now:
- Use pipelineRef: name: hypershift-common-operator-build
- Reference pipeline via annotation: pipelinesascode.tekton.dev/pipeline: ".tekton/pipelines/common-operator-build.yaml"
- Retain component-specific parameters (dockerfile, path-context, build-platforms)
- Use common pipeline defaults (hermetic builds, security checks disabled for speed)
Files Changed
- .tekton/hypershift-gomaxprocs-webhook-push.yaml (596 lines removed)
- .tekton/hypershift-gomaxprocs-webhook-pull-request.yaml (596 lines removed)
- relates to
-
CNTRLPLANE-1650 Consolidate main branch Tekton pipelines and remove unused parameters
-
- Code Review
-
- links to