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
4f26c25b
Commit
4f26c25b
authored
11 years ago
by
lapentab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move variables, rename variables.
parent
5d268598
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
32 additions
and
31 deletions
+32
-31
playbooks/roles/edxlocal/tasks/main.yml
+3
-3
playbooks/roles/jenkins/tasks/browsers.yml
+5
-5
playbooks/roles/jenkins/tasks/jenkins.yml
+3
-0
playbooks/roles/jenkins/vars/main.yml
+21
-23
No files found.
playbooks/roles/edxlocal/tasks/main.yml
View file @
4f26c25b
...
...
@@ -70,5 +70,5 @@
password=password
state=present
-
name
:
edxlocal | install edxlocal specific system packages
apt
:
pkg={{','.join(edxlocal_debian_pkgs)}} state=present
\ No newline at end of file
-
name
:
edxlocal | install memcached
apt
:
pkg=memcached state=present
\ No newline at end of file
This diff is collapsed.
Click to expand it.
playbooks/roles/jenkins/tasks/browsers.yml
View file @
4f26c25b
...
...
@@ -3,15 +3,15 @@
apt
:
pkg=firefox
-
name
:
Download PhantomJS
get_url
:
url={{ phantomjs_url }}
dest=/var/tmp/{{ phantomjs_archive }}
get_url
:
url={{
jenkins_
phantomjs_url }}
dest=/var/tmp/{{
jenkins_
phantomjs_archive }}
-
name
:
Untar PhantomJS
command
:
tar -xjf /var/tmp/{{ phantomjs_archive }} -C /var/tmp/
creates=/var/tmp/{{ phantomjs_folder }}
command
:
tar -xjf /var/tmp/{{
jenkins_
phantomjs_archive }} -C /var/tmp/
creates=/var/tmp/{{
jenkins_
phantomjs_folder }}
-
name
:
Install PhantomJS
command
:
mv /var/tmp/{{ phantomjs_folder }} /usr/local/bin/phantomjs
command
:
mv /var/tmp/{{
jenkins_
phantomjs_folder }} /usr/local/bin/phantomjs
creates=/usr/local/bin/phantomjs
-
name
:
Set PhantomJS permissions
...
...
This diff is collapsed.
Click to expand it.
playbooks/roles/jenkins/tasks/jenkins.yml
View file @
4f26c25b
...
...
@@ -2,6 +2,9 @@
-
name
:
Add the jenkins user to the edx group
user
:
name=jenkins append=yes groups="edx"
-
name
:
edxlocal | install jenkins specific system packages
apt
:
pkg={{','.join(jenkins_debian_pkgs)}} state=present
-
name
:
Install gcli
sudo_user
:
jenkins
shell
:
/home/jenkins/.rbenv/bin/rbenv exec gem install github_cli
...
...
This diff is collapsed.
Click to expand it.
playbooks/roles/jenkins/vars/main.yml
View file @
4f26c25b
---
jenkins_home
:
/var/lib/jenkins
phantomjs_url
:
https://phantomjs.googlecode.com/files/phantomjs-1.9.1-linux-x86_64.tar.bz2
phantomjs_archive
:
phantomjs-1.9.1-linux-x86_64.tar.bz2
phantomjs_folder
:
phantomjs-1.9.1-linux-x86_64
jenkins_
phantomjs_url
:
https://phantomjs.googlecode.com/files/phantomjs-1.9.1-linux-x86_64.tar.bz2
jenkins_
phantomjs_archive
:
phantomjs-1.9.1-linux-x86_64.tar.bz2
jenkins_
phantomjs_folder
:
phantomjs-1.9.1-linux-x86_64
jenkins_user
:
"
jenkins"
jenkins_user_home
:
/home/jenkins
jenkins_ruby_version
:
"
1.9.3-p374"
edxlocal_debian_pkgs
:
[
"
memcached"
,
"
ruby-bundler"
,
"
rubygems"
,
"
rbenv"
,
"
npm"
,
"
libgraphviz-dev"
,
"
gfortran"
,
"
libopenblas-dev"
,
"
liblapack-dev"
,
"
libxml2-dev"
,
"
libgeos-dev"
,
"
python-dev"
,
"
libmysqlclient-dev"
,
"
build-essential"
,
"
pkg-config"
,
"
libxslt1-dev"
,
"
rake"
]
ruby_version
:
1.9.3-p374
jenkins_ruby_version
:
"
1.9.3-p448"
jenkins_debian_pkgs
:
-
ruby-bundler
-
rubygems
-
rbenv
-
npm
-
libgraphviz-dev
-
gfortran
-
libopenblas-dev
-
liblapack-dev
-
libxml2-dev
-
libgeos-dev
-
python-dev
-
libmysqlclient-dev
-
build-essential
-
pkg-config
-
libxslt1-dev
-
rake
jenkins_plugins
:
-
ant.hpi
-
backup.hpi
...
...
This diff is collapsed.
Click to expand it.
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