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
6693a59f
Commit
6693a59f
authored
Feb 20, 2015
by
Max Rothman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Give xqwatcher workable defaults
parent
5d4af9ca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
35 deletions
+36
-35
playbooks/roles/xqwatcher/defaults/main.yml
+36
-35
No files found.
playbooks/roles/xqwatcher/defaults/main.yml
View file @
6693a59f
...
@@ -10,46 +10,47 @@
...
@@ -10,46 +10,47 @@
##
##
# Defaults for role xqwatcher
# Defaults for role xqwatcher
#
#
# Courses can be defined by overriding XQWATCHER_COURSES with values like so:
# - COURSE: "exampleX-101x"
# GIT_REPO: "git@github.com:foo/graders-exampleX-101x.git"
# GIT_REF: "master"
# PYTHON_REQUIREMENTS: []
# QUEUE_NAME: "exampleX-101x"
# QUEUE_CONFIG:
# SERVER: "https://xqueue.example.com"
# CONNECTIONS: 5
# AUTH: ["user", "password"]
# HANDLERS:
# - HANDLER: "xqueue_watcher.jailedgrader.JailedGrader"
# CODEJAIL:
# name: "exampleX-101x"
# python_bin: "{{ xqwatcher_venv_base }}/exampleX-101x/bin/python"
# user: "exampleX-101x"
# KWARGS:
# grader_root: "../data/exampleX-101x/graders/"
# - COURSE: "exampleX-202x"
# GIT_REPO: "git@github.com:foo/graders-exampleX-202x.git"
# GIT_REF: "master"
# PYTHON_REQUIREMENTS: []
# QUEUE_NAME: "exampleX-202x"
# QUEUE_CONFIG:
# SERVER: "https://xqueue.example.com"
# CONNECTIONS: 5
# AUTH: ["user", "password"]
# HANDLERS:
# - HANDLER: "xqueue_watcher.jailedgrader.JailedGrader"
# CODEJAIL:
# name: "exampleX-202x"
# python_bin: "{{ xqwatcher_venv_base }}/exampleX-202x/bin/python"
# user: "exampleX-202x"
# KWARGS:
# grader_root: "../data/exampleX-202x/graders/"
XQWATCHER_CONFIG
:
XQWATCHER_CONFIG
:
HTTP_BASIC_AUTH
:
[
"
{{
COMMON_HTPASSWD_USER
}}"
,
"
{{
COMMON_HTPASSWD_PASS
}}"
]
HTTP_BASIC_AUTH
:
[
"
{{
COMMON_HTPASSWD_USER
}}"
,
"
{{
COMMON_HTPASSWD_PASS
}}"
]
POLL_TIME
:
10
POLL_TIME
:
10
XQWATCHER_COURSES
:
XQWATCHER_COURSES
:
[]
-
COURSE
:
"
exampleX-101x"
GIT_REPO
:
"
git@github.com:foo/graders-exampleX-101x.git"
GIT_REF
:
"
master"
PYTHON_REQUIREMENTS
:
[]
QUEUE_NAME
:
"
exampleX-101x"
QUEUE_CONFIG
:
SERVER
:
"
https://xqueue.example.com"
CONNECTIONS
:
5
AUTH
:
[
"
user"
,
"
password"
]
HANDLERS
:
-
HANDLER
:
"
xqueue_watcher.jailedgrader.JailedGrader"
CODEJAIL
:
name
:
"
exampleX-101x"
python_bin
:
"
{{
xqwatcher_venv_base
}}/exampleX-101x/bin/python"
user
:
"
exampleX-101x"
KWARGS
:
grader_root
:
"
../data/exampleX-101x/graders/"
-
COURSE
:
"
exampleX-202x"
GIT_REPO
:
"
git@github.com:foo/graders-exampleX-202x.git"
GIT_REF
:
"
master"
PYTHON_REQUIREMENTS
:
[]
QUEUE_NAME
:
"
exampleX-202x"
QUEUE_CONFIG
:
SERVER
:
"
https://xqueue.example.com"
CONNECTIONS
:
5
AUTH
:
[
"
user"
,
"
password"
]
HANDLERS
:
-
HANDLER
:
"
xqueue_watcher.jailedgrader.JailedGrader"
CODEJAIL
:
name
:
"
exampleX-202x"
python_bin
:
"
{{
xqwatcher_venv_base
}}/exampleX-202x/bin/python"
user
:
"
exampleX-202x"
KWARGS
:
grader_root
:
"
../data/exampleX-202x/graders/"
XQWATCHER_GIT_IDENTITY
:
!!null
XQWATCHER_GIT_IDENTITY
:
!!null
XQWATCHER_VERSION
:
"
master"
XQWATCHER_VERSION
:
"
master"
...
...
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