horizon/.zuul.d/nodejs-jobs.yaml
manchandavishal c28b9b9bc3 [goal] Migrate testing to ubuntu focal
As per victoria cycle testing runtime and community goal[1]
we need to migrate upstream CI/CD to Ubuntu Focal(20.04).

Fixing:
Closes-Bug: #1886298
Bump the lower constraints for required deps which added python3.8
support in their later version.
Story: #2007865
Task: #40187

[1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal

Change-Id: I81c150a9abc53242dfefd18c6c0ebc20c0484073
2020-09-01 15:37:23 +00:00

52 lines
1.5 KiB
YAML

- job:
name: horizon-nodejs10-run-lint
parent: nodejs-run-lint
description: |
Run lint using Node 10 for horizon plugins.
vars:
node_version: 10
tox_constraints_file: "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/requirements'].src_dir }}/upper-constraints.txt"
nodeset: ubuntu-focal
pre-run: playbooks/horizon-nodejs/pre.yaml
required-projects:
- openstack/horizon
- openstack/requirements
- job:
name: horizon-nodejs10-run-test
parent: nodejs-run-test-browser
description: |
Run test using Node 10 for horizon plugins.
vars:
node_version: 10
tox_constraints_file: "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/requirements'].src_dir }}/upper-constraints.txt"
pre-run: playbooks/horizon-nodejs/pre.yaml
nodeset: ubuntu-focal
required-projects:
- openstack/horizon
- openstack/requirements
- project-template:
name: horizon-nodejs10-jobs
description: |
Run lint and test jobs using Node 10 (LTS) for horizon plugins.
check:
jobs:
- horizon-nodejs10-run-lint
- horizon-nodejs10-run-test
gate:
jobs:
- horizon-nodejs10-run-lint
- horizon-nodejs10-run-test
- project-template:
name: horizon-nodejs10-jobs-nonvoting
description: |
Run lint and test jobs using Node 10 (LTS) for horizon plugins.
check:
jobs:
- horizon-nodejs10-run-lint:
voting: false
- horizon-nodejs10-run-test:
voting: false