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
51156a95
Commit
51156a95
authored
Jun 20, 2013
by
Feanil Patel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add xserver env file and checkout the grader code.
parent
0b878057
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
3 deletions
+13
-3
playbooks/roles/xserver/tasks/deploy.yml
+8
-0
playbooks/roles/xserver/tasks/main.yml
+0
-2
playbooks/roles/xserver/templates/xserver.env.json.j2
+1
-0
playbooks/roles/xserver/vars/main.yml
+4
-1
No files found.
playbooks/roles/xserver/tasks/deploy.yml
View file @
51156a95
...
...
@@ -17,6 +17,14 @@
pip
:
requirements="{{ xserver_requirements_file }}" virtualenv="{{ xserver_sandbox_venv_dir }}" state=present
tags
:
-
deploy
-
name
:
create xserver application config
template
:
src=xserver_env.json.j2 dest={{ app_base_dir }}/env.json mode=640 owner=www-data group=adm
tags
:
-
deploy
-
name
:
checkout grader code
git
:
dest={{ xserver_grader_dir }} repo={{ xserver_grader_source }} version={{ xserver_grader_version }}
tags
:
-
deploy
...
...
playbooks/roles/xserver/tasks/main.yml
View file @
51156a95
...
...
@@ -47,8 +47,6 @@
-
name
:
install system dependencies of xserver
apt
:
pkg={{ item }} state=present
with_items
:
xserver_debian_pkgs
tags
:
-
testit
-
include
:
nginx.yml
...
...
playbooks/roles/xserver/templates/xserver.env.json.j2
0 → 100644
View file @
51156a95
{{ xserver_env_config | to_nice_json }}
playbooks/roles/xserver/vars/main.yml
View file @
51156a95
...
...
@@ -3,11 +3,14 @@
xserver_code_dir
:
"
{{
app_base_dir
}}/xserver"
xserver_source_repo
:
"
git://github.com/edx/xserver.git"
# This should probably be overridden in the playbook or groupvars
# with the default pointing to the head of master.
xserver_version
:
HEAD
xserver_source_repo
:
"
git://github.com/edx/xserver.git"
xserver_grader_dir
:
"
{{
app_base_dir
}}/data/content-mit-600x~2012_Fall/graders"
xserver_grader_source
:
"
git://github.com/MITx/6.00x.git"
xserver_grader_version
:
HEAD
xserver_sandbox_venv_dir
:
"
{{
venv_dir
}}_apparmor_sandbox"
...
...
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