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
e4242a83
Commit
e4242a83
authored
Feb 01, 2017
by
Calen Pennington
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Record AMI tags when creating an AMI for continuous delivery
parent
d329a9e9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
playbooks/continuous_delivery/create_ami.yml
+7
-0
playbooks/continuous_delivery/templates/local/ami_template.yml.j2
+3
-2
No files found.
playbooks/continuous_delivery/create_ami.yml
View file @
e4242a83
...
...
@@ -97,6 +97,13 @@
version:edxapp_theme
:
"
{{
edxapp_theme_source_repo
}}
{{
edxapp_theme_version[:7]
}}"
when
:
edxapp_theme_version is defined and edxapp_theme_source_repo is defined
-
name
:
Fetch tags on the AMI
ec2_tag
:
region
:
"
{{
ec2_region
}}"
resource
:
"
{{
ami_register.image_id
}}"
state
:
list
register
:
ami_tags
-
name
:
Ensure artifact directory exists
file
:
path
:
"
{{
artifact_path
}}"
...
...
playbooks/continuous_delivery/templates/local/ami_template.yml.j2
View file @
e4242a83
ami_id: {{ ami_register.image_id }}
ami_message: {{ ami_register.msg }}
ami_state: {{ ami_register.state }}
\ No newline at end of file
ami_state: {{ ami_register.state }}
{{ ami_tags.tags | to_nice_yaml }}
\ No newline at end of file
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