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
a095634e
Commit
a095634e
authored
Jan 20, 2015
by
Ben Patterson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add JS Cover for both local dev and jenkins_worker.
parent
890dcdee
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
25 additions
and
7 deletions
+25
-7
playbooks/roles/jenkins_worker/defaults/main.yml
+0
-4
playbooks/roles/jenkins_worker/meta/main.yml
+1
-0
playbooks/roles/jenkins_worker/tasks/java.yml
+3
-0
playbooks/roles/jenkins_worker/tasks/main.yml
+1
-1
playbooks/roles/jscover/defaults/main.yml
+11
-0
playbooks/roles/jscover/tasks/main.yml
+1
-2
playbooks/roles/local_dev/defaults/main.yml
+2
-0
playbooks/roles/local_dev/meta/main.yml
+4
-0
playbooks/roles/local_dev/templates/app_bashrc.j2
+2
-0
No files found.
playbooks/roles/jenkins_worker/defaults/main.yml
View file @
a095634e
...
...
@@ -15,10 +15,6 @@ jenkins_debian_pkgs:
jenkins_rbenv_root
:
"
{{
jenkins_home
}}/.rbenv"
jenkins_ruby_version
:
"
1.9.3-p374"
# JSCover direct download URL
jscover_url
:
"
http://files.edx.org/testeng/JSCover-1.0.2.zip"
jscover_version
:
"
1.0.2"
# packer direct download URL
packer_url
:
"
https://dl.bintray.com/mitchellh/packer/0.6.1_linux_amd64.zip"
...
...
playbooks/roles/jenkins_worker/meta/main.yml
View file @
a095634e
---
dependencies
:
-
common
-
jscover
-
role
:
rbenv
rbenv_user
:
"
{{
jenkins_user
}}"
rbenv_dir
:
"
{{
jenkins_home
}}"
...
...
playbooks/roles/jenkins_worker/tasks/java.yml
0 → 100644
View file @
a095634e
---
-
name
:
Install Java
apt
:
pkg=openjdk-7-jre-headless state=present
playbooks/roles/jenkins_worker/tasks/main.yml
View file @
a095634e
...
...
@@ -12,5 +12,5 @@
-
include
:
system.yml
-
include
:
python.yml
-
include
:
ruby.yml
-
include
:
j
scover
.yml
-
include
:
j
ava
.yml
-
include
:
test.yml
playbooks/roles/jscover/defaults/main.yml
0 → 100644
View file @
a095634e
---
# Installs JSCover jar.
# Java is a pre-requisite for JSCover. This role is not responsible
# for installing Java.
#
jscover_role_name
:
jscover
# JSCover direct download URL
jscover_url
:
"
http://files.edx.org/testeng/JSCover-1.0.2.zip"
jscover_version
:
"
1.0.2"
playbooks/roles/j
enkins_worker/tasks/jscover
.yml
→
playbooks/roles/j
scover/tasks/main
.yml
View file @
a095634e
---
-
name
:
Install Java
apt
:
pkg=openjdk-7-jre-headless state=present
-
name
:
Download JSCover
get_url
:
url={{ jscover_url }} dest=/var/tmp/jscover.zip
...
...
@@ -16,3 +14,4 @@
-
name
:
Set JSCover permissions
file
:
path="/usr/local/bin/JSCover-all-{{ jscover_version }}.jar" state=file
owner=root group=root mode=0755
playbooks/roles/local_dev/defaults/main.yml
View file @
a095634e
...
...
@@ -25,3 +25,5 @@ local_dev_pkgs:
-
emacs
-
xorg
-
openbox
localdev_jscover_version
:
"
1.0.2"
playbooks/roles/local_dev/meta/main.yml
0 → 100644
View file @
a095634e
---
dependencies
:
-
role
:
jscover
jscover_version
:
"
{{
localdev_jscover_version
}}"
playbooks/roles/local_dev/templates/app_bashrc.j2
View file @
a095634e
...
...
@@ -31,3 +31,5 @@ fi
cd
"{{ item.home }}/{{ item.repo }}"
source
"{{ item.home }}/.paver_autocomplete"
export
JSCOVER_JAR
=
"/usr/local/bin/JSCover-all-{{ localdev_jscover_version }}.jar"
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