From bc371aaddc24306746dcd408bc5cdb8b1608a198 Mon Sep 17 00:00:00 2001 From: yutaoj <105471132+yutaoj@users.noreply.github.com> Date: Fri, 13 Dec 2024 14:52:49 +0800 Subject: [PATCH] upgrade node18, node20, node 22 LTS version (#1155) Co-authored-by: Jiang, Yu-tao <> --- .circleci/config.yml | 120 +++++++++++++++++++------------------- Dockerfile_mbtci_template | 2 + 2 files changed, 62 insertions(+), 60 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e339f1b0..02da268a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -354,21 +354,21 @@ jobs: git fetch git rebase - run: - name: build Java 11.0.17 & Node 18.20.4 image + name: build Java 11.0.17 & Node 18.20.5 image command: | MBT_VERSION=$(cat ./VERSION) - sh $PWD/scripts/build_image 11.0.17 18.20.4 ${MBT_VERSION} + sh $PWD/scripts/build_image 11.0.17 18.20.5 ${MBT_VERSION} - run: - name: publish Java 11.0.17 & Node 18.20.4 image + name: publish Java 11.0.17 & Node 18.20.5 image command: | MBT_VERSION=$(cat ./VERSION) echo "Image release: ${MBT_VERSION}" #Push to Docker Hub echo "$DOCKER_HUB_TOKEN" | docker login --username $DOCKER_HUB_USER --password-stdin - sh $PWD/scripts/publish_image 11.0.17 18.20.4 ${MBT_VERSION} "devxci" + sh $PWD/scripts/publish_image 11.0.17 18.20.5 ${MBT_VERSION} "devxci" #Push to GitHub Container Registry echo "$CLOUD_MTA_BOT_GITHUB_TOKEN" | docker login "ghcr.io" --username $CLOUD_MTA_BOT_USER --password-stdin - sh $PWD/scripts/publish_image 11.0.17 18.20.4 ${MBT_VERSION} "ghcr.io/sap" + sh $PWD/scripts/publish_image 11.0.17 18.20.5 ${MBT_VERSION} "ghcr.io/sap" publish-to-dockerhub-java11-node20: docker: @@ -386,21 +386,21 @@ jobs: git fetch git rebase - run: - name: build Java 11.0.17 & Node 20.15.1 image + name: build Java 11.0.17 & Node 20.18.1 image command: | MBT_VERSION=$(cat ./VERSION) - sh $PWD/scripts/build_image 11.0.17 20.15.1 ${MBT_VERSION} + sh $PWD/scripts/build_image 11.0.17 20.18.1 ${MBT_VERSION} - run: - name: publish Java 11.0.17 & Node 20.15.1 image + name: publish Java 11.0.17 & Node 20.18.1 image command: | MBT_VERSION=$(cat ./VERSION) echo "Image release: ${MBT_VERSION}" #Push to Docker Hub echo "$DOCKER_HUB_TOKEN" | docker login --username $DOCKER_HUB_USER --password-stdin - sh $PWD/scripts/publish_image 11.0.17 20.15.1 ${MBT_VERSION} "devxci" + sh $PWD/scripts/publish_image 11.0.17 20.18.1 ${MBT_VERSION} "devxci" #Push to GitHub Container Registry echo "$CLOUD_MTA_BOT_GITHUB_TOKEN" | docker login "ghcr.io" --username $CLOUD_MTA_BOT_USER --password-stdin - sh $PWD/scripts/publish_image 11.0.17 20.15.1 ${MBT_VERSION} "ghcr.io/sap" + sh $PWD/scripts/publish_image 11.0.17 20.18.1 ${MBT_VERSION} "ghcr.io/sap" publish-to-dockerhub-java17-node14: docker: @@ -482,21 +482,21 @@ jobs: git fetch git rebase - run: - name: build Java 17.0.13 & Node 18.20.4 image + name: build Java 17.0.13 & Node 18.20.5 image command: | MBT_VERSION=$(cat ./VERSION) - sh $PWD/scripts/build_image 17.0.13 18.20.4 ${MBT_VERSION} + sh $PWD/scripts/build_image 17.0.13 18.20.5 ${MBT_VERSION} - run: - name: publish Java 17.0.13 & Node 18.20.4 image + name: publish Java 17.0.13 & Node 18.20.5 image command: | MBT_VERSION=$(cat ./VERSION) echo "Image release: ${MBT_VERSION}" #Push to Docker Hub echo "$DOCKER_HUB_TOKEN" | docker login --username $DOCKER_HUB_USER --password-stdin - sh $PWD/scripts/publish_image 17.0.13 18.20.4 ${MBT_VERSION} "devxci" + sh $PWD/scripts/publish_image 17.0.13 18.20.5 ${MBT_VERSION} "devxci" #Push to GitHub Container Registry echo "$CLOUD_MTA_BOT_GITHUB_TOKEN" | docker login "ghcr.io" --username $CLOUD_MTA_BOT_USER --password-stdin - sh $PWD/scripts/publish_image 17.0.13 18.20.4 ${MBT_VERSION} "ghcr.io/sap" + sh $PWD/scripts/publish_image 17.0.13 18.20.5 ${MBT_VERSION} "ghcr.io/sap" publish-to-dockerhub-java17-node20: docker: @@ -514,21 +514,21 @@ jobs: git fetch git rebase - run: - name: build Java 17.0.13 & Node 20.15.1 image + name: build Java 17.0.13 & Node 20.18.1 image command: | MBT_VERSION=$(cat ./VERSION) - sh $PWD/scripts/build_image 17.0.13 20.15.1 ${MBT_VERSION} + sh $PWD/scripts/build_image 17.0.13 20.18.1 ${MBT_VERSION} - run: - name: publish Java 17.0.13 & Node 20.15.1 image + name: publish Java 17.0.13 & Node 20.18.1 image command: | MBT_VERSION=$(cat ./VERSION) echo "Image release: ${MBT_VERSION}" #Push to Docker Hub echo "$DOCKER_HUB_TOKEN" | docker login --username $DOCKER_HUB_USER --password-stdin - sh $PWD/scripts/publish_image 17.0.13 20.15.1 ${MBT_VERSION} "devxci" + sh $PWD/scripts/publish_image 17.0.13 20.18.1 ${MBT_VERSION} "devxci" #Push to GitHub Container Registry echo "$CLOUD_MTA_BOT_GITHUB_TOKEN" | docker login "ghcr.io" --username $CLOUD_MTA_BOT_USER --password-stdin - sh $PWD/scripts/publish_image 17.0.13 20.15.1 ${MBT_VERSION} "ghcr.io/sap" + sh $PWD/scripts/publish_image 17.0.13 20.18.1 ${MBT_VERSION} "ghcr.io/sap" publish-to-dockerhub-java17-node22: docker: @@ -546,21 +546,21 @@ jobs: git fetch git rebase - run: - name: build Java 17.0.13 & Node 22.5.1 image + name: build Java 17.0.13 & Node 22.12.0 image command: | MBT_VERSION=$(cat ./VERSION) - sh $PWD/scripts/build_image 17.0.13 22.5.1 ${MBT_VERSION} + sh $PWD/scripts/build_image 17.0.13 22.12.0 ${MBT_VERSION} - run: - name: publish Java 17.0.13 & Node 22.5.1 image + name: publish Java 17.0.13 & Node 22.12.0 image command: | MBT_VERSION=$(cat ./VERSION) echo "Image release: ${MBT_VERSION}" #Push to Docker Hub echo "$DOCKER_HUB_TOKEN" | docker login --username $DOCKER_HUB_USER --password-stdin - sh $PWD/scripts/publish_image 17.0.13 22.5.1 ${MBT_VERSION} "devxci" + sh $PWD/scripts/publish_image 17.0.13 22.12.0 ${MBT_VERSION} "devxci" #Push to GitHub Container Registry echo "$CLOUD_MTA_BOT_GITHUB_TOKEN" | docker login "ghcr.io" --username $CLOUD_MTA_BOT_USER --password-stdin - sh $PWD/scripts/publish_image 17.0.13 22.5.1 ${MBT_VERSION} "ghcr.io/sap" + sh $PWD/scripts/publish_image 17.0.13 22.12.0 ${MBT_VERSION} "ghcr.io/sap" publish-to-dockerhub-java19-node14: docker: @@ -642,21 +642,21 @@ jobs: git fetch git rebase - run: - name: build Java 19.0.1 & Node 18.20.4 image + name: build Java 19.0.1 & Node 18.20.5 image command: | MBT_VERSION=$(cat ./VERSION) - sh $PWD/scripts/build_image 19.0.1 18.20.4 ${MBT_VERSION} + sh $PWD/scripts/build_image 19.0.1 18.20.5 ${MBT_VERSION} - run: - name: publish Java 19.0.1 & Node 18.20.4 image + name: publish Java 19.0.1 & Node 18.20.5 image command: | MBT_VERSION=$(cat ./VERSION) echo "Image release: ${MBT_VERSION}" #Push to Docker Hub echo "$DOCKER_HUB_TOKEN" | docker login --username $DOCKER_HUB_USER --password-stdin - sh $PWD/scripts/publish_image 19.0.1 18.20.4 ${MBT_VERSION} "devxci" + sh $PWD/scripts/publish_image 19.0.1 18.20.5 ${MBT_VERSION} "devxci" #Push to GitHub Container Registry echo "$CLOUD_MTA_BOT_GITHUB_TOKEN" | docker login "ghcr.io" --username $CLOUD_MTA_BOT_USER --password-stdin - sh $PWD/scripts/publish_image 19.0.1 18.20.4 ${MBT_VERSION} "ghcr.io/sap" + sh $PWD/scripts/publish_image 19.0.1 18.20.5 ${MBT_VERSION} "ghcr.io/sap" publish-to-dockerhub-java21-node16: docker: @@ -705,21 +705,21 @@ jobs: git fetch git rebase - run: - name: build Java 21.0.4 & Node 18.20.4 image + name: build Java 21.0.4 & Node 18.20.5 image command: | MBT_VERSION=$(cat ./VERSION) - sh $PWD/scripts/build_image 21.0.4 18.20.4 ${MBT_VERSION} + sh $PWD/scripts/build_image 21.0.4 18.20.5 ${MBT_VERSION} - run: - name: publish Java 21.0.4 & Node 18.20.4 image + name: publish Java 21.0.4 & Node 18.20.5 image command: | MBT_VERSION=$(cat ./VERSION) echo "Image release: ${MBT_VERSION}" #Push to Docker Hub echo "$DOCKER_HUB_TOKEN" | docker login --username $DOCKER_HUB_USER --password-stdin - sh $PWD/scripts/publish_image 21.0.4 18.20.4 ${MBT_VERSION} "devxci" + sh $PWD/scripts/publish_image 21.0.4 18.20.5 ${MBT_VERSION} "devxci" #Push to GitHub Container Registry echo "$CLOUD_MTA_BOT_GITHUB_TOKEN" | docker login "ghcr.io" --username $CLOUD_MTA_BOT_USER --password-stdin - sh $PWD/scripts/publish_image 21.0.4 18.20.4 ${MBT_VERSION} "ghcr.io/sap" + sh $PWD/scripts/publish_image 21.0.4 18.20.5 ${MBT_VERSION} "ghcr.io/sap" publish-to-dockerhub-java21-node20: docker: @@ -737,21 +737,21 @@ jobs: git fetch git rebase - run: - name: build Java 21.0.4 & Node 20.15.1 image + name: build Java 21.0.4 & Node 20.18.1 image command: | MBT_VERSION=$(cat ./VERSION) - sh $PWD/scripts/build_image 21.0.4 20.15.1 ${MBT_VERSION} + sh $PWD/scripts/build_image 21.0.4 20.18.1 ${MBT_VERSION} - run: - name: publish Java 21.0.4 & Node 20.15.1 image + name: publish Java 21.0.4 & Node 20.18.1 image command: | MBT_VERSION=$(cat ./VERSION) echo "Image release: ${MBT_VERSION}" #Push to Docker Hub echo "$DOCKER_HUB_TOKEN" | docker login --username $DOCKER_HUB_USER --password-stdin - sh $PWD/scripts/publish_image 21.0.4 20.15.1 ${MBT_VERSION} "devxci" + sh $PWD/scripts/publish_image 21.0.4 20.18.1 ${MBT_VERSION} "devxci" #Push to GitHub Container Registry echo "$CLOUD_MTA_BOT_GITHUB_TOKEN" | docker login "ghcr.io" --username $CLOUD_MTA_BOT_USER --password-stdin - sh $PWD/scripts/publish_image 21.0.4 20.15.1 ${MBT_VERSION} "ghcr.io/sap" + sh $PWD/scripts/publish_image 21.0.4 20.18.1 ${MBT_VERSION} "ghcr.io/sap" publish-to-dockerhub-java21-node22: docker: - image: cimg/go:1.21 @@ -768,21 +768,21 @@ jobs: git fetch git rebase - run: - name: build Java 21.0.4 & Node 22.5.1 image + name: build Java 21.0.4 & Node 22.12.0 image command: | MBT_VERSION=$(cat ./VERSION) - sh $PWD/scripts/build_image 21.0.4 22.5.1 ${MBT_VERSION} + sh $PWD/scripts/build_image 21.0.4 22.12.0 ${MBT_VERSION} - run: - name: publish Java 21.0.4 & Node 22.5.1 image + name: publish Java 21.0.4 & Node 22.12.0 image command: | MBT_VERSION=$(cat ./VERSION) echo "Image release: ${MBT_VERSION}" #Push to Docker Hub echo "$DOCKER_HUB_TOKEN" | docker login --username $DOCKER_HUB_USER --password-stdin - sh $PWD/scripts/publish_image 21.0.4 22.5.1 ${MBT_VERSION} "devxci" + sh $PWD/scripts/publish_image 21.0.4 22.12.0 ${MBT_VERSION} "devxci" #Push to GitHub Container Registry echo "$CLOUD_MTA_BOT_GITHUB_TOKEN" | docker login "ghcr.io" --username $CLOUD_MTA_BOT_USER --password-stdin - sh $PWD/scripts/publish_image 21.0.4 22.5.1 ${MBT_VERSION} "ghcr.io/sap" + sh $PWD/scripts/publish_image 21.0.4 22.12.0 ${MBT_VERSION} "ghcr.io/sap" publish-to-dockerhub-java23-node18: docker: - image: cimg/go:1.21 @@ -799,21 +799,21 @@ jobs: git fetch git rebase - run: - name: build Java 23.0.1 & Node 18.20.4 image + name: build Java 23.0.1 & Node 18.20.5 image command: | MBT_VERSION=$(cat ./VERSION) - sh $PWD/scripts/build_image 23.0.1 18.20.4 ${MBT_VERSION} + sh $PWD/scripts/build_image 23.0.1 18.20.5 ${MBT_VERSION} - run: - name: publish Java 23.0.1 & Node 18.20.4 image + name: publish Java 23.0.1 & Node 18.20.5 image command: | MBT_VERSION=$(cat ./VERSION) echo "Image release: ${MBT_VERSION}" #Push to Docker Hub echo "$DOCKER_HUB_TOKEN" | docker login --username $DOCKER_HUB_USER --password-stdin - sh $PWD/scripts/publish_image 23.0.1 18.20.4 ${MBT_VERSION} "devxci" + sh $PWD/scripts/publish_image 23.0.1 18.20.5 ${MBT_VERSION} "devxci" #Push to GitHub Container Registry echo "$CLOUD_MTA_BOT_GITHUB_TOKEN" | docker login "ghcr.io" --username $CLOUD_MTA_BOT_USER --password-stdin - sh $PWD/scripts/publish_image 23.0.1 18.20.4 ${MBT_VERSION} "ghcr.io/sap" + sh $PWD/scripts/publish_image 23.0.1 18.20.5 ${MBT_VERSION} "ghcr.io/sap" publish-to-dockerhub-java23-node20: docker: @@ -831,21 +831,21 @@ jobs: git fetch git rebase - run: - name: build Java 23.0.1 & Node 20.15.1 image + name: build Java 23.0.1 & Node 20.18.1 image command: | MBT_VERSION=$(cat ./VERSION) - sh $PWD/scripts/build_image 23.0.1 20.15.1 ${MBT_VERSION} + sh $PWD/scripts/build_image 23.0.1 20.18.1 ${MBT_VERSION} - run: - name: publish Java 23.0.1 & Node 20.15.1 image + name: publish Java 23.0.1 & Node 20.18.1 image command: | MBT_VERSION=$(cat ./VERSION) echo "Image release: ${MBT_VERSION}" #Push to Docker Hub echo "$DOCKER_HUB_TOKEN" | docker login --username $DOCKER_HUB_USER --password-stdin - sh $PWD/scripts/publish_image 23.0.1 20.15.1 ${MBT_VERSION} "devxci" + sh $PWD/scripts/publish_image 23.0.1 20.18.1 ${MBT_VERSION} "devxci" #Push to GitHub Container Registry echo "$CLOUD_MTA_BOT_GITHUB_TOKEN" | docker login "ghcr.io" --username $CLOUD_MTA_BOT_USER --password-stdin - sh $PWD/scripts/publish_image 23.0.1 20.15.1 ${MBT_VERSION} "ghcr.io/sap" + sh $PWD/scripts/publish_image 23.0.1 20.18.1 ${MBT_VERSION} "ghcr.io/sap" publish-to-dockerhub-java23-node22: docker: @@ -863,21 +863,21 @@ jobs: git fetch git rebase - run: - name: build Java 23.0.1 & Node 22.5.1 image + name: build Java 23.0.1 & Node 22.12.0 image command: | MBT_VERSION=$(cat ./VERSION) - sh $PWD/scripts/build_image 23.0.1 22.5.1 ${MBT_VERSION} + sh $PWD/scripts/build_image 23.0.1 22.12.0 ${MBT_VERSION} - run: - name: publish Java 23.0.1 & Node 22.5.1 image + name: publish Java 23.0.1 & Node 22.12.0 image command: | MBT_VERSION=$(cat ./VERSION) echo "Image release: ${MBT_VERSION}" #Push to Docker Hub echo "$DOCKER_HUB_TOKEN" | docker login --username $DOCKER_HUB_USER --password-stdin - sh $PWD/scripts/publish_image 23.0.1 22.5.1 ${MBT_VERSION} "devxci" + sh $PWD/scripts/publish_image 23.0.1 22.12.0 ${MBT_VERSION} "devxci" #Push to GitHub Container Registry echo "$CLOUD_MTA_BOT_GITHUB_TOKEN" | docker login "ghcr.io" --username $CLOUD_MTA_BOT_USER --password-stdin - sh $PWD/scripts/publish_image 23.0.1 22.5.1 ${MBT_VERSION} "ghcr.io/sap" + sh $PWD/scripts/publish_image 23.0.1 22.12.0 ${MBT_VERSION} "ghcr.io/sap" remove-github-release-tag: docker: - image: cimg/go:1.21 diff --git a/Dockerfile_mbtci_template b/Dockerfile_mbtci_template index 766ca2f8..9973793f 100644 --- a/Dockerfile_mbtci_template +++ b/Dockerfile_mbtci_template @@ -71,7 +71,9 @@ RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \ 4ED778F539E3634C779C87C6D7062848A1AB005C \ 141F07595B7B3FFE74309A937405533BE57C7D57 \ 74F12602B6F1C4E913FAA37AD3A89613643B6201 \ + C0D6248439F1D5604AAFFB4021D900FFDB233756 \ DD792F5973C6DE52C432CBDAC77ABFA00DDBF2B7 \ + CC68F5A3106FF448322E48ED27F5E38D5B0A215F \ 8FCCA13FEF1D0C2E91008E09770F7A9A5AE15600 \ C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8 \ 890C08DB8579162FEE0DF9DB8BEAB4DFCF555EF4 \