Browse Source

Fix horizon-nodejs10-run jobs

Tox is not anymore pre-installed on the OpenDev CI images.
The file package.json needs tox, install it to fix the job.

Install it via a pre-run playbook so that this is run in addition to all
of the playbooks of the parent.

Change-Id: Icf82fa96f7d90453f78cf564c847682a286ed575
(cherry picked from commit 7cd0debebe)
changes/13/737113/1
Andreas Jaeger 2 weeks ago
committed by Vishal Manchanda
parent
commit
1f5178d083
2 changed files with 8 additions and 0 deletions
  1. +2
    -0
      .zuul.yaml
  2. +6
    -0
      playbooks/horizon-nodejs/pre.yaml

+ 2
- 0
.zuul.yaml View File

@@ -137,6 +137,7 @@
node_version: 10
tox_constraints_file: "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/requirements'].src_dir }}/upper-constraints.txt"
nodeset: ubuntu-bionic
pre-run: playbooks/horizon-nodejs/pre.yaml
required-projects:
- openstack/horizon
- openstack/requirements
@@ -149,6 +150,7 @@
vars:
node_version: 10
tox_constraints_file: "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/requirements'].src_dir }}/upper-constraints.txt"
pre-run: playbooks/horizon-nodejs/pre.yaml
nodeset: ubuntu-bionic
required-projects:
- openstack/horizon


+ 6
- 0
playbooks/horizon-nodejs/pre.yaml View File

@@ -0,0 +1,6 @@
- hosts: all
roles:
# package.json needs to run 'tox' as command, ensure that it's
# installed and can be used globally.
- role: ensure-tox
ensure_global_symlinks: True

Loading…
Cancel
Save