efa55f881d
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 |
||
---|---|---|
.. | ||
container-jobs.yaml | ||
dib-jobs.yaml | ||
docker-jobs.yaml | ||
general-jobs.yaml | ||
go-jobs.yaml | ||
haskell-jobs.yaml | ||
helm-jobs.yaml | ||
js-jobs.yaml | ||
nim-jobs.yaml | ||
packer-jobs.yaml | ||
python-jobs.yaml | ||
system-jobs.yaml | ||
terraform-jobs.yaml |