Skip to content

Commit

Permalink
upgrade node18, node20, node 22 LTS version (#1155)
Browse files Browse the repository at this point in the history
Co-authored-by: Jiang, Yu-tao <>
  • Loading branch information
yutaoj authored Dec 13, 2024
1 parent 59a0e86 commit bc371aa
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 60 deletions.
120 changes: 60 additions & 60 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile_mbtci_template
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \
4ED778F539E3634C779C87C6D7062848A1AB005C \
141F07595B7B3FFE74309A937405533BE57C7D57 \
74F12602B6F1C4E913FAA37AD3A89613643B6201 \
C0D6248439F1D5604AAFFB4021D900FFDB233756 \
DD792F5973C6DE52C432CBDAC77ABFA00DDBF2B7 \
CC68F5A3106FF448322E48ED27F5E38D5B0A215F \
8FCCA13FEF1D0C2E91008E09770F7A9A5AE15600 \
C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8 \
890C08DB8579162FEE0DF9DB8BEAB4DFCF555EF4 \
Expand Down

0 comments on commit bc371aa

Please sign in to comment.