Fix ironic-ui cross job
ironic-ui npm job uses phantomjs which requires libfontconfig1. libfontconfig1 is installed via bindep.txt in ironic-ui [1], but in case of horizon it is not a direct dependency of horizon. To handle the situation, this commit adds a playbook to install libfontconfig1 and use it in horizon-cross-ironic-ui-npm job only instead of adding libfontconfig1 to horizon bindep.txt. [1] https://review.opendev.org/#/c/744708/ Change-Id: I525ab42d1d5a16b982f6afdfae0b6544a6c7a057
This commit is contained in:
parent
2423bd0b04
commit
83187ce009
@ -20,6 +20,7 @@
|
|||||||
- job:
|
- job:
|
||||||
name: horizon-cross-ironic-ui-npm
|
name: horizon-cross-ironic-ui-npm
|
||||||
parent: horizon-nodejs10-run-test
|
parent: horizon-nodejs10-run-test
|
||||||
|
pre-run: playbooks/cross-jobs/phantomjs-deps.yaml
|
||||||
vars:
|
vars:
|
||||||
zuul_work_dir: "{{ zuul.projects['opendev.org/openstack/ironic-ui'].src_dir }}"
|
zuul_work_dir: "{{ zuul.projects['opendev.org/openstack/ironic-ui'].src_dir }}"
|
||||||
required-projects:
|
required-projects:
|
||||||
|
6
playbooks/cross-jobs/phantomjs-deps.yaml
Normal file
6
playbooks/cross-jobs/phantomjs-deps.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
- hosts: all
|
||||||
|
tasks:
|
||||||
|
- name: Install libfontconfig
|
||||||
|
apt:
|
||||||
|
name: libfontconfig1
|
||||||
|
become: yes
|
Loading…
Reference in New Issue
Block a user