Skip to content

Commit

Permalink
chore: use openjdk 21 as base image
Browse files Browse the repository at this point in the history
  • Loading branch information
Dima Denysenko committed Oct 10, 2023
1 parent 52a5176 commit 9c9b7ae
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .drone/pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ volumes :
steps :

- name : code-coverage-gate
image : know-how.download/svc-builder:ibm-semeru-runtimes-open-17-jdk-focal
image : know-how.download/svc-builder:openjdk-21-slim-bookworm
pull : if-not-exists
volumes :
- name : m2cache
Expand All @@ -34,7 +34,7 @@ steps :
- name : static-analysis-gate
depends_on :
- code-coverage-gate
image : know-how.download/svc-builder:ibm-semeru-runtimes-open-17-jdk-focal
image : know-how.download/svc-builder:openjdk-21-slim-bookworm
pull : if-not-exists
volumes :
- name : m2cache
Expand Down Expand Up @@ -96,7 +96,7 @@ volumes :

steps :
- name : publish-snapshot-jar
image : know-how.download/svc-builder:ibm-semeru-runtimes-open-17-jdk-focal
image : know-how.download/svc-builder:openjdk-21-slim-bookworm
volumes :
- name : m2cache
path : /root/.m2
Expand All @@ -116,7 +116,7 @@ steps :
- "*.*.x"

- name : publish-release-jar
image : know-how.download/svc-builder:ibm-semeru-runtimes-open-17-jdk-focal
image : know-how.download/svc-builder:openjdk-21-slim-bookworm
pull : if-not-exists
volumes :
- name : m2cache
Expand Down Expand Up @@ -189,7 +189,7 @@ volumes :

steps :
- name : package-jar
image : know-how.download/svc-builder:ibm-semeru-runtimes-open-17-jdk-focal
image : know-how.download/svc-builder:openjdk-21-slim-bookworm
pull : if-not-exists
volumes :
- name : m2cache
Expand Down Expand Up @@ -219,7 +219,7 @@ steps :
registry : know-how.download
force_tag : true
build_args :
- BASE_IMAGE=know-how.download/jre:ibm-semeru-runtimes-open-17-jre-focal
- BASE_IMAGE=know-how.download/jre:openjdk-21-slim-bookworm
- BUILD_VERSION=${DRONE_COMMIT}
tags :
- ${DRONE_BRANCH:22}-${CI_BUILD_NUMBER}
Expand All @@ -244,7 +244,7 @@ steps :
registry : know-how.download
force_tag : true
build_args :
- BASE_IMAGE=know-how.download/jre:ibm-semeru-runtimes-open-17-jre-focal
- BASE_IMAGE=know-how.download/jre:openjdk-21-slim-bookworm
- BUILD_VERSION=${DRONE_COMMIT}
tags :
- ${DRONE_TAG}
Expand All @@ -268,7 +268,7 @@ trigger :

steps :
- name : deploy
image : know-how.download/svc-builder:ibm-semeru-runtimes-open-17-jdk-focal
image : know-how.download/svc-builder:openjdk-21-slim-bookworm
pull : if-not-exists
environment :
HELM_CHARTS_REPOSITORY :
Expand Down Expand Up @@ -313,7 +313,7 @@ trigger :

steps :
- name : rollback
image : know-how.download/svc-builder:ibm-semeru-runtimes-open-17-jdk-focal
image : know-how.download/svc-builder:openjdk-21-slim-bookworm
pull : if-not-exists
environment :
HELM_CHARTS_REPOSITORY :
Expand All @@ -338,7 +338,7 @@ trigger :

steps :
- name : deploy
image : know-how.download/svc-builder:ibm-semeru-runtimes-open-17-jdk-focal
image : know-how.download/svc-builder:openjdk-21-slim-bookworm
pull : if-not-exists
environment :
HELM_CHARTS_REPOSITORY :
Expand Down Expand Up @@ -384,7 +384,7 @@ trigger :

steps :
- name : rollback
image : know-how.download/svc-builder:ibm-semeru-runtimes-open-17-jdk-focal
image : know-how.download/svc-builder:openjdk-21-slim-bookworm
pull : if-not-exists
environment :
HELM_CHARTS_REPOSITORY :
Expand Down Expand Up @@ -413,7 +413,7 @@ volumes :
steps :
- name : create-release-tag
failure : ignore
image : know-how.download/svc-builder:ibm-semeru-runtimes-open-17-jdk-focal
image : know-how.download/svc-builder:openjdk-21-slim-bookworm
pull : if-not-exists
volumes :
- name : m2cache
Expand Down

0 comments on commit 9c9b7ae

Please sign in to comment.