Uploaded image for project: 'Red Hat Internal Developer Platform'
  1. Red Hat Internal Developer Platform
  2. RHIDP-7230

spike: can we disable and skip the `deprecated-base-image-check` for operator-bundle (and other scratch-based) images?

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Normal Normal
    • 1.9.0
    • 1.7.0
    • Build, Operator
    • None

      Since quay performance has degraded and a base image check for a scratch image is KINDA DAFT we should just skip this test and save time.

      HOWEVER this may require adding a new exception to the ECP so we don't need to pass this pointless and meaningless checkpoint.

      step-check-images
      
      time="2025-04-26T00:19:38Z" level=fatal msg="Error parsing image name \"docker://quay.io/rhdh/rhdh-operator-bundle@sha256:99698fad0625ebf7257f6cd84587dad716a9a18fbb3e059426c899dea787823a\": can't talk to a V1 container registry"
      get_image_manifests: The raw image inspect command failed
      {"result":"ERROR","timestamp":"2025-04-26T00:19:38+00:00","note":"Unexpected error: Script errored at command: image_manifests=$(get_image_manifests -i ${imageanddigest}).","namespace":"default","successes":0,"failures":0,"warnings":0}

      https://gitlab.cee.redhat.com/rhidp/rhdh/-/blob/rhdh-1-rhel-9/distgit/containers/rhdh-operator-bundle/Containerfile#L7

      Alternatively we could look at adding exceptions for the default ECP rules about having a non-root user and a UBI-based base image, in which case we might be able to remove these lines:

      # RHIDP-4220 - make Konflux preflight and EC checks happy - need some layer with RPMs even if not doing any pre-processing work
      FROM registry.access.redhat.com/ubi9/ubi-minimal:latest as builder-runner
      USER 1001
      

              Unassigned Unassigned
              nickboldt Nick Boldt
              RHDH Cope
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated: