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
d23df0e6
Commit
d23df0e6
authored
Sep 29, 2014
by
David Baumgold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use OPENEDX_RELEASE instead of release branch if specified
parent
22f63ea8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
vagrant/release/devstack/Vagrantfile
+5
-4
No files found.
vagrant/release/devstack/Vagrantfile
View file @
d23df0e6
...
...
@@ -13,6 +13,7 @@ if [ ! -d /edx/app/edx_ansible ]; then
echo "Error: Base box is missing provisioning scripts." 1>&2
exit 1
fi
OPENEDX_RELEASE=$1
export PYTHONUNBUFFERED=1
source /edx/app/edx_ansible/venvs/edx_ansible/bin/activate
cd /edx/app/edx_ansible/edx_ansible/playbooks
...
...
@@ -21,14 +22,14 @@ cd /edx/app/edx_ansible/edx_ansible/playbooks
# The vagrant-devstack.yml playbook will also do this, but only
# after loading the playbooks into memory. If these are out of date,
# this can cause problems (e.g. looking for templates that no longer exist).
/edx/bin/update configuration
release
/edx/bin/update configuration
${OPENEDX_RELEASE-release}
# Did we specify an openedx release?
if [ -n "$
1
" ]; then
EXTRA_VARS="-e OPENEDX_RELEASE=$
1
"
if [ -n "$
OPENEDX_RELEASE
" ]; then
EXTRA_VARS="-e OPENEDX_RELEASE=$
OPENEDX_RELEASE
"
fi
ansible-playbook -i localhost, -c local vagrant-devstack.yml --tags=deploy -e configuration_version=
release
$EXTRA_VARS
ansible-playbook -i localhost, -c local vagrant-devstack.yml --tags=deploy -e configuration_version=
${OPENEDX_RELEASE-release}
$EXTRA_VARS
SCRIPT
edx_platform_mount_dir
=
"edx-platform"
...
...
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