Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
configuration
Commits
55d705ad
Commit
55d705ad
authored
Feb 15, 2017
by
Feanil Patel
Committed by
GitHub
Feb 15, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3699 from edx/feanil/fix_gocd_backups
The API changed slightly.
parents
aef34bc9
a9cc298c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
playbooks/roles/go-server/tasks/main.yml
+2
-0
playbooks/roles/go-server/templates/gocd_backup.j2
+1
-0
No files found.
playbooks/roles/go-server/tasks/main.yml
View file @
55d705ad
...
...
@@ -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
playbooks/roles/go-server/templates/gocd_backup.j2
View file @
55d705ad
...
...
@@ -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
'"'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment