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
edx
configuration
Commits
9c1378f8
Commit
9c1378f8
authored
Jun 24, 2016
by
Brian Beggs
Committed by
Feanil Patel
Jun 24, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
app has replaced the word cluster with app in the create ami CD play. Improved AMI naming
parent
00739aad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
playbooks/continuous_delivery/create_ami.yml
+5
-5
No files found.
playbooks/continuous_delivery/create_ami.yml
View file @
9c1378f8
...
...
@@ -6,8 +6,8 @@
# - instance_id - the ec2 instance ID use to create the AMI
# - edx_environment - value to use for the environment tag
# - deployment - value to use for the deploy tag
# -
cluster_repo - the url of the github repo for this cluster
# -
cluster_version - git hash of the cluster
(play, service, IDA) being deployed
# -
app_repo - the url of the github repo for this app
# -
app_version - git hash of the app
(play, service, IDA) being deployed
# - play - the play that was run
# - configuration_repo - The github url for the configuration repo
# - configuration_version - The version (git hash) of configuration
...
...
@@ -34,7 +34,7 @@
# -e play=pipline-test \
# -e deployment=edx \
# -e edx_environment=sandbox \
# -e
cluster
_version=12345 \
# -e
app
_version=12345 \
# -e configuration_version=12345
# -e configuration_secure_version=12345
# -e cache_id=12345
...
...
@@ -55,7 +55,7 @@
-
name
:
Create AMI
ec2_ami_2_0_0_1
:
instance_id
:
"
{{
instance_id
}}"
name
:
"
{{
play
}}
--
{{
cluster
_version
}}"
name
:
"
{{
edx_environment
}}
--
{{
deployment
}}
--
{{
play
}}
--
{{
app
_version
}}"
region
:
"
{{
ec2_region
}}"
wait
:
"
{{
ami_wait
}}"
wait_timeout
:
"
{{
ami_creation_timeout
}}"
...
...
@@ -63,7 +63,7 @@
description
:
"
AMI
built
via
edX
continuous
delivery
pipeline
-
Ansible
version:
{{
ansible_version
}}"
# used a JSON object here as there is a string interpolation in the keys.
tags
:
"
{
'version:{{
play
}}':'{{
cluster_repo
}}
{{
cluster
_version
}}',
'version:{{
play
}}':'{{
app_repo
}}
{{
app
_version
}}',
'version:configuration':'{{
configuration_repo
}}
{{
configuration_version
}}',
'version:configuration_secure':'{{
configuration_secure_repo
}}
{{
configuration_secure_version
}}',
'play':'{{
play
}}',
...
...
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