Commit 55d705ad by Feanil Patel Committed by GitHub

Merge pull request #3699 from edx/feanil/fix_gocd_backups

The API changed slightly.
parents aef34bc9 a9cc298c
......@@ -173,3 +173,5 @@
- include: setup_regular_backup.yml
when: GO_SERVER_BACKUP_S3_BUCKET and GO_SERVER_BACKUP_S3_OBJECT and GO_SERVER_CONFIGURE_BACKUPS
tags:
- setup_backups
......@@ -40,6 +40,7 @@ backup_path=\
$(curl -sS "$gocd_backup_api_call" \
-u "$gocd_username:$gocd_password" \
-H 'Accept: application/vnd.go.cd.v1+json' \
-H 'Confirm: true' \
-X POST | \
jq .path | tr -d '"')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment