Update node to v14 and update to new jobs

v14 is the latest lts. Let's use it.

Also - rename the jobs to make it clear what they're doing, and
add a dashboard job that points at opendev's multi-tenat api too.

There are new jobs that default to latest node LTS and auto-detect
yarn vs npm. Update to use them.

Depends-On: https://review.opendev.org/728097
Depends-On: https://review.opendev.org/726547
Change-Id: I5717edea2cd09acc5bce673c38bbe7fa8057a376
This commit is contained in:
Monty Taylor
2020-05-09 13:27:30 -05:00
parent 931eac4030
commit 349991c568
3 changed files with 30 additions and 32 deletions

View File

@@ -22,9 +22,8 @@ if [[ ! $(command -v yarn) ]]
then
pip install nodeenv
# Initialize nodeenv and tell it to re-use the currently active virtualenv
# TODO(jeblair): remove node version pin. upath 1.0.4 objects to node >9.
attempts=0
until nodeenv --python-virtualenv -n 10.16.0; do
until nodeenv --python-virtualenv -n 14.3.0 ; do
((attempts++))
if [[ $attempts > 2 ]]
then