We need to use the google cloud sdk image

This commit is contained in:
Jeremy Wall 2020-12-02 08:24:21 -05:00
parent 261eac2011
commit 3cd46dc3a2
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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