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
a1de457f
Commit
a1de457f
authored
Nov 21, 2016
by
Ned Batchelder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
The configuration version needs to be overridable also
parent
19c56596
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
vagrant/release/devstack/Vagrantfile
+2
-1
No files found.
vagrant/release/devstack/Vagrantfile
View file @
a1de457f
...
...
@@ -68,6 +68,7 @@ openedx_releases.default = "eucalyptus-devstack-2016-09-01"
openedx_release
=
ENV
[
'OPENEDX_RELEASE'
]
# Build -e override lines for each overridable variable.
extra_vars_lines
=
""
VERSION_VARS
.
each
do
|
var
|
rel
=
ENV
[
var
.
upcase
]
||
openedx_release
...
...
@@ -86,7 +87,7 @@ source /edx/app/edx_ansible/venvs/edx_ansible/bin/activate
cd /edx/app/edx_ansible/edx_ansible/playbooks
EXTRA_VARS="
#{
extra_vars_lines
}
"
CONFIG_VER="
#{
openedx_release
||
'master'
}
"
CONFIG_VER="
#{
ENV
[
'CONFIGURATION_VERSION'
]
||
openedx_release
||
'master'
}
"
ansible-playbook -i localhost, -c local run_role.yml -e role=edx_ansible -e configuration_version=$CONFIG_VER $EXTRA_VARS
ansible-playbook -i localhost, -c local vagrant-devstack.yml -e configuration_version=$CONFIG_VER $EXTRA_VARS
...
...
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