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

add gcp auth, use updated sdk action #397

Merged
merged 1 commit into from
Jan 28, 2025
Merged

add gcp auth, use updated sdk action #397

merged 1 commit into from
Jan 28, 2025

Conversation

mattjperez
Copy link
Member

added a the full json credentials. according to the google auth actions doc, will not work for gsutil, so using gcloud instead.

@mattjperez mattjperez requested a review from acmorrow January 28, 2025 20:26
@mattjperez mattjperez requested a review from a team as a code owner January 28, 2025 20:26

- name: Upload to GCP
run: |
gsutil cp micro-rdk-server-esp32-ota.bin gs://${{ secrets.GCP_BUCKET_NAME }}/${{ github.ref_name }}/
gcloud storage cp micro-rdk-server-esp32-ota.bin gs://${{ secrets.GCP_BUCKET_NAME }}/${{ github.ref_name }}/
Copy link
Member

Choose a reason for hiding this comment

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

The RDK seems to use something else to do this, via google-github-actions/upload-cloud-storage: https://github.com/viamrobotics/rdk/blob/main/.github/workflows/staticbuild.yml#L127

@mattjperez mattjperez requested a review from abe-winter January 28, 2025 21:38
@mattjperez
Copy link
Member Author

confirmed worked with new workflow_dispatch button

@mattjperez mattjperez merged commit 454865a into main Jan 28, 2025
21 checks passed
@mattjperez mattjperez deleted the gcp-ci-attempt branch January 28, 2025 22:09
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.

2 participants