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

Migrate from CircleCI to GitHub Actions #21

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

Conversation

trask
Copy link
Member

@trask trask commented Jul 10, 2024

Related to open-telemetry/community#2206

I kind of guessed on the migration based on the docs. Wasn't sure where GOOGLE_COMPUTE_ZONE factored in to the new google-github-actions.

Definitely nothing urgent to deal with. Thanks.

@trask trask requested review from a team July 10, 2024 21:45
@MrAlias
Copy link
Contributor

MrAlias commented Jul 10, 2024

cc @dashpole

@arminru arminru requested a review from dashpole July 11, 2024 15:35

- uses: google-github-actions/setup-gcloud@v2
with:
project_id: $GOOGLE_PROJECT_ID

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you can just

- run: gcloud --quiet config set compute/zone ${GOOGLE_COMPUTE_ZONE}

here, right? It doesn't look like there is an option like with the project_id, but it is just running the gcloud command under the hood anyways: https://github.com/google-github-actions/setup-cloud-sdk/blob/7458dd222121d80ff6b491103733e25cbadc0be7/src/index.ts#L236

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.

3 participants