Commit c491f1ed by Feanil Patel

Add the build id and iterate over the hash.

parent 90169f91
......@@ -527,7 +527,8 @@ def create_ami(instance_id, name, description):
img.add_tag("configuration_ref", args.configuration_version)
img.add_tag("configuration_secure_ref", args.configuration_secure_version)
img.add_tag("configuration_secure_repo", args.configuration_secure_repo)
for repo,ref in git_refs:
img.add_tag("build_id", args.jenkins_build)
for repo,ref in git_refs.items():
key = "vars:{}".format(repo)
image.add_tag(key, ref)
else:
......
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