zuul-jobs/zuul-tests.d/js-roles-jobs.yaml
Clark Boylan 210ea49c10 Add support for nodejs testing on Debian
This updates the nodejs-test-dependencies role to install packages on
Debian as well as Ubuntu. The main driver for this is Ubuntu Jammy has
updated firefox to run out of a snap and getting selenium to operate in
that environment has been difficult. It is theoretically possible, but
rather than force users to sort it out offer Debian as an alternative.

Change-Id: I51cc95046520597a02c307c5d368f492933ed263
2022-11-29 16:28:36 +00:00

122 lines
3.7 KiB
YAML

- job:
name: zuul-jobs-test-ensure-nodejs
description: Test the ensure-nodejs role
files:
- roles/ensure-nodejs/.*
- roles/ensure-package-repositories/.*
run: test-playbooks/simple-role-test.yaml
vars:
role_name: ensure-nodejs
- job:
name: zuul-jobs-test-ensure-yarn
description: Test the ensure-yarn role
files:
- roles/ensure-yarn/.*
- roles/ensure-nodejs/.*
- roles/ensure-package-repositories/.*
run: test-playbooks/simple-role-test.yaml
vars:
role_name: ensure-yarn
- job:
name: zuul-jobs-test-fetch-javascript-tarball
description: Test the fetch-javascript-tarball
files:
- roles/fetch-javascript-tarball/.*
- roles/fetch-output/.*
run: test-playbooks/javascripts/fetch-javascript-tarball.yaml
vars:
zuul_use_fetch_output: true
- job:
name: zuul-jobs-test-fetch-javascript-tarball-synchronize
description: Test the fetch-javascript-tarball without fetch-output
files:
- roles/fetch-javascript-tarball/.*
run: test-playbooks/javascripts/fetch-javascript-tarball.yaml
vars:
zuul_use_fetch_output: false
- job:
name: zuul-jobs-test-nodejs-test-dependencies
description: Test the installation of nodejs test dependencies
tags: debuntu-platforms
files:
- roles/nodejs-test-dependencies/.*
run: test-playbooks/simple-role-test.yaml
vars:
role_name: nodejs-test-dependencies
# -* AUTOGENERATED *-
# The following project section is autogenerated by
# tox -e update-test-platforms
# Please re-run to generate new job lists
- job:
name: zuul-jobs-test-nodejs-test-dependencies-debian-bullseye
description: Test the installation of nodejs test dependencies on debian-bullseye
parent: zuul-jobs-test-nodejs-test-dependencies
tags: auto-generated
nodeset:
nodes:
- name: debian-bullseye
label: debian-bullseye
- job:
name: zuul-jobs-test-nodejs-test-dependencies-debian-buster
description: Test the installation of nodejs test dependencies on debian-buster
parent: zuul-jobs-test-nodejs-test-dependencies
tags: auto-generated
nodeset:
nodes:
- name: debian-buster
label: debian-buster
- job:
name: zuul-jobs-test-nodejs-test-dependencies-ubuntu-bionic
description: Test the installation of nodejs test dependencies on ubuntu-bionic
parent: zuul-jobs-test-nodejs-test-dependencies
tags: auto-generated
nodeset:
nodes:
- name: ubuntu-bionic
label: ubuntu-bionic
- job:
name: zuul-jobs-test-nodejs-test-dependencies-ubuntu-focal
description: Test the installation of nodejs test dependencies on ubuntu-focal
parent: zuul-jobs-test-nodejs-test-dependencies
tags: auto-generated
nodeset:
nodes:
- name: ubuntu-focal
label: ubuntu-focal
- job:
name: zuul-jobs-test-nodejs-test-dependencies-ubuntu-jammy
description: Test the installation of nodejs test dependencies on ubuntu-jammy
parent: zuul-jobs-test-nodejs-test-dependencies
tags: auto-generated
nodeset:
nodes:
- name: ubuntu-jammy
label: ubuntu-jammy
- project:
check:
jobs: &id001
- zuul-jobs-test-ensure-nodejs
- zuul-jobs-test-ensure-yarn
- zuul-jobs-test-fetch-javascript-tarball
- zuul-jobs-test-fetch-javascript-tarball-synchronize
- zuul-jobs-test-nodejs-test-dependencies-debian-bullseye
- zuul-jobs-test-nodejs-test-dependencies-debian-buster
- zuul-jobs-test-nodejs-test-dependencies-ubuntu-bionic
- zuul-jobs-test-nodejs-test-dependencies-ubuntu-focal
- zuul-jobs-test-nodejs-test-dependencies-ubuntu-jammy
gate:
jobs: *id001
periodic-weekly:
jobs: *id001