Skip to content

upgrade to go 1.20.4 #5299

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

Merged
merged 6 commits into from May 6, 2023
Merged

upgrade to go 1.20.4 #5299

merged 6 commits into from May 6, 2023

Conversation

ghost
Copy link

@ghost ghost commented Apr 28, 2023

What this PR does:

if it's not the proper way to do this,
just let me know

Bump the go version to remove some CVEs detected by our scans.
go version : 1.20.1, solved in 1.20.3
CVE-2023-24538 / critical
CVE-2023-24536 / high
CVE-2023-24537 / high
CVE-2023-24534 / high

Which issue(s) this PR fixes:
Nonw

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

Copy link
Member

@friedrichg friedrichg left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution.

We need to move to 1.20.4 already, See https://github.com/golang/go/issues?q=milestone%3AGo1.20.4+label%3ACherryPickApproved

Co-authored-by: Friedrich Gonzalez <[email protected]>
Signed-off-by: rokh-conduktor <[email protected]>
@friedrichg friedrichg changed the title upgrade to go 1.20.3 upgrade to go 1.20.4 May 3, 2023
@alvinlin123
Copy link
Contributor

alvinlin123 commented May 3, 2023

Thanks for doing this.

One of the maintainer will need to build the changes in this PR, and push new version of build image to quay.io. I will try to see if I can do it tomorrow :-)

@ghost
Copy link
Author

ghost commented May 4, 2023

thanks a lot 🙏

@alvinlin123 alvinlin123 requested a review from friedrichg May 5, 2023 03:03
Copy link
Member

@friedrichg friedrichg left a comment

Choose a reason for hiding this comment

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

LGTM but do remove python stuff from Dockerfile

@friedrichg friedrichg merged commit d2dfe5e into cortexproject:master May 6, 2023
@ghost
Copy link
Author

ghost commented May 9, 2023

hey there 👋
thanks for the update and merge !
do you think it's possible to push a version 1.15.2 with this soon ?

@alvinlin123
Copy link
Contributor

I think it make sense to do a 1.15.2 release for the CVE. I will try to find time to do it this or next week.

alvinlin123 added a commit to alvinlin123/cortex that referenced this pull request May 9, 2023
* upgrade to go 1.20.3

* align on pr name ?

* Update build-image/Dockerfile

Co-authored-by: Friedrich Gonzalez <[email protected]>
Signed-off-by: rokh-conduktor <[email protected]>

* Update test-build-deploy.yml with build image tag 

Signed-off-by: Alvin Lin <[email protected]>

* Update Makefile

Signed-off-by: Alvin Lin <[email protected]>

* Remove python-request and python-yaml in build-image/Dockerfile

Signed-off-by: Alvin Lin <[email protected]>

---------

Signed-off-by: rokh-conduktor <[email protected]>
Signed-off-by: Alvin Lin <[email protected]>
Co-authored-by: Friedrich Gonzalez <[email protected]>
Co-authored-by: Alvin Lin <[email protected]>
yeya24 pushed a commit that referenced this pull request May 9, 2023
* upgrade to go 1.20.3

* align on pr name ?

* Update build-image/Dockerfile




* Update test-build-deploy.yml with build image tag 



* Update Makefile



* Remove python-request and python-yaml in build-image/Dockerfile



---------

Signed-off-by: rokh-conduktor <[email protected]>
Signed-off-by: Alvin Lin <[email protected]>
Co-authored-by: rokh-conduktor <[email protected]>
Co-authored-by: Friedrich Gonzalez <[email protected]>
@ghost
Copy link
Author

ghost commented May 10, 2023

thanks 🙏

friedrichg added a commit that referenced this pull request Nov 7, 2023
* upgrade to go 1.20.4 (#5299) (#5331)

* upgrade to go 1.20.3

* align on pr name ?

* Update build-image/Dockerfile




* Update test-build-deploy.yml with build image tag 



* Update Makefile



* Remove python-request and python-yaml in build-image/Dockerfile



---------

Signed-off-by: rokh-conduktor <[email protected]>
Signed-off-by: Alvin Lin <[email protected]>
Co-authored-by: rokh-conduktor <[email protected]>
Co-authored-by: Friedrich Gonzalez <[email protected]>

* Release and bump version to 1.15.2 (#5336)

* Bump version to 1.15.2

Signed-off-by: Alvin Lin <[email protected]>

* Add entry to change log for 1.15.2 release

Signed-off-by: Alvin Lin <[email protected]>

---------

Signed-off-by: Alvin Lin <[email protected]>

* Release 1.15 (#5423)

* Do not reuse remote write requests in case of error (#5422)

* Do not reuse remote write requests in case of error

Signed-off-by: Alan Protasio <[email protected]>

* Changelog

Signed-off-by: Alan Protasio <[email protected]>

---------

Signed-off-by: Alan Protasio <[email protected]>

* Release and bump version to 1.15.3

Signed-off-by: Alan Protasio <[email protected]>

* Fix Changelog

Signed-off-by: Alan Protasio <[email protected]>

---------

Signed-off-by: Alan Protasio <[email protected]>

---------

Signed-off-by: rokh-conduktor <[email protected]>
Signed-off-by: Alvin Lin <[email protected]>
Signed-off-by: Alan Protasio <[email protected]>
Signed-off-by: Ben Ye <[email protected]>
Co-authored-by: Alvin Lin <[email protected]>
Co-authored-by: rokh-conduktor <[email protected]>
Co-authored-by: Friedrich Gonzalez <[email protected]>
Co-authored-by: Alan Protasio <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants