Uploaded image for project: 'Red Hat OpenShift Control Planes'
  1. Red Hat OpenShift Control Planes
  2. CNTRLPLANE-1741

Migrate gomaxprocs-webhook pipelines to use common-operator-build

XMLWordPrintable

    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • 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)

              asegurap1@redhat.com Antoni Segura Puimedon
              asegurap1@redhat.com Antoni Segura Puimedon
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: