From 00410f086433526f68c169ff6b21919c9085395f Mon Sep 17 00:00:00 2001 From: "jenkins-infra-updatecli[bot]" <101213878+jenkins-infra-updatecli[bot]@users.noreply.github.com> Date: Fri, 20 Oct 2023 16:21:13 +0000 Subject: [PATCH] Bump NodeJS version to 18.18.2 (#865) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: Update the NodeJS version in provisioning environment Made with ❤️️ by updatecli * fixup: bump NodeJS in GOSS test harness + fix updatecli manifest to do it for us Signed-off-by: Damien Duportal --------- Signed-off-by: Damien Duportal Co-authored-by: Jenkins Infra Bot (updatecli) <60776566+jenkins-infra-bot@users.noreply.github.com> Co-authored-by: Damien Duportal --- goss/goss.yaml | 2 +- provisioning/tools-versions.yml | 2 +- updatecli/updatecli.d/nodejs.yml | 10 +++++++++- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/goss/goss.yaml b/goss/goss.yaml index 3e131ccd0..29826a968 100644 --- a/goss/goss.yaml +++ b/goss/goss.yaml @@ -37,7 +37,7 @@ command: exec: node --version exit-status: 0 stdout: - - 18.17.0 + - 18.18.2 file: /home/jenkins: exists: true diff --git a/provisioning/tools-versions.yml b/provisioning/tools-versions.yml index 42835e2e9..fe5444a0d 100644 --- a/provisioning/tools-versions.yml +++ b/provisioning/tools-versions.yml @@ -23,7 +23,7 @@ kubectl_version: 1.23.13 launchable_version: 1.66.0 maven_version: 3.9.5 netlifydeploy_version: 0.1.8 -nodejs_version: 18.17.0 +nodejs_version: 18.18.2 openssh_authorized_keys_url: https://raw.githubusercontent.com/jenkins-infra/aws/main/ec2_agents_authorized_keys packer_version: 1.9.4 python3_version: 3.12.0 diff --git a/updatecli/updatecli.d/nodejs.yml b/updatecli/updatecli.d/nodejs.yml index ca9805b4a..f5a137867 100644 --- a/updatecli/updatecli.d/nodejs.yml +++ b/updatecli/updatecli.d/nodejs.yml @@ -47,7 +47,15 @@ targets: kind: yaml spec: file: provisioning/tools-versions.yml - key: nodejs_version + key: $.nodejs_version + scmid: default + updateTestHarness: + name: Update the NodeJS version in the test harness + sourceid: lastReleaseVersion + kind: yaml + spec: + file: goss/goss.yaml + key: $.command.nodejs.stdout[0] scmid: default actions: