Commit a0b748b4 by Feanil Patel

Update docs and remove deepcopy which we don't use.

parent 3b9a2571
...@@ -42,6 +42,11 @@ deployments: ...@@ -42,6 +42,11 @@ deployments:
# A jenkins URL to post requests for building AMIs # A jenkins URL to post requests for building AMIs
abbey_url: "http://...." abbey_url: "http://...."
# A mapping of plays to base AMIs
base_ami:{}
default_base_ami:
--- ---
""" """
import argparse import argparse
...@@ -49,7 +54,6 @@ import json ...@@ -49,7 +54,6 @@ import json
import yaml import yaml
import logging as log import logging as log
import requests import requests
from copy import deepcopy
from datetime import datetime from datetime import datetime
from git import Repo from git import Repo
from pprint import pformat from pprint import pformat
...@@ -112,7 +116,7 @@ def prepare_release(args): ...@@ -112,7 +116,7 @@ def prepare_release(args):
try: try:
last_successful = releases.next() last_successful = releases.next()
all_plays = deepcopy(last_successful['plays']) all_plays = last_successful['plays']
except StopIteration: except StopIteration:
# No successful builds. # No successful builds.
log.warn("No Previously successful builds.") log.warn("No Previously successful builds.")
......
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