As per victoria cycle testing runtime and community goal
we need to migrate upstream CI/CD to Ubuntu Focal(20.04)
and Node.js 10.
Tox is not anymore pre-installed on the OpenDev CI images.
The file package.json needs tox, install it to fix the nodejs-job.
Install it via a pre-run playbook so that this is run in addition to all
of the playbooks of the parent.
This patch also update python version to py38 in package.json
as py36 is not available on focal.
Note: Before this patch We used nodejs8-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 patch also defines
npm job defination here.
Co-Author: manchandavishal <email@example.com>