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
d0c334be
Commit
d0c334be
authored
Aug 06, 2014
by
clytwynec
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1360 from edx/clytwynec/browsermob-proxy-installation
browsermob-proxy role added
parents
4b17de53
de8926a8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
42 additions
and
0 deletions
+42
-0
playbooks/roles/browsermob-proxy/defaults/main.yml
+3
-0
playbooks/roles/browsermob-proxy/files/browsermob-proxy
+2
-0
playbooks/roles/browsermob-proxy/tasks/main.yml
+36
-0
playbooks/vagrant-devstack.yml
+1
-0
No files found.
playbooks/roles/browsermob-proxy/defaults/main.yml
0 → 100644
View file @
d0c334be
# browsermob-proxy
browsermob_proxy_version
:
'
2.0-beta-9'
browsermob_proxy_url
:
'
https://s3-us-west-1.amazonaws.com/lightbody-bmp/browsermob-proxy-{{
browsermob_proxy_version
}}-bin.zip'
playbooks/roles/browsermob-proxy/files/browsermob-proxy
0 → 100644
View file @
d0c334be
#!/bin/sh
/etc/browsermob-proxy/bin/browsermob-proxy
playbooks/roles/browsermob-proxy/tasks/main.yml
0 → 100644
View file @
d0c334be
# Install browsermob-proxy, which is used for page performance testing with bok-choy
---
-
name
:
get zip file
get_url
:
>
url={{ browsermob_proxy_url }}
dest=/var/tmp/browsermob-proxy-{{ browsermob_proxy_version }}.zip
register
:
download_browsermob_proxy
-
name
:
unzip into /var/tmp/
shell
:
>
unzip /var/tmp/browsermob-proxy-{{ browsermob_proxy_version }}.zip
chdir=/var/tmp
when
:
download_browsermob_proxy.changed
-
name
:
move to /etc/browsermob-proxy/
shell
:
>
mv /var/tmp/browsermob-proxy-{{ browsermob_proxy_version }} /etc/browsermob-proxy
when
:
download_browsermob_proxy.changed
-
name
:
change permissions of main script
file
:
>
path=/etc/browsermob-proxy/bin/browsermob-proxy
mode=0755
when
:
download_browsermob_proxy.changed
-
name
:
add wrapper script /usr/local/bin/browsermob-proxy
copy
:
>
src=browsermob-proxy
dest=/usr/local/bin/browsermob-proxy
when
:
download_browsermob_proxy.changed
-
name
:
change permissions of wrapper script
file
:
>
path=/usr/local/bin/browsermob-proxy
mode=0755
when
:
download_browsermob_proxy.changed
playbooks/vagrant-devstack.yml
View file @
d0c334be
...
...
@@ -24,6 +24,7 @@
-
forum
-
ora
-
browsers
-
browsermob-proxy
-
local_dev
-
demo
-
role
:
analytics-api
...
...
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