Switch testing to Zed testing runtime

Updating the testing template to Zed testing runtime [1].
Let's also run wallaby, xena and yoga jobs instead of rocky,
stein and train ones.

[1] https://governance.openstack.org/tc/reference/runtimes/zed.html

Change-Id: Id7365c4ac0208b21ab1ae045668364d0cee52981
This commit is contained in:
Martin Kopec 2022-05-04 16:23:26 +02:00 committed by Adrian Fusco Arnejo
parent 28d8b54fe9
commit 2e63a0e68e
2 changed files with 18 additions and 30 deletions

View File

@ -1,43 +1,25 @@
- job:
name: stackviz-nodejs10-run-lint
name: stackviz-nodejs16-run-lint
parent: nodejs-run-lint
description: |
Run lint using Node 10.
Run lint using Node 16.
vars:
node_version: 10
node_version: 16
nodeset: ubuntu-focal
pre-run: playbooks/nodejs/pre.yaml
required-projects:
- openstack/stackviz
- job:
name: stackviz-nodejs10-run-test-browser
name: stackviz-nodejs16-run-test-browser
parent: nodejs-run-test-browser
vars:
node_version: 10
node_version: 16
nodeset: ubuntu-focal
pre-run: playbooks/nodejs/pre.yaml
required-projects:
- openstack/stackviz
- job:
name: tempest-full-rocky
parent: tempest-full-py3
nodeset: openstack-single-node-xenial
override-checkout: stable/rocky
- job:
name: tempest-full-stein
parent: tempest-full-py3
nodeset: openstack-single-node-bionic
override-checkout: stable/stein
- job:
name: tempest-full-train
parent: tempest-full-py3
nodeset: openstack-single-node-bionic
override-checkout: stable/train
- project:
templates:
- publish-openstack-docs-pti
@ -51,8 +33,8 @@
- openstack-tox-py39
- openstack-tox-py310:
voting: false
- stackviz-nodejs10-run-lint
- stackviz-nodejs10-run-test-browser
- stackviz-nodejs16-run-lint
- stackviz-nodejs16-run-test-browser
- tempest-full-py3:
irrelevant-files: &irrelevant-files
- ^.*\.rst$
@ -62,11 +44,11 @@
- ^.coveragerc$
- ^.gitignore$
- ^.gitreview$
- tempest-full-train:
- tempest-full-wallaby-py3:
irrelevant-files: *irrelevant-files
- tempest-full-stein:
- tempest-full-xena:
irrelevant-files: *irrelevant-files
- tempest-full-rocky:
- tempest-full-yoga:
irrelevant-files: *irrelevant-files
gate:
jobs:
@ -76,8 +58,8 @@
- openstack-tox-py37
- openstack-tox-py38
- openstack-tox-py39
- stackviz-nodejs10-run-lint
- stackviz-nodejs10-run-test-browser
- stackviz-nodejs16-run-lint
- stackviz-nodejs16-run-test-browser
post:
jobs:

View File

@ -6,6 +6,8 @@
"repository": "none",
"license": "Apache 2.0",
"devDependencies": {
"node-gyp": "9.1.0",
"node-sass": "7.0.1",
"angular": "1.5.2",
"angular-fontawesome": "0.4.0",
"angular-mocks": "1.5.2",
@ -69,6 +71,10 @@
"vinyl-source-stream": "1.1.0",
"watchify": "3.7.0"
},
"overrides": {
"node-gyp": "$node-gyp",
"node-sass": "$node-sass"
},
"scripts": {
"postinstall": "if [ ! -d .venv ]; then tox -epy38 --notest; fi",
"test": "gulp unit",