Skip to content
This repository has been archived by the owner on Oct 19, 2023. It is now read-only.

Use cloudbuild network for accessing metadata server #375

Merged
merged 3 commits into from
Sep 26, 2017

Conversation

tmatsuo
Copy link
Contributor

@tmatsuo tmatsuo commented Sep 25, 2017

Instead of setting an envvar GCLOUD_PROJECT which may be deprecated in the future, it is better to use the cloudbuild network for accessing metadata server.

CC: @skelterjohn
Is there any plans for having a public documentation about this?

@tmatsuo
Copy link
Contributor Author

tmatsuo commented Sep 25, 2017

cc @bshaffer

Takashi Matsuo added 2 commits September 25, 2017 21:23
Now the test initializes the LoggingClient and send a log. This ensures
the library can access the metadata server to obtain the credentials and
detect the project id during the build process.
@tmatsuo tmatsuo merged commit 8dc5322 into master Sep 26, 2017
@tmatsuo tmatsuo deleted the cloudbuild-network branch September 26, 2017 16:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants