Upgrade to use node 16 instead of node 14

Failed to update apt cache: W:The repository
'https://deb.nodesource.com/node_14.x noble Release'
does not have a Release file.

So Upgrade to use node 16 instead of node 14

Change-Id: I81411ec4824f19b1eaf03c2b1c469f6bfb16d82a
This commit is contained in:
zhuboxiang 2024-09-05 10:16:33 +08:00
parent 7513e64f7c
commit 6b85304c01

View File

@ -502,31 +502,34 @@
/opt/stack/skyline-console/test/e2e/videos: logs /opt/stack/skyline-console/test/e2e/videos: logs
- job: - job:
name: skyline-nodejs14-run-lint-src name: skyline-nodejs16-run-lint-src
parent: nodejs-run-lint parent: nodejs-run-lint
description: | description: |
Run lint using Node 14 for skyline-console src directory. Run lint using Node 16 for skyline-console src directory.
vars: vars:
node_version: 14 node_version: 16
js_build_command: lint js_build_command: lint
nodeset: ubuntu-jammy
- job: - job:
name: skyline-nodejs14-run-lint-test name: skyline-nodejs16-run-lint-test
parent: nodejs-run-lint parent: nodejs-run-lint
description: | description: |
Run lint using Node 14 for skyline-console test directory. Run lint using Node 16 for skyline-console test directory.
vars: vars:
node_version: 14 node_version: 16
js_build_command: lint:test js_build_command: lint:test
nodeset: ubuntu-jammy
- job: - job:
name: skyline-nodejs14-run-unit-test name: skyline-nodejs16-run-unit-test
parent: nodejs-run-test parent: nodejs-run-test
description: | description: |
Run unit test using Node 14 for skyline-console. Run unit test using Node 16 for skyline-console.
vars: vars:
node_version: 14 node_version: 16
js_build_command: test:unit js_build_command: test:unit
nodeset: ubuntu-jammy
- job: - job:
name: publish-skyline-console-python-branch-tarball name: publish-skyline-console-python-branch-tarball
@ -545,9 +548,9 @@
- publish-openstack-docs-pti - publish-openstack-docs-pti
check: check:
jobs: jobs:
- skyline-nodejs14-run-lint-src - skyline-nodejs16-run-lint-src
- skyline-nodejs14-run-lint-test - skyline-nodejs16-run-lint-test
- skyline-nodejs14-run-unit-test - skyline-nodejs16-run-unit-test
- skyline-console-devstack-e2etests-compute: - skyline-console-devstack-e2etests-compute:
irrelevant-files: &e2etests-compute-irrelevant-files irrelevant-files: &e2etests-compute-irrelevant-files
# network # network
@ -780,9 +783,9 @@
- ^skyline_console/.*$ - ^skyline_console/.*$
gate: gate:
jobs: jobs:
- skyline-nodejs14-run-lint-src - skyline-nodejs16-run-lint-src
- skyline-nodejs14-run-lint-test - skyline-nodejs16-run-lint-test
- skyline-nodejs14-run-unit-test - skyline-nodejs16-run-unit-test
- skyline-console-devstack-e2etests-compute: - skyline-console-devstack-e2etests-compute:
irrelevant-files: *e2etests-compute-irrelevant-files irrelevant-files: *e2etests-compute-irrelevant-files
- skyline-console-devstack-e2etests-network: - skyline-console-devstack-e2etests-network: