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
)
This commit is contained in:
parent
fa839516e5
commit
d83d58af1e
|
@ -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
|
||||
|
|
|
@ -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…
Reference in New Issue