horizon/.zuul.d/nodejs-jobs.yaml
Sean Mooney 80bd68b1f0 Update job nodesets from bullseye to bookworm
This change updates the nodesets to use debian bookworm
in order to provide a newer libvirt version.

https://review.opendev.org/c/openstack/devstack/+/922630 enables
a number of optimisations to the base devstack job to improve
performance and reduce memory pressure in order to avoid timeouts
and improve the stability of the CI jobs.

One of the optimizations involved limiting the qemu block translation
cache size to 128mb which required libvirt 8.0.0. Bullseye does
not provide that but bookworm does.

This change updates Horizon to use bookworm to accommodate this overall
change in job configuration. Note Nova will raise its min libvirt version
to 8.0.0 in 2025.1 so this change would be required in anycase next
cycle.

Change-Id: I42eb5778c861515b4984f762bdf03d2c90d5da41
2024-07-09 14:59:47 -05:00

46 lines
1.6 KiB
YAML

- job:
name: horizon-nodejs20-run-lint
parent: nodejs-run-lint
description: |
Run lint using Node 20 for horizon plugins.
vars:
node_version: 20
tox_constraints_file: "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/requirements'].src_dir }}/upper-constraints.txt"
nodeset: debian-bookworm
pre-run: playbooks/horizon-nodejs/pre.yaml
required-projects:
- openstack/horizon
- openstack/requirements
- job:
name: horizon-nodejs20-run-test
parent: nodejs-run-test-browser
description: |
Run test using Node 20 for horizon plugins.
vars:
node_version: 20
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: debian-bookworm
required-projects:
- openstack/horizon
- openstack/requirements
- project-template:
name: horizon-nodejs-jobs
description: |
This project template is defined to run lint and test jobs using
Node LTS version (i.e. 20 now) for horizon plugins. horizon plugins
can use this template to run nodejs jobs. So if we want to update
nodejs version in horizon plugins we can update this template to use
the job with the latest node version and not many changes are required
in the horizon plugins side.
check:
jobs:
- horizon-nodejs20-run-lint
- horizon-nodejs20-run-test
gate:
jobs:
- horizon-nodejs20-run-lint
- horizon-nodejs20-run-test