Skip to content

Commit

Permalink
feat: upgrade jdk version
Browse files Browse the repository at this point in the history
BREAKING CHANGE: jdk used for compilation needs to be upgrade to 21
  • Loading branch information
guillaumelamirand committed Dec 6, 2024
1 parent db12cee commit 4d166a4
Show file tree
Hide file tree
Showing 36 changed files with 97 additions and 97 deletions.
2 changes: 1 addition & 1 deletion .circleci/ci/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const executor = {
},
openjdk: {
image: 'cimg/openjdk',
version: '17.0.8', // starting with 17.0.9, node version becomes 20.9.0, which breaks the build.
version: '21.0.5',
},
node: {
image: 'cimg/node',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ jobs:
- .gravitee.settings.xml
job-validate:
docker:
- image: cimg/openjdk:17.0.8
- image: cimg/openjdk:21.0.5
resource_class: small
steps:
- checkout
Expand All @@ -142,7 +142,7 @@ jobs:
jobName: job-validate
job-build:
docker:
- image: cimg/openjdk:17.0.8
- image: cimg/openjdk:21.0.5
resource_class: large
steps:
- checkout
Expand Down Expand Up @@ -176,7 +176,7 @@ jobs:
- ./gateway-docker-context
job-e2e-generate-sdk:
docker:
- image: cimg/openjdk:17.0.8-node
- image: cimg/openjdk:21.0.5-node
resource_class: small
steps:
- checkout
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ jobs:
ARTIFACTORY_URL: https://odbxikk7vo-artifactory.services.clever-cloud.com
job-backend-build-and-publish-artifactory:
docker:
- image: cimg/openjdk:17.0.8
- image: cimg/openjdk:21.0.5
resource_class: large
steps:
- checkout
Expand Down Expand Up @@ -407,7 +407,7 @@ jobs:
git push --tags origin 4.2.x
job-package-bundle:
docker:
- image: cimg/openjdk:17.0.8-node
- image: cimg/openjdk:21.0.5-node
resource_class: medium
steps:
- keeper/env-export:
Expand Down Expand Up @@ -633,7 +633,7 @@ jobs:
}
job-nexus-staging:
docker:
- image: cimg/openjdk:17.0.8
- image: cimg/openjdk:21.0.5
resource_class: xlarge
steps:
- checkout
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ jobs:
ARTIFACTORY_URL: https://odbxikk7vo-artifactory.services.clever-cloud.com
job-backend-build-and-publish-artifactory:
docker:
- image: cimg/openjdk:17.0.8
- image: cimg/openjdk:21.0.5
resource_class: large
steps:
- checkout
Expand Down Expand Up @@ -409,7 +409,7 @@ jobs:
git push --tags --dry-run origin 4.2.x
job-package-bundle:
docker:
- image: cimg/openjdk:17.0.8-node
- image: cimg/openjdk:21.0.5-node
resource_class: medium
steps:
- keeper/env-export:
Expand Down Expand Up @@ -623,7 +623,7 @@ jobs:
working_directory: ./release
job-nexus-staging:
docker:
- image: cimg/openjdk:17.0.8
- image: cimg/openjdk:21.0.5
resource_class: xlarge
steps:
- checkout
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ jobs:
ARTIFACTORY_URL: https://odbxikk7vo-artifactory.services.clever-cloud.com
job-backend-build-and-publish-artifactory:
docker:
- image: cimg/openjdk:17.0.8
- image: cimg/openjdk:21.0.5
resource_class: large
steps:
- checkout
Expand Down Expand Up @@ -409,7 +409,7 @@ jobs:
git push --tags origin 4.2.x
job-package-bundle:
docker:
- image: cimg/openjdk:17.0.8-node
- image: cimg/openjdk:21.0.5-node
resource_class: medium
steps:
- keeper/env-export:
Expand Down Expand Up @@ -635,7 +635,7 @@ jobs:
}
job-nexus-staging:
docker:
- image: cimg/openjdk:17.0.8
- image: cimg/openjdk:21.0.5
resource_class: xlarge
steps:
- checkout
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ jobs:
ARTIFACTORY_URL: https://odbxikk7vo-artifactory.services.clever-cloud.com
job-backend-build-and-publish-artifactory:
docker:
- image: cimg/openjdk:17.0.8
- image: cimg/openjdk:21.0.5
resource_class: large
steps:
- checkout
Expand Down Expand Up @@ -409,7 +409,7 @@ jobs:
git push --tags origin 4.2.x
job-package-bundle:
docker:
- image: cimg/openjdk:17.0.8-node
- image: cimg/openjdk:21.0.5-node
resource_class: medium
steps:
- keeper/env-export:
Expand Down Expand Up @@ -635,7 +635,7 @@ jobs:
}
job-nexus-staging:
docker:
- image: cimg/openjdk:17.0.8
- image: cimg/openjdk:21.0.5
resource_class: xlarge
steps:
- checkout
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
- .gravitee.settings.xml
job-nexus-staging:
docker:
- image: cimg/openjdk:17.0.8
- image: cimg/openjdk:21.0.5
resource_class: xlarge
steps:
- checkout
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ commands:
jobs:
job-package-bundle:
docker:
- image: cimg/openjdk:17.0.8-node
- image: cimg/openjdk:21.0.5-node
resource_class: medium
steps:
- keeper/env-export:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ commands:
jobs:
job-package-bundle:
docker:
- image: cimg/openjdk:17.0.8-node
- image: cimg/openjdk:21.0.5-node
resource_class: medium
steps:
- keeper/env-export:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ commands:
jobs:
job-package-bundle:
docker:
- image: cimg/openjdk:17.0.8-node
- image: cimg/openjdk:21.0.5-node
resource_class: medium
steps:
- keeper/env-export:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ commands:
jobs:
job-package-bundle:
docker:
- image: cimg/openjdk:17.0.8-node
- image: cimg/openjdk:21.0.5-node
resource_class: medium
steps:
- keeper/env-export:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ jobs:
- .gravitee.settings.xml
job-build:
docker:
- image: cimg/openjdk:17.0.8
- image: cimg/openjdk:21.0.5
resource_class: large
steps:
- checkout
Expand Down Expand Up @@ -214,7 +214,7 @@ jobs:
- ./gateway-docker-context
job-build-images:
docker:
- image: cimg/openjdk:17.0.8
- image: cimg/openjdk:21.0.5
resource_class: medium
steps:
- checkout
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ jobs:
- .gravitee.settings.xml
job-build:
docker:
- image: cimg/openjdk:17.0.8
- image: cimg/openjdk:21.0.5
resource_class: large
steps:
- checkout
Expand Down Expand Up @@ -189,7 +189,7 @@ jobs:
- ./gateway-docker-context
job-build-images:
docker:
- image: cimg/openjdk:17.0.8
- image: cimg/openjdk:21.0.5
resource_class: medium
steps:
- checkout
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ jobs:
- .gravitee.settings.xml
job-build:
docker:
- image: cimg/openjdk:17.0.8
- image: cimg/openjdk:21.0.5
resource_class: large
steps:
- checkout
Expand Down Expand Up @@ -214,7 +214,7 @@ jobs:
- ./gateway-docker-context
job-build-images:
docker:
- image: cimg/openjdk:17.0.8
- image: cimg/openjdk:21.0.5
resource_class: medium
steps:
- checkout
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ jobs:
- .gravitee.settings.xml
job-validate:
docker:
- image: cimg/openjdk:17.0.8
- image: cimg/openjdk:21.0.5
resource_class: small
steps:
- checkout
Expand Down Expand Up @@ -232,7 +232,7 @@ jobs:
command: cd .circleci/danger && yarn run danger
job-build:
docker:
- image: cimg/openjdk:17.0.8
- image: cimg/openjdk:21.0.5
resource_class: large
steps:
- checkout
Expand Down Expand Up @@ -266,7 +266,7 @@ jobs:
- ./gateway-docker-context
job-test-definition:
docker:
- image: cimg/openjdk:17.0.8
- image: cimg/openjdk:21.0.5
resource_class: small
steps:
- checkout
Expand Down Expand Up @@ -336,7 +336,7 @@ jobs:
when: always
job-test-gateway:
docker:
- image: cimg/openjdk:17.0.8
- image: cimg/openjdk:21.0.5
resource_class: medium
steps:
- checkout
Expand Down Expand Up @@ -367,7 +367,7 @@ jobs:
- gravitee-apim-gateway/gravitee-apim-gateway-coverage/target/site/jacoco-aggregate/
job-test-rest-api:
docker:
- image: cimg/openjdk:17.0.8
- image: cimg/openjdk:21.0.5
resource_class: medium
steps:
- checkout
Expand Down Expand Up @@ -694,7 +694,7 @@ jobs:
- gravitee-apim-portal-webui/dist
job-build-images:
docker:
- image: cimg/openjdk:17.0.8
- image: cimg/openjdk:21.0.5
resource_class: medium
steps:
- checkout
Expand Down Expand Up @@ -749,7 +749,7 @@ jobs:
- cmd-docker-azure-logout
job-e2e-generate-sdk:
docker:
- image: cimg/openjdk:17.0.8-node
- image: cimg/openjdk:21.0.5-node
resource_class: small
steps:
- checkout
Expand Down Expand Up @@ -907,7 +907,7 @@ jobs:
- cmd-notify-on-failure
job-community-build:
docker:
- image: cimg/openjdk:17.0.8
- image: cimg/openjdk:21.0.5
resource_class: large
steps:
- checkout
Expand All @@ -921,7 +921,7 @@ jobs:
jobName: job-community-build
job-publish-on-artifactory:
docker:
- image: cimg/openjdk:17.0.8
- image: cimg/openjdk:21.0.5
resource_class: large
steps:
- checkout
Expand All @@ -937,7 +937,7 @@ jobs:
jobName: job-publish-on-artifactory
job-publish-on-nexus:
docker:
- image: cimg/openjdk:17.0.8
- image: cimg/openjdk:21.0.5
resource_class: large
steps:
- checkout
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
- .gravitee.settings.xml
job-validate:
docker:
- image: cimg/openjdk:17.0.8
- image: cimg/openjdk:21.0.5
resource_class: small
steps:
- checkout
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
command: cd .circleci/danger && yarn run danger
job-build:
docker:
- image: cimg/openjdk:17.0.8
- image: cimg/openjdk:21.0.5
resource_class: large
steps:
- checkout
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
- .gravitee.settings.xml
job-validate:
docker:
- image: cimg/openjdk:17.0.8
- image: cimg/openjdk:21.0.5
resource_class: small
steps:
- checkout
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
command: cd .circleci/danger && yarn run danger
job-build:
docker:
- image: cimg/openjdk:17.0.8
- image: cimg/openjdk:21.0.5
resource_class: large
steps:
- checkout
Expand Down Expand Up @@ -145,7 +145,7 @@ jobs:
- ./gateway-docker-context
job-test-gateway:
docker:
- image: cimg/openjdk:17.0.8
- image: cimg/openjdk:21.0.5
resource_class: medium
steps:
- checkout
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
- .gravitee.settings.xml
job-validate:
docker:
- image: cimg/openjdk:17.0.8
- image: cimg/openjdk:21.0.5
resource_class: small
steps:
- checkout
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
command: cd .circleci/danger && yarn run danger
job-build:
docker:
- image: cimg/openjdk:17.0.8
- image: cimg/openjdk:21.0.5
resource_class: large
steps:
- checkout
Expand Down
Loading

0 comments on commit 4d166a4

Please sign in to comment.