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
a709a332
Commit
a709a332
authored
Jul 18, 2014
by
David Pollack
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added chris-lea repo and changed all npm references to nodejs
parent
0965ee7c
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
25 additions
and
11 deletions
+25
-11
.travis.yml
+1
-1
playbooks/roles/edxapp/defaults/main.yml
+3
-2
playbooks/roles/edxapp/tasks/main.yml
+5
-1
playbooks/roles/jenkins_admin/defaults/main.yml
+3
-2
playbooks/roles/jenkins_admin/tasks/main.yml
+5
-2
playbooks/roles/jenkins_worker/defaults/main.yml
+4
-1
playbooks/roles/jenkins_worker/tasks/system.yml
+4
-0
playbooks/roles/xqueue/defaults/main.yml
+0
-2
No files found.
.travis.yml
View file @
a709a332
...
...
@@ -3,7 +3,7 @@ language: python
python
:
-
"
2.7"
install
:
-
"
sudo
apt-get
install
-y
n
pm
python-demjson"
-
"
sudo
apt-get
install
-y
n
odejs
python-demjson"
-
"
pip
install
--allow-all-external
-r
requirements.txt"
-
"
pip
install
--allow-all-external
demjson"
script
:
...
...
playbooks/roles/edxapp/defaults/main.yml
View file @
a709a332
...
...
@@ -634,8 +634,9 @@ sandbox_base_requirements: "{{ edxapp_code_dir }}/requirements/edx-sandbox/base
sandbox_local_requirements
:
"
{{
edxapp_code_dir
}}/requirements/edx-sandbox/local.txt"
sandbox_post_requirements
:
"
{{
edxapp_code_dir
}}/requirements/edx-sandbox/post.txt"
edxapp_chrislea_ppa
:
"
ppa:chris-lea/node.js"
edxapp_debian_pkgs
:
-
npm
# for compiling the virtualenv
# (only needed if wheel files aren't available)
-
build-essential
...
...
@@ -657,7 +658,7 @@ edxapp_debian_pkgs:
# misc
-
curl
-
ipython
-
n
pm
-
n
odejs
-
ntp
# for shapely
-
libgeos-dev
...
...
playbooks/roles/edxapp/tasks/main.yml
View file @
a709a332
...
...
@@ -47,8 +47,12 @@
-
"
{{
edxapp_course_data_dir
}}"
-
"
{{
edxapp_upload_dir
}}"
# adding chris-lea nodejs repo
-
name
:
add ppas for current versions of nodejs
apt_repository
:
repo="{{ edxapp_chrislea_ppa }}"
-
name
:
install system packages on which LMS and CMS rely
apt
:
pkg={{','.join(edxapp_debian_pkgs)}} state=present
apt
:
pkg={{','.join(edxapp_debian_pkgs)}} state=present
update_cache=yes
notify
:
-
"
restart
edxapp"
-
"
restart
edxapp_workers"
...
...
playbooks/roles/jenkins_admin/defaults/main.yml
View file @
a709a332
...
...
@@ -27,6 +27,8 @@ JENKINS_ADMIN_AWS_CREDENTIALS: !!null
jenkins_admin_role_name
:
jenkins_admin
# repo for nodejs
jenkins_chrislea_ppa
:
"
ppa:chris-lea/node.js"
#
# OS packages
#
...
...
@@ -38,7 +40,6 @@ jenkins_admin_debian_pkgs:
# These are copied from the edxapp
# role so that we can create virtualenvs
# on the jenkins server for edxapp
-
npm
# for compiling the virtualenv
# (only needed if wheel files aren't available)
-
build-essential
...
...
@@ -61,7 +62,7 @@ jenkins_admin_debian_pkgs:
# misc
-
curl
-
ipython
-
n
pm
-
n
odejs
-
ntp
# for shapely
-
libgeos-dev
...
...
playbooks/roles/jenkins_admin/tasks/main.yml
View file @
a709a332
...
...
@@ -112,9 +112,12 @@
mode=0644
with_items
:
jenkins_admin_jobs
# adding chris-lea nodejs repo
-
name
:
add ppas for current versions of nodejs
apt_repository
:
repo="{{ jenkins_chrislea_ppa }}"
-
name
:
install system packages for edxapp virtualenvs
apt
:
pkg={{ item }} state=present
with_items
:
jenkins_admin_debian_pkgs
apt
:
pkg={{','.join(jenkins_admin_debian_pkgs)}} state=present update_cache=yes
# This is necessary so that ansible can run with
# sudo set to True (as the jenkins user) on jenkins
...
...
playbooks/roles/jenkins_worker/defaults/main.yml
View file @
a709a332
...
...
@@ -3,6 +3,9 @@ jenkins_user: "jenkins"
jenkins_group
:
"
jenkins"
jenkins_home
:
/home/jenkins
# repo for nodejs
jenkins_chrislea_ppa
:
"
ppa:chris-lea/node.js"
# System packages
jenkins_debian_pkgs
:
-
build-essential
...
...
@@ -15,7 +18,7 @@ jenkins_debian_pkgs:
-
libxml2-dev
-
libgeos-dev
-
libxslt1-dev
-
n
pm
-
n
odejs
-
pkg-config
-
gettext
...
...
playbooks/roles/jenkins_worker/tasks/system.yml
View file @
a709a332
...
...
@@ -26,6 +26,10 @@
owner={{ jenkins_user }} group={{ jenkins_group }} mode=400
ignore_errors
:
yes
# adding chris-lea nodejs repo
-
name
:
add ppas for current versions of nodejs
apt_repository
:
repo="{{ jenkins_chrislea_ppa }}"
-
name
:
Install system packages
apt
:
pkg={{','.join(jenkins_debian_pkgs)}}
state=present update_cache=yes
...
...
playbooks/roles/xqueue/defaults/main.yml
View file @
a709a332
...
...
@@ -84,7 +84,6 @@ xqueue_version: 'HEAD'
xqueue_pre_requirements_file
:
"
{{
xqueue_code_dir
}}/pre-requirements.txt"
xqueue_post_requirements_file
:
"
{{
xqueue_code_dir
}}/requirements.txt"
# These packages are required for the xqueue server,
# copied from the LMS role for now since there is a lot
# of overlap
...
...
@@ -102,7 +101,6 @@ xqueue_debian_pkgs:
# misc
-
curl
-
ipython
-
npm
-
ntp
# for shapely
-
libgeos-dev
...
...
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