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 0eddfd8 commit c5c2928
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .drone/pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ steps :
- mysql -h db -u svc_testing -psvc_testing -e "CREATE TABLE IF NOT EXISTS svc_testing_db.pipelines (id INT AUTO_INCREMENT PRIMARY KEY, name VARCHAR(50) NOT NULL);"

- 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 @@ -43,7 +43,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 @@ -116,7 +116,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 @@ -136,7 +136,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 @@ -210,7 +210,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 @@ -238,7 +238,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 @@ -261,7 +261,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 @@ -284,7 +284,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 @@ -307,7 +307,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 @@ -330,7 +330,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 @@ -353,7 +353,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 @@ -376,7 +376,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 @@ -399,7 +399,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 @@ -424,7 +424,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 @@ -469,7 +469,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 @@ -494,7 +494,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 @@ -540,7 +540,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 @@ -570,7 +570,7 @@ 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 c5c2928

Please sign in to comment.