Commit bc1855f0 by Jesse Zoldak

We no longer user browsermob which we solely used for sitespeed

parent c855fbcf
...@@ -26,5 +26,4 @@ ...@@ -26,5 +26,4 @@
- memcache - memcache
- mongo_3_2 - mongo_3_2
- browsers - browsers
- browsermob-proxy
- jenkins_worker - jenkins_worker
# browsermob-proxy
browsermob_proxy_version: '2.0.0'
browsermob_proxy_url: 'https://github.com/lightbody/browsermob-proxy/releases/download/browsermob-proxy-{{ browsermob_proxy_version }}/browsermob-proxy-{{ browsermob_proxy_version }}-bin.zip'
#!/bin/sh
/etc/browsermob-proxy/bin/browsermob-proxy $*
# 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"
args:
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
...@@ -53,8 +53,6 @@ jenkins_common_main_quiet_period: 5 ...@@ -53,8 +53,6 @@ jenkins_common_main_quiet_period: 5
jenkins_common_main_scm_retry: 2 jenkins_common_main_scm_retry: 2
jenkins_common_main_disable_remember: true jenkins_common_main_disable_remember: true
jenkins_common_main_env_vars: jenkins_common_main_env_vars:
- NAME: 'BROWSERMOB_PROXY_PORT'
VALUE: '9090'
- NAME: 'GITHUB_OWNER_WHITELIST' - NAME: 'GITHUB_OWNER_WHITELIST'
VALUE: '{{ JENKINS_MAIN_GITHUB_OWNER_WHITELIST }}' VALUE: '{{ JENKINS_MAIN_GITHUB_OWNER_WHITELIST }}'
jenkins_common_main_executable: '/bin/bash' jenkins_common_main_executable: '/bin/bash'
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
# The following two are added, relative to devstack # The following two are added, relative to devstack
- analytics_api - analytics_api
- insights - insights
# Leaving out browsers and browsermob-proxy, relative to devstack. # Leaving out browsers, relative to devstack.
- local_dev - local_dev
- demo - demo
- analytics_pipeline - analytics_pipeline
......
...@@ -42,7 +42,6 @@ ...@@ -42,7 +42,6 @@
- role: notifier - role: notifier
NOTIFIER_DIGEST_TASK_INTERVAL: "5" NOTIFIER_DIGEST_TASK_INTERVAL: "5"
- browsers - browsers
- browsermob-proxy
- local_dev - local_dev
- demo - demo
- oauth_client_setup - oauth_client_setup
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment