-
Notifications
You must be signed in to change notification settings - Fork 526
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
rebase: update kubernetes to v1.23.0 #2699
Conversation
f248ec9
to
6f80b27
Compare
cd7fcc6
to
58798ce
Compare
58798ce
to
7b58502
Compare
/retest all |
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.
Looks good to me, but something causes building e2e.test
to fail now:
go test -tags=pacific -mod=vendor -c ./e2e
# sigs.k8s.io/json/internal/golang/encoding/json
vendor/sigs.k8s.io/json/internal/golang/encoding/json/encode.go:1249:12: sf.IsExported undefined (type reflect.StructField has no field or method IsExported)
vendor/sigs.k8s.io/json/internal/golang/encoding/json/encode.go:1255:18: sf.IsExported undefined (type reflect.StructField has no field or method IsExported)
@nixpanic CI is failing because it's using the older devel image which is built for golang 1.16 we need a new image to be pushed to the CI registry for CI to pass. can you please help with that |
I think images are rebuilt after a PR has been merged. See https://jenkins-ceph-csi.apps.ocp.ci.centos.org/job/build-images/ However, if a PR changes the build.env file, it should not download the pre-built container image, but build a new one from scratch... If that is not working for some reason, we need to fix that. |
Ah, it seems this is not done for all CI jobs... ceph-csi/containerized-tests.groovy Lines 96 to 102 in d351e00
It might be easier to send a PR updating Golang, get that merged so the container-images are rebuilt. And then update the Kubernetes dependency. |
#2703 is to update the golang version to 1.17 once it's merged will rebase this one. |
When this PR is merged, #2590 can be closed as well. |
build.env
Outdated
@@ -16,7 +16,7 @@ BASE_IMAGE=docker.io/ceph/ceph:v16 | |||
CEPH_VERSION=octopus | |||
|
|||
# standard Golang options | |||
GOLANG_VERSION=1.16.4 | |||
GOLANG_VERSION=1.17.4 |
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 obviously is part of #2703 already, so a rebase will be needed. Setting depends-on: #2703
in the description so that Mergify should pick it up automatically.
@@ -38,6 +39,9 @@ RUN source /build.env \ | |||
&& dnf -y update \ | |||
&& dnf -y clean all \ | |||
&& gem install mdl \ | |||
&& mkdir -p ${GOROOT} \ | |||
&& curl https://storage.googleapis.com/golang/go${GOLANG_VERSION}.linux-amd64.tar.gz \ |
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 makes me sad, it breaks on non-amd64 architectures... But I also do not know of a better way to do this, current Fedora 35 (:latest
) has golang-1.16.x 😞
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.
yes, I borrowed it from https://github.com/ceph/ceph-csi/blob/devel/scripts/Dockerfile.devel#L15. #2707 is for tracking
f34aa5b
to
ab29428
Compare
@Rakshith-R you have requested changes. PTAL |
Pull request has been modified.
This pull request now has conflicts with the target branch. Could you please resolve conflicts and force push the corrected changes? 🙏 |
updating go dependency to latest kubernetes released version i.e v1.23.0 Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
as go-sum is auto generated, ignore checking codespell on this file. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
updating the depencendices to golang 1.17.5 release Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
As we are updating the cephcsi main repo to golang 1.17, updating the action package to golang 1.17 Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
installed the go version specified in build.env in the test docker image. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
currently getting find command not found and xargs command not found when we run the dockerfile.test. installing findutils to fix it. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
as part of running `go mod tidy` the unused k8s.io/utils is removed from the vendor directory. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
ab29428
to
69023f8
Compare
Pull request has been modified.
CI failure |
/retest ci/centos/upgrade-tests-rbd |
/retest ci/centos/upgrade-tests-cephfs |
failed due to above error |
@Rakshith-R can you please bring your approval back on this one? |
updating go dependency to latest kubernetes released version i.e v1.23.0
closes #2698
closes #2590
depends-on: #2703
note:- other dependencies are auto-updated when I ran
go mod
commandsSigned-off-by: Madhu Rajanna madhupr007@gmail.com