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
a0b748b4
Commit
a0b748b4
authored
Feb 07, 2014
by
Feanil Patel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update docs and remove deepcopy which we don't use.
parent
3b9a2571
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
util/jenkins/stage_release.py
+6
-2
No files found.
util/jenkins/stage_release.py
View file @
a0b748b4
...
...
@@ -42,6 +42,11 @@ deployments:
# A jenkins URL to post requests for building AMIs
abbey_url: "http://...."
# A mapping of plays to base AMIs
base_ami:{}
default_base_ami:
---
"""
import
argparse
...
...
@@ -49,7 +54,6 @@ import json
import
yaml
import
logging
as
log
import
requests
from
copy
import
deepcopy
from
datetime
import
datetime
from
git
import
Repo
from
pprint
import
pformat
...
...
@@ -112,7 +116,7 @@ def prepare_release(args):
try
:
last_successful
=
releases
.
next
()
all_plays
=
deepcopy
(
last_successful
[
'plays'
])
all_plays
=
last_successful
[
'plays'
]
except
StopIteration
:
# No successful builds.
log
.
warn
(
"No Previously successful builds."
)
...
...
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