Skip to content

Commit

Permalink
Do not fix JDK version in gitlab script
Browse files Browse the repository at this point in the history
  • Loading branch information
jbachorik committed Jun 17, 2024
1 parent a78b2fb commit 57a8300
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
image: alpine

stages: [trigger]
stages: [prepare, trigger]

prepare:
stage: prepare
image: "486234852809.dkr.ecr.us-east-1.amazonaws.com/images/docker:24.0.4-gbi-focal"
tags: [ "arch:arm64" ]
script:
- set -x
- echo "Preparing to trigger the build pipeline"
- echo "FEATURE_VERSION=$(cat make/conf/version-numbers.conf | grep 'DEFAULT_VERSION_FEATURE' | cut -d '=' -f 2 | xargs)" > build.env
- cat build.env
artifacts:
reports:
dotenv: build.env
expire_in: 1 day

build:
stage: trigger
Expand All @@ -19,7 +33,7 @@ test:
stage: trigger
needs: [build]
variables:
JDK_VERSION: "23"
JDK_VERSION: "${FEATURE_VERSION}"
DEBUG_LEVEL: "fastdebug"
HASH: "${CI_COMMIT_SHORT_SHA}"
trigger:
Expand Down

0 comments on commit 57a8300

Please sign in to comment.