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

feat: Use google-cloud-env for more robust Metadata Service access #459

Merged
merged 1 commit into from
Dec 5, 2023

Conversation

dazuma
Copy link
Member

@dazuma dazuma commented Nov 15, 2023

This is a prerequisite for proper universe_domain support. It removes the code that makes direct calls to the Metadata Server (to determine GCE residence and to fetch Metadata-provided access tokens), and instead delegates to the more robust code in the google-cloud-env 2.0 gem.

Also drops support for Ruby 2.6 since google-cloud-env 2.0 also drops Ruby 2.6.

Also closes #444.

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

Successfully merging this pull request may close these issues.

Improve GCE detection by checking Google hardware
2 participants