Skip to content
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

Upgrade Go version to 1.19 #561

Merged
merged 4 commits into from
Dec 7, 2022
Merged

Conversation

ishan16696
Copy link
Member

@ishan16696 ishan16696 commented Dec 6, 2022

What this PR does / why we need it:
Upgrade Go version to v1.19 for etcd-backup-restore as etcd-druid is also using the Go version v1.19. check here.
This PR updated Go version to v1.19.3 used to build docker image.
This PR also updated the pipeline definitions to use Go v1.19.3

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

Release note:

Update golang version for Docker image build to `v1.19.3`.
Update golang version for dependency vendoring to `v1.19`.

@ishan16696 ishan16696 requested a review from a team as a code owner December 6, 2022 06:27
@gardener-robot gardener-robot added needs/review Needs review size/xs Size of pull request is tiny (see gardener-robot robot/bots/size.py) labels Dec 6, 2022
@gardener-robot-ci-3 gardener-robot-ci-3 added the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Dec 6, 2022
@gardener-robot-ci-1 gardener-robot-ci-1 added needs/ok-to-test Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD) and removed reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) labels Dec 6, 2022
Copy link
Collaborator

@shreyas-s-rao shreyas-s-rao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ishan16696 thanks for the PR. Generally LGTM. Maybe in the same PR can you also upgrade the image from go v1.19.2 to v1.19.3 as it addresses many vulnerabilities such as this one and also mentioned here?

go.mod Outdated Show resolved Hide resolved
@gardener-robot gardener-robot added size/s Size of pull request is small (see gardener-robot robot/bots/size.py) and removed size/xs Size of pull request is tiny (see gardener-robot robot/bots/size.py) labels Dec 6, 2022
@gardener-robot-ci-1 gardener-robot-ci-1 added the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Dec 6, 2022
@ishan16696
Copy link
Member Author

Maybe in the same PR can you also upgrade the image from go v1.19.2 to v1.19.3

done. PTAL

@gardener-robot-ci-1 gardener-robot-ci-1 removed the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Dec 6, 2022
@shreyas-s-rao
Copy link
Collaborator

@ishan16696 Thanks for making the requested changes. Please check the failing unit tests. Also, please change the release note to something like:

```noteworthy operator

Update golang version for Docker image build to `v1.19.3`.

```

```noteworthy developer

Update golang version for dependency vendoring to `v1.19`.

```

@shreyas-s-rao
Copy link
Collaborator

/reviewed ok-to-test

@gardener-robot gardener-robot added the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Dec 7, 2022
@gardener-robot-ci-1 gardener-robot-ci-1 removed the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Dec 7, 2022
@gardener-robot-ci-2 gardener-robot-ci-2 added reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) and removed reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) labels Dec 7, 2022
@ishan16696
Copy link
Member Author

ishan16696 commented Dec 7, 2022

@ishan16696 Thanks for making the requested changes. Please check the failing unit tests. Also, please change the release note to something like:

Updated the release note, failing unit tests are just flaky tests. PTAL.

@shreyas-s-rao
Copy link
Collaborator

/lgtm
/approve

@gardener-robot
Copy link

@shreyas-s-rao Command /approve is not known.

@gardener-robot gardener-robot added reviewed/lgtm Has approval for merging and removed needs/review Needs review labels Dec 7, 2022
@shreyas-s-rao shreyas-s-rao merged commit 0bba7b2 into gardener:master Dec 7, 2022
@gardener-robot gardener-robot added the status/closed Issue is closed (either delivered or triaged) label Dec 7, 2022
@ishan16696 ishan16696 deleted the upgradeGo branch December 23, 2022 07:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs/ok-to-test Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD) reviewed/lgtm Has approval for merging size/s Size of pull request is small (see gardener-robot robot/bots/size.py) status/closed Issue is closed (either delivered or triaged)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants