Browse Source

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
changes/74/750874/2
Akihiro Motoki 1 year ago
parent
commit
83187ce009
  1. 1
      .zuul.d/cross-jobs.yaml
  2. 6
      playbooks/cross-jobs/phantomjs-deps.yaml

1
.zuul.d/cross-jobs.yaml

@ -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:

6
playbooks/cross-jobs/phantomjs-deps.yaml

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