mirror of
https://gitlab.com/walljm/dynamicbible.git
synced 2025-07-23 07:19:50 -04:00
We need to use the google cloud sdk image
This commit is contained in:
parent
261eac2011
commit
3cd46dc3a2
@ -26,6 +26,7 @@ test:
|
|||||||
|
|
||||||
deploy-staging:
|
deploy-staging:
|
||||||
stage: staging
|
stage: staging
|
||||||
|
image: google/cloud-sdk
|
||||||
script:
|
script:
|
||||||
- cd ./src
|
- cd ./src
|
||||||
- make deploy-staging
|
- make deploy-staging
|
||||||
|
@ -12,10 +12,10 @@ build:
|
|||||||
authorize-service-account:
|
authorize-service-account:
|
||||||
gcloud auth activate-service-account ${gcloud_service_account_email} --key-file=${gcloud_service_account_key} | tee authorize.log
|
gcloud auth activate-service-account ${gcloud_service_account_email} --key-file=${gcloud_service_account_key} | tee authorize.log
|
||||||
|
|
||||||
deploy-prod: build authorize-service-account
|
deploy-prod: authorize-service-account
|
||||||
gsutil -m rsync -d -r ${output} gs://dynamicbible.com
|
gsutil -m rsync -d -r ${output} gs://dynamicbible.com
|
||||||
|
|
||||||
deploy-staging: build authorize-service-account
|
deploy-staging: authorize-service-account
|
||||||
gsutil -m rsync -d -r ${output} gs://staging.dynamicbible.com
|
gsutil -m rsync -d -r ${output} gs://staging.dynamicbible.com
|
||||||
|
|
||||||
update-bucket-configs: gcloud/buckets.yaml
|
update-bucket-configs: gcloud/buckets.yaml
|
||||||
|
Loading…
x
Reference in New Issue
Block a user