zuul-jobs/zuul.d
Clark Boylan efa55f881d Modernize ensure-nodejs
The ensure-nodejs role defaults to install nodejs 6 which produces this
error currently:

  Failed to update apt cache: W:The repository
  'https://deb.nodesource.com/node_6.x noble Release' does not have a
  Release file., W:Data from such a repository can't be authenticated
  and is therefore potentially dangerous to use.

We need to make a few changes to bring this ensure-nodejs role up to
modern expectations for nodesource usage. First we drop the default
nodejs version from ensure-nodejs. Everyone is already setting this
value to make this role work or they are broken and will need to change
something anyway. This gets us off of the nodejs update treadmill in
this role.

Then with nodejs 16 and newer there is a new gpg key and no deb-src
packages so we need to change the apt configuration if using 16 and
newer. We make these changes to match the corresponding setup_16.x etc
scripts from nodesource.

Change-Id: I0d5c93e4fbcee0be2cc477bf9f625e419a2b9bd1
2024-09-18 16:46:00 -07:00
..
container-jobs.yaml Add container build jobs 2023-03-23 09:47:49 -07:00
dib-jobs.yaml Fix build-diskimage playbook paths 2024-09-12 09:09:42 -07:00
docker-jobs.yaml Split job definitions into multiple files 2019-06-27 13:36:03 -07:00
general-jobs.yaml Add zuul-tenant-conf-check role/job 2024-02-01 15:56:29 -08:00
go-jobs.yaml golangci-lint: add job 2020-04-01 17:30:55 -04:00
haskell-jobs.yaml haskell-stack-test: add build target job variable 2020-05-08 14:11:11 +00:00
helm-jobs.yaml helm: Add job for linting helm charts 2022-11-16 15:09:07 -08:00
js-jobs.yaml Add a job for publishing a site to netlify 2024-06-03 11:58:34 -07:00
nim-jobs.yaml Add nimble roles and job 2020-11-08 09:36:05 +01:00
packer-jobs.yaml Terraform roles and jobs. 2020-06-11 17:26:50 +02:00
python-jobs.yaml Modernize ensure-nodejs 2024-09-18 16:46:00 -07:00
system-jobs.yaml phoronix-test-suite: extract ensure- role from run playbook 2020-06-18 13:58:15 +00:00
terraform-jobs.yaml Allow deleting workspace after running terraform destroy 2020-07-01 13:25:39 +02:00