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:
Akihiro Motoki 2020-09-10 15:05:25 +09:00
parent 2423bd0b04
commit 83187ce009
2 changed files with 7 additions and 0 deletions

View File

@ -20,6 +20,7 @@
- job:
name: horizon-cross-ironic-ui-npm
parent: horizon-nodejs10-run-test
pre-run: playbooks/cross-jobs/phantomjs-deps.yaml
vars:
zuul_work_dir: "{{ zuul.projects['opendev.org/openstack/ironic-ui'].src_dir }}"
required-projects:

View File

@ -0,0 +1,6 @@
- hosts: all
tasks:
- name: Install libfontconfig
apt:
name: libfontconfig1
become: yes