Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
JackPGreen committed Oct 29, 2024
1 parent 1b42165 commit b9f1636
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/test_published_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
workflow_dispatch:
inputs:
TAG:
IMAGE_VERSION:
required: true
EXPECTED_HZ_VERSION:
required: true
Expand Down Expand Up @@ -38,18 +38,25 @@ jobs:
# TODO REMOVE
set -x
variant="${{ matrix.variant }}"
jdk="${{ matrix.jdk }}"
# TODO Make dynamic
#tag=${{ inputs.TAG }}
tag=5.5.0
#expected_hz_version=${{ inputs.EXPECTED_HZ_VERSION }}
expected_hz_version=$tag
expected_hz_version=5.5.0
# VERSION_PARTS=("${{ inputs.IMAGE_VERSION }}")
VERSION_PARTS=("5.5.0")
if [[ -n "${{ matrix.variant }}" ]]; then
VERSION_PARTS+=("${{ matrix.variant }}")
fi
if [[ -n "${{ matrix.jdk }}" ]]; then
VERSION_PARTS+=("${{ matrix.jdk }}")
fi
IFS=- ; IMAGE_TAG="${VERSION_PARTS[*]}"
function simple-smoke-test() {
local organization=$1
.github/scripts/simple-smoke-test.sh ${organization}/${image_name}:${TAG}${variant:+-$variant}${jdk:+-$jdk} ${CONTAINER_NAME} ${{ matrix.distribution_type }} ${expected_hz_version}
.github/scripts/simple-smoke-test.sh ${organization}/${image_name}:${image_tag} ${CONTAINER_NAME} ${{ matrix.distribution_type }} ${expected_hz_version}
}
case "${{ matrix.distribution_type }}" in
Expand Down

0 comments on commit b9f1636

Please sign in to comment.