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

enable gvm installer through a shell script #67

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

v1v
Copy link

@v1v v1v commented Nov 6, 2023

Help with using gvm with a shell script installer,. This will help with removing all the logic to install gvm in the CI.

Caused by https://github.com/elastic/apm-agent-go/pull/1537/files#r1383052541

@v1v v1v changed the title enable gvm isntaller through a shell script enable gvm installer through a shell script Nov 6, 2023
@breml
Copy link

breml commented Nov 6, 2023

Can you elaborate, why and how are you using gvm in CI?

@v1v
Copy link
Author

v1v commented Nov 6, 2023

Can you elaborate, why and how are you using gvm in CI?

Sure thing, I use gvm to install any specific Golang version dynamically, for such either gvm is installed in the CI runners previously or I update the installed gvm if needed.

https://github.com/elastic/apm-agent-go/pull/1537/files is one example for moving from the gimme approach to gvm.

https://github.com/elastic/beats/blob/475eaf5784b46f9a986e86617b21400a44dd90d0/.ci/scripts/get-vendor-dependencies.sh#L10 is another example for using gvm for any given version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants