-
Notifications
You must be signed in to change notification settings - Fork 4
[BUG] golang 1.15.8 is not in path #10
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
Comments
Note that previous version works: prometheus/prometheus#8448 |
Cheers for raising, I've had a look at this working backwards from testing on my own machine to confirm and did notice a diff in the path that Go is using. I've checked the builder and there's a commit that references a change to the installation directory.
The commit fixes/closes:
Appears that the previous version was built before the builder now writing to the default directory within your program files folder. I've confirmed that on an x64 system the path env var is Since this implementation is a security fix I would say for the majority of people it would be more appropriate to add a fix to the workflow temporarily. I've created a PR that in essence converts the workflow to PowerShell from Bash: prometheus/prometheus#8455 Refs: |
Thank you!!! |
Describe the Issue
Hello,
We have a workflow where we use chocolatey to update golang on a CI node:
It seems that since 1.15.8, the go binary is no longer in the expected location. Has anything changed? (not according to git..)
Thanks!
Full logs: https://app.circleci.com/pipelines/github/prometheus/prometheus/10641/workflows/07ebd6fd-0ec5-4fc4-8562-ef474f640b32/jobs/46848
The text was updated successfully, but these errors were encountered: