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
95b5a39c
Commit
95b5a39c
authored
Aug 19, 2015
by
Gabe Mulley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ensure ansible is run on the release vagrant box
parent
42f2fb5d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
1 deletions
+19
-1
vagrant/release/analyticstack/Vagrantfile
+19
-1
No files found.
vagrant/release/analyticstack/Vagrantfile
View file @
95b5a39c
...
...
@@ -8,6 +8,19 @@ VAGRANTFILE_API_VERSION = "2"
MEMORY
=
4096
CPU_COUNT
=
2
$script
=
<<
SCRIPT
if [ ! -d /edx/app/edx_ansible ]; then
echo "Error: Base box is missing provisioning scripts." 1>&2
exit 1
fi
export PYTHONUNBUFFERED=1
source /edx/app/edx_ansible/venvs/edx_ansible/bin/activate
cd /edx/app/edx_ansible/edx_ansible/playbooks
ansible-playbook -i localhost, -c local vagrant-analytics.yml -e configuration_version=master
SCRIPT
edx_platform_mount_dir
=
"edx-platform"
themes_mount_dir
=
"themes"
forum_mount_dir
=
"cs_comments_service"
...
...
@@ -29,7 +42,8 @@ end
Vagrant
.
configure
(
VAGRANTFILE_API_VERSION
)
do
|
config
|
# Creates an edX devstack VM from an official release
config
.
vm
.
box
=
"analyticstack-beta"
config
.
vm
.
box
=
"analyticstack"
config
.
vm
.
box_url
=
"http://files.edx.org/vagrant-images/analyticstack.box"
config
.
vm
.
network
:private_network
,
ip:
"192.168.33.10"
config
.
vm
.
network
:forwarded_port
,
guest:
8000
,
host:
8000
...
...
@@ -90,4 +104,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# Use vagrant-vbguest plugin to make sure Guest Additions are in sync
config
.
vbguest
.
auto_reboot
=
true
config
.
vbguest
.
auto_update
=
true
# Assume that the base box has the edx_ansible role installed
# We can then tell the Vagrant instance to update itself.
config
.
vm
.
provision
"shell"
,
inline:
$script
end
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