Skip to content

Operator-sdk 1.28.1 uses non-existing storage digest because the new release procedure rebuilds storage image #6417

@tkrishtop

Description

@tkrishtop

Bug Report

We created this pull request to restore the previously working situation with the hardcoded digests that allowed us to use the DCI-Preflight integration in disconnected environments.

Unfortunately, the release procedure deleted the digest we hardcoded by pushing scorecard-storage to the same tag.

We really need to fix the release procedure. I propose excluding scorecard-storage from the rebuild entirely because it's a stable wrapper of BusyBox and not intended to change often:

https://github.com/operator-framework/operator-sdk/blob/af14062577914e4c79c77d8a31d2cf808e5ed76b/images/scorecard-storage/Dockerfile#L1C1-L12

Here is the whole story:

$ podman pull quay.io/operator-framework/scorecard-storage@sha256:f7bd62664a0b91034acb977a8bb4ebb76bc98a6e8bdb943eb84c8e364828f056
Trying to pull quay.io/operator-framework/scorecard-storage@sha256:f7bd62664a0b91034acb977a8bb4ebb76bc98a6e8bdb943eb84c8e364828f056...
Error: initializing source docker://quay.io/operator-framework/scorecard-storage@sha256:f7bd62664a0b91034acb977a8bb4ebb76bc98a6e8bdb943eb84c8e364828f056: 
reading manifest sha256:f7bd62664a0b91034acb977a8bb4ebb76bc98a6e8bdb943eb84c8e364828f056 in quay.io/operator-framework/scorecard-storage: 
manifest unknown

Possible Solution

We should probably exclude scorecard-storage from the GitHub action to rebuild all images:

description: Force rebuild of all images.

cc: @tonyskapunk @bcrochet @everettraven

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions