Skip to content

Commit

Permalink
Fix SO index (#3056)
Browse files Browse the repository at this point in the history
Our Dockerfile for Index image is now pulling
`registry.ci.openshift.org/knative/release-1.35.0:serverless-bundle`
on line 14 as the bundle now exists.

It doesn't pull the the previously built
`image-registry.openshift-image-registry.svc:5000/openshift-marketplace/serverless-bundle:latest`
and the release-1.35.0 bundle references images at
`registry.redhat.io` which are not pullable yet.

Signed-off-by: Pierangelo Di Pilato <[email protected]>
  • Loading branch information
pierDipi authored Nov 28, 2024
1 parent 511168a commit baf5e6a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
4 changes: 0 additions & 4 deletions olm-catalog/serverless-operator-index/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ COPY olm-catalog/serverless-operator-index/configs /configs
RUN /bin/opm init serverless-operator --default-channel=stable --output yaml >> /configs/index.yaml
RUN /bin/opm render --skip-tls-verify -o yaml \
registry.ci.openshift.org/knative/release-1.33.0:serverless-bundle \
registry.ci.openshift.org/knative/release-1.34.0:serverless-bundle \
registry.ci.openshift.org/knative/release-1.35.0:serverless-bundle >> /configs/index.yaml || \
/bin/opm render --skip-tls-verify -o yaml \
registry.ci.openshift.org/knative/release-1.33.0:serverless-bundle \
registry.ci.openshift.org/knative/release-1.34.0:serverless-bundle \
quay.io/redhat-user-workloads/ocp-serverless-tenant/serverless-operator-135/serverless-bundle@sha256:0d5feb3c9f59246d16db1c687e3c1085fcc8a360cd51974197a878944df06b1d >> /configs/index.yaml

Expand Down
2 changes: 0 additions & 2 deletions templates/index.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ COPY olm-catalog/serverless-operator-index/configs /configs

RUN /bin/opm init serverless-operator --default-channel=__DEFAULT_CHANNEL__ --output yaml >> /configs/index.yaml
RUN /bin/opm render --skip-tls-verify -o yaml \
registry.ci.openshift.org/knative/release-__VERSION__:serverless-bundle >> /configs/index.yaml || \
/bin/opm render --skip-tls-verify -o yaml \
__BUNDLE__ >> /configs/index.yaml

# The base image is expected to contain
Expand Down

0 comments on commit baf5e6a

Please sign in to comment.