zuul-jobs/roles/nodejs-test-dependencies/tasks/main.yaml
manchandavishal 77833088f2 Add Firefox browser role for horizon nodejs job
This patch adds Firefox browser role in
``roles/nodejs-test-dependencies/tasks/main.yaml`` so that horizon
nodejs jobs can run with Firefox browser because as of now horizon
nodejs jobs fail with chromium-browser due to not able to access
some URL. So it is better to run these jobs with Firefox to unblock
the gate then we can investigate further how to fix it with chromium
browser.

Change-Id: I4063d88a7dfe30bef7cbbbfbbc1ac9790686ca8b
2020-12-14 04:43:28 +00:00

18 lines
332 B
YAML

- name: Install chromium-brower
apt:
name: chromium-browser
become: true
- name: Install firefox
apt:
name: firefox
become: true
- name: Install xvfb
apt:
name: xvfb
become: true
- name: Run Xvfb
shell: "/usr/bin/Xvfb :99 -screen 0 '1280x1024x24' -ac +extension GLX +render -noreset 2>&1 > /dev/null &"