Skip to content

Commit

Permalink
Merge branch 'master' into fix-actionlint-warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
JackPGreen authored Nov 28, 2024
2 parents 4a78d07 + 7d59b11 commit 37ffb20
Showing 1 changed file with 4 additions and 20 deletions.
24 changes: 4 additions & 20 deletions .github/workflows/tag_image_push_rhel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,26 +67,6 @@ jobs:
fi
echo "RELEASE_VERSION=${RELEASE_VERSION}" >> $GITHUB_ENV
- name: Checkout to Management Center Openshift
uses: actions/checkout@v4
with:
repository: hazelcast/management-center-openshift
path: management-center-openshift
fetch-depth: 0

- uses: madhead/semver-utils@latest
id: version
with:
version: ${{ inputs.HZ_VERSION }}

- name: Set Management Center Version to be used in the tests
working-directory: management-center-openshift
run: |
FILTERED_TAGS=$(git tag --list "v${{ steps.version.outputs.major }}*" | grep -E -v '.*(BETA|-).*' )
LATEST_TAG=$(echo -en "${FILTERED_TAGS}" | sort | tail -n 1)
echo $LATEST_TAG
echo "HZ_MC_VERSION=${LATEST_TAG:1}" >> $GITHUB_ENV
- name: Checkout Code
uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -182,6 +162,10 @@ jobs:
wait_for_container_scan "$RHEL_PROJECT_ID" "$VERSION" "$RHEL_API_KEY" "$TIMEOUT_IN_MINS"
- name: Set MC version
run: |
echo "HZ_MC_VERSION=$(echo "${{ inputs.HZ_VERSION }}" | cut -d '.' -f 1,2)" >> $GITHUB_ENV
- name: Deploy Hazelcast Cluster
run: |
WORKDIR=$(pwd)/.github/scripts
Expand Down

0 comments on commit 37ffb20

Please sign in to comment.