horizon/playbooks/horizon-nodejs
Andreas Jaeger 7da8c27ae5
Fix horizon-nodejs 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.

Note for the reviewer in stable/stein we run nodejs-4 jobs as runtime.
I have cherry-pick this change from master which run nodejs-10 job
but simliar changes fixes the nodejs-4 jobs So I have added pre-run
playbook for nodejs-4 job as well.

Note in stable/rocky: We used nodejs4-jobs from openstack-zuul-jobs
which consumes npm jobs from zuul-jobs. We would like to install tox
in the 'pre-run' phase in each npm job, so this commit borrows the
npm job definitions in stable/stein including the cherry-picked commit.

Conflicts:
	.zuul.yaml
Resolved automatically.

Change-Id: Icf82fa96f7d90453f78cf564c847682a286ed575
(cherry picked from commit 7cd0debebe)
(cherry picked from commit 8da0dcd212)
(cherry picked from commit 8f8ed62408)
(cherry picked from commit 301c34b911)
2020-12-18 20:46:50 +01:00
..
pre.yaml Fix horizon-nodejs jobs 2020-12-18 20:46:50 +01:00