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
85b66342
Commit
85b66342
authored
Nov 25, 2014
by
David Baumgold
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1720 from edx/vagrant-sh-respect-OPENEDX_RELEASE
Make vagrant.sh respect OPENEDX_RELEASE env variable
parents
6d540c64
d2ec27f0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
2 deletions
+15
-2
util/install/vagrant.sh
+15
-2
No files found.
util/install/vagrant.sh
View file @
85b66342
...
...
@@ -29,11 +29,24 @@ sudo apt-get install -y build-essential software-properties-common python-softwa
sudo
pip install
--upgrade
pip
sudo
pip install
--upgrade
virtualenv
## Did we specify an openedx release?
if
[
-n
"
$OPENEDX_RELEASE
"
]
;
then
EXTRA_VARS
=
"-e edx_platform_version=
$OPENEDX_RELEASE
\
-e ora2_version=
$OPENEDX_RELEASE
\
-e certs_version=
$OPENEDX_RELEASE
\
-e forum_version=
$OPENEDX_RELEASE
\
-e xqueue_version=
$OPENEDX_RELEASE
\
"
CONFIG_VER
=
$OPENEDX_RELEASE
else
CONFIG_VER
=
"release"
fi
##
## Clone the configuration repository and run Ansible
##
cd
/var/tmp
git clone
-b
release
https://github.com/edx/configuration
git clone
-b
$CONFIG_VER
https://github.com/edx/configuration
##
## Install the ansible requirements
...
...
@@ -44,4 +57,4 @@ sudo pip install -r requirements.txt
##
## Run the edx_sandbox.yml playbook in the configuration/playbooks directory
##
cd
/var/tmp/configuration/playbooks
&&
sudo
ansible-playbook
-c
local
./edx_sandbox.yml
-i
"localhost,"
cd
/var/tmp/configuration/playbooks
&&
sudo
ansible-playbook
-c
local
./edx_sandbox.yml
-i
"localhost,"
$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