openshift-knative / serverless-operator

Main source repository for Openshift Serverless
Apache License 2.0
43 stars 65 forks source link

Support patch releases in index #2754

Closed pierDipi closed 3 weeks ago

pierDipi commented 3 weeks ago

This will avoid errors in https://github.com/openshift-knative/serverless-operator/pull/2748 for patch releases on release-* branches

Tested by changing olm.previous.replaces: 1.32.1 in project.yaml

we would get the following update to the index Dockerfile

RUN /bin/opm render --skip-tls-verify -o yaml \
      registry.ci.openshift.org/knative/openshift-serverless-v1.32.0:serverless-bundle \
      registry.ci.openshift.org/knative/openshift-serverless-v1.32.1:serverless-bundle \
      registry.ci.openshift.org/knative/release-1.33.0:serverless-bundle \
      registry.ci.openshift.org/knative/release-1.34.0:serverless-bundle >> /configs/index.yaml || \
    /bin/opm render --skip-tls-verify -o yaml \
      registry.ci.openshift.org/knative/openshift-serverless-v1.32.0:serverless-bundle \
      registry.ci.openshift.org/knative/openshift-serverless-v1.32.1:serverless-bundle \
      registry.ci.openshift.org/knative/release-1.33.0:serverless-bundle \
      registry.ci.openshift.org/knative/serverless-bundle:main >> /configs/index.yaml
pierDipi commented 3 weeks ago

/cc @matzew @mgencur @maschmid @skonto

openshift-ci[bot] commented 3 weeks ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: matzew, pierDipi

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/openshift-knative/serverless-operator/blob/main/OWNERS)~~ [matzew,pierDipi] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
pierDipi commented 3 weeks ago
{Failed  === RUN   TestServerlessUpgradeContinual/Run/AutoscaleSustainingWithTBCTest

/retest