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/45/737445/1
Andreas Jaeger 3 weeks ago
committed by manchandavishal
parent
commit
d83d58af1e
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

@@ -118,6 +118,7 @@
vars:
node_version: 10
nodeset: ubuntu-bionic
pre-run: playbooks/horizon-nodejs/pre.yaml
required-projects:
openstack/horizon

@@ -128,6 +129,7 @@
Run test using Node 10 for horizon plugins.
vars:
node_version: 10
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