Skip to content

Commit

Permalink
Migrating from GitHub Actions -> Cloud Build (#118)
Browse files Browse the repository at this point in the history
* cloudbuild.yaml for upload to TEST GCS bucket.

* test

* add -m flag to upload in parallel

* flags should be combined

* recursively copy folder

* remove GCS Upload GitHub action

* replace gcs bucket uri

* add test line in comments
  • Loading branch information
khanhnwin authored Oct 26, 2023
1 parent 82cc21b commit 09d1b18
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 35 deletions.
34 changes: 0 additions & 34 deletions .github/workflows/gcs.yml

This file was deleted.

5 changes: 5 additions & 0 deletions cloudbuild/gcs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
steps:
- name: 'gcr.io/google.com/cloudsdktool/cloud-sdk'
args: ['gsutil', 'cp', '-r', 'surveys', 'gs://flutter-uxr/']
options:
logging: CLOUD_LOGGING_ONLY
3 changes: 2 additions & 1 deletion surveys/flutter-survey-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"_comments": [
"uniqueId must be updated with each new survey so IDEs know to re-prompt users.",
"title should not exceed 45 characters.",
"startDate and endDate should follow ISO 8601 standard with a timezone offset."
"startDate and endDate should follow ISO 8601 standard with a timezone offset.",
"TEST"
],
"uniqueId": "2023Q4",
"title": "Help improve Flutter! Take our Q4 survey.",
Expand Down

0 comments on commit 09d1b18

Please sign in to comment.