-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[release-1.32] Bump to 1.32.1 #2575
[release-1.32] Bump to 1.32.1 #2575
Conversation
Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
/assign @Kaustubh-pande @mgencur |
@@ -60,12 +60,12 @@ jobs: | |||
- name: Generate CI (on workflow dispatch) | |||
if: github.event_name == 'workflow_dispatch' | |||
working-directory: ./src/github.com/openshift-knative/hack | |||
run: go run ./cmd/prowcopy --branch ${{ inputs.branch }} --tag ${{ inputs.branch }} --config config/serverless-operator.yaml | |||
run: go run ./cmd/prowcopy --branch ${{ inputs.branch }} --tag "${{ inputs.branch }}.0" --config config/serverless-operator.yaml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When you're changing this, do you plan to re-generate the CI config for release-1.32 branch?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, I don't but this is necessary moving forward to make sure that the Dockerfile olm-catalog/serverless-operator/index/Dockerfile is using the correct versioned image
/retest |
Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
name: stable-1.30 | ||
package: serverless-operator | ||
entries: | ||
- name: "serverless-operator.v1.30.0" | ||
- name: "serverless-operator.v1.31.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one doesn't seem right, @mgencur @Kaustubh-pande do you know what I'm doing wrong here ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need stable 1.30? already EOL?
I think you are adding serverless-operator-1.31.0 in the stable 1.30 channel
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we leave current - 2 for the upgrade test regardless of the EOL date
I think you are adding serverless-operator-1.31.0 in the stable 1.30 channel
yes, but this is generated and I'm not sure what's wrong in the project.yaml that causes it to generate this one
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixing it here: #2583 , The commit can be cherry-picked on release-1.32 if desired.
Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
/retest |
hack/lib/images.bash
Outdated
@@ -5,7 +5,7 @@ source "$(dirname "${BASH_SOURCE[0]}")/metadata.bash" | |||
|
|||
registry_host='registry.ci.openshift.org' | |||
registry="${registry_host}/openshift" | |||
export CURRENT_VERSION_IMAGES=${CURRENT_VERSION_IMAGES:-"main"} | |||
export CURRENT_VERSION_IMAGES=${CURRENT_VERSION_IMAGES:-"release-$(metadata.get project.version)"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it make sense to use just
export CURRENT_VERSION_IMAGES="release-$(metadata.get project.version)"
and then leave the file .github/workflows/validate.yaml
untouched?
serving: knative-v1.10 | ||
eventing: knative-v1.10 | ||
eventing_kafka_broker: knative-v1.10 | ||
serving: knative-v1.11 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Uh, previous, as in 1.32.0
is "previous to this?
That's a weak / difficult knob, IMO. But likely subject for a different discussion
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
/hold
in cases anyone has feedback - feel free to unhold
/retest |
1 similar comment
/retest |
I believe there is something wrong somewhere :( |
yes I think I face the same here |
@@ -10,7 +10,7 @@ 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/openshift-serverless-v1.30.0:serverless-bundle \ | |||
registry.ci.openshift.org/knative/openshift-serverless-v1.31.0:serverless-bundle \ | |||
registry.ci.openshift.org/knative/openshift-serverless-v1.32.0:serverless-bundle >> /configs/index.yaml || \ | |||
registry.ci.openshift.org/knative/release-1.32.1:serverless-bundle >> /configs/index.yaml || \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You will also need to update this line: https://github.com/openshift-knative/serverless-operator/blob/release-1.32/hack/lib/catalogsource.bash#L68
We're promoting to a different name/namespace now and if we don't change the line we'll end up with this command in the Dockerfile:
RUN /bin/opm render --skip-tls-verify -o yaml registry.ci.openshift.org/knative/openshift-serverless-v1.30.0:serverless-bundle \
registry.ci.openshift.org/knative/openshift-serverless-v1.31.0:serverless-bundle \
registry.ci.openshift.org/knative/release-1.32.1:serverless-bundle >> /configs/index.yaml || \
/bin/opm render --skip-tls-verify -o yaml registry.ci.openshift.org/knative/openshift-serverless-v1.30.0:serverless-bundle \
registry.ci.openshift.org/knative/openshift-serverless-v1.31.0:serverless-bundle \
registry.ci.openshift.org/knative/serverless-bundle:main >> /configs/index.yaml
And since we're on release-1.32 branch and not main, and since release-1.32.1 tag doesn't exist yet, the Index will be corrupted (the first command will fail, then the second one will run but it will only add the bundle from "main" branch).
Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
This PR should be merged after #2581 |
The error is :
The last commit should use CURRENT_VERSION, not CURRENT_VERSION_IMAGES |
Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
…cram512 Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
Upgrade test failing
|
@mgencur do I need to also change the upgrade_sequence in project.yaml ? |
@pierDipi We need to change these lines to |
Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
/test 414-test-upgrade-aws-414 |
/unhold |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: matzew, mgencur, 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:
Approvers can indicate their approval by writing |
5ab219d
into
openshift-knative:release-1.32
Update metadata for patch release
Waiting for openshift/release#50173