ci(buildkite): use go-version env variable in the pipeline.yml#6893
ci(buildkite): use go-version env variable in the pipeline.yml#6893v1v wants to merge 3 commits intoelastic:mainfrom
Conversation
| agents: | ||
| image: "golang:1.22.6" | ||
| # NOTE: use the go-version env variable that's set in the pre-command hook | ||
| image: "golang:${GO_VERSION}" |
There was a problem hiding this comment.
I don't think variables in the precommand hook get evaluated here (only after an agent has started running in the context of a shell)?
There was a problem hiding this comment.
That's indeed an excellent point!
I guess I'll need to use updatecli for this file then
|
This pull request is now in conflicts. Could you fix it? 🙏 |
|
|
This pull request is now in conflicts. Could you fix it? 🙏 |





What does this PR do?
Use
elastic-agent/.buildkite/hooks/pre-command
Lines 12 to 14 in 08048a9
Why is it important?
Otherwise, the updatecli pipeline will need to be adapted:
Checklist
./changelog/fragmentsusing the changelog toolDisruptive User Impact
How to test this PR locally
Related issues
Questions to ask yourself