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 9 months ago
parent
commit
83187ce009
2 changed files with 7 additions and 0 deletions
  1. +1
    -0
      .zuul.d/cross-jobs.yaml
  2. +6
    -0
      playbooks/cross-jobs/phantomjs-deps.yaml

+ 1
- 0
.zuul.d/cross-jobs.yaml 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:


+ 6
- 0
playbooks/cross-jobs/phantomjs-deps.yaml View File

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

Loading…
Cancel
Save