Skip to content

Commit

Permalink
Update README.md testing ci/cd
Browse files Browse the repository at this point in the history
  • Loading branch information
crysg authored Dec 20, 2024
1 parent 480c4c2 commit 458487a
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,16 @@ the Student Success Tool is built on:

CI/CD info TK

Cloud bucket
### One-time setup (if you were to set-up an env from scratch)
DO NOT DO THIS FOR fellows dev environment/local development as this has already been done
Create a Cloud Bucket to store the static files
Update the cors-config.json with allowed origin URLs
Run `gcloud storage buckets update gs://<BUCKET_NAME> --cors-file=cors-config.json`
Run `gsutil cors get gs://<BUCKET_NAME>`
Run `gcloud storage buckets add-iam-policy-binding gs://<BUCKET_NAME> --member=allUsers --role=roles/storage.objectViewer`

1. Static Asset Creation: npm install and npm build and cp to cloud bucket Cloud Build

1. Static Asset Creation: handled automatically on push by Cloudbuild.yaml using npm install and npm build and cp to cloud bucket Cloud Build
2. Database migrations: Cloud Run Job
3. Auto-deploy: orchestrated by Cloud Build (currently stored inline) on Github push

Expand Down

0 comments on commit 458487a

Please sign in to comment.