-
Notifications
You must be signed in to change notification settings - Fork 154
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
feat: bump go to 1.23.6 #5309
feat: bump go to 1.23.6 #5309
Conversation
This pull request does not have a backport label. Could you fix it @kruskall? 🙏
NOTE: |
Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane) |
This cannot be merged or get a green CI until 1.23 is released here https://github.com/elastic/golang-crossbuild A PR would also need to be done for github.com/elastic/beats as we want to keep the go versions in sync between Elastic Agent and beats. |
This pull request is now in conflicts. Could you fix it? 🙏
|
@ycombinator Automation only bumps minors of golang, not majors. Golang 1.22 required me to do a manual PR - #5036 |
/package |
IIUC,
/package is a valid command
|
d6abf5e
to
d0203a6
Compare
This pull request is now in conflicts. Could you fix it? 🙏
|
@v1v seems to fail with |
Unfortunately, I don't know much about this project's existing build and CI system. AFAIS, those are not related to the packaging but the build/test itself. Maybe those CI runners have been configured with some tools and https://github.com/andrewkroh/gvm is the tool If I recall correctly and I cannot reproduce the error locally using macOS m2: ![]() elastic-agent/.buildkite/scripts/common.sh Lines 12 to 14 in f29717e
Let me contribute to your PR and see if it works; otherwise, it's worth asking the @elastic/ingest-eng-prod or @elastic/elastic-agent-control-plane if they know what's happening. |
After bumping the version in
|
AFAIU, the packaging stage does not run for forked PRs even when using the |
|
|
|
@@ -196,7 +196,7 @@ steps: | |||
artifact_paths: | |||
- "build/TEST-go-unit.cov" | |||
agents: | |||
image: "golang:1.22.6" | |||
image: "golang:1.23.6" |
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've just created #6893
@elastic/ingest-eng-prod friendly ping for review 🙂 |
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
* feat: bump to go 1.23.2 (cherry picked from commit 30ba24b)
* feat: bump to go 1.23.2 (cherry picked from commit 30ba24b)
* feat: bump to go 1.23.2 (cherry picked from commit 30ba24b)
This reverts commit 30ba24b.
What does this PR do?
Update dockerfile go versions
Update documentation go version
Update go.mod
Remove go version from golangci config so it
defaults to the one used in go.mod
Why is it important?
Bump to the latest go version: https://go.dev/doc/go1.23
Also adds some nice feature that allows us to drop two more dependency (x/exp and copy)
Checklist
./changelog/fragments
using the changelog toolDisruptive User Impact
How to test this PR locally
Related issues
Questions to ask yourself