Variable "DEBUG" does not work well.
Version of pipe: atlassian/google-cloud-storage-deploy:1.0.1
Logs of pipeline:
+ eval gsutil -m cp -r -a public-read -s regional '--verbosity=debug' public/gcs/public gs://BUCKET_NAME/
CommandException: Incorrect option(s) specified. Usage:
gsutil cp [OPTION]... src_url dst_url
gsutil cp [OPTION]... src_url... dst_url
gsutil cp [OPTION]... -I dst_url
For additional help run:
gsutil help cp
✖ Deployment failed.
Way to reproduce:
- step:
name: Upload public data to Google Cloud Storage
script:
- source deploy/env.sh
- pipe: atlassian/google-cloud-storage-deploy:1.0.1
variables:
KEY_FILE: ${DEPLOY_ENV_GOOGLE_KEY_FILE}
PROJECT: ${DEPLOY_ENV_GOOGLE_PROJECT}
BUCKET: ${DEPLOY_ENV_GOOGLE_STORAGE_BUCKET}
SOURCE: ./public/gcs/public
ACL: public-read
STORAGE_CLASS: regional
DEBUG: 'true'