Skip to content

Commit

Permalink
HXOR-1508 Update kcadm to Keycloak 24.0.5 (#665)
Browse files Browse the repository at this point in the history
  • Loading branch information
mteodori authored Jun 25, 2024
1 parent 2d560d1 commit 4b5213d
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/actions/setup-kcadm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ inputs:
version:
description: 'Version of Keycloak'
required: false
default: 17.0.1
runs:
using: "composite"
steps:
- name: Setup kcadm
shell: bash
run: |
KEYCLOAK_VERSION=${{ inputs.version != '' && inputs.version || env.DEFAULT_KEYCLOAK_VERSION }}
curl -fsSL https://github.com/keycloak/keycloak/releases/download/${KEYCLOAK_VERSION}/keycloak-${KEYCLOAK_VERSION}.tar.gz | tar xz
ln -s keycloak-$KEYCLOAK_VERSION keycloak && ln -s ${PWD}/keycloak/bin/kcadm.sh /usr/local/bin
kcadm.sh help
env:
KEYCLOAK_VERSION: ${{ inputs.version }}
DEFAULT_KEYCLOAK_VERSION: 24.0.5
2 changes: 1 addition & 1 deletion .github/workflows/updatecli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- uses: updatecli/updatecli-action@eb158f6fd9e425b940a6750d6318f98e050ac390 # v2.61.0

- name: Run Updatecli
run: "updatecli apply --config .updatecli/templates/github_releases.yaml --values .updatecli/values/github_releases/${{ matrix.file }}"
run: "updatecli apply -c .updatecli/templates/github_releases.yaml -v .updatecli/values/github_releases/${{ matrix.file }}"
env:
UPDATECLI_GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
USERNAME: ${{ github.actor }}
Expand Down
11 changes: 11 additions & 0 deletions .updatecli/values/github_releases/kcadm.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
github:
prefix: 'build(deps)'
message: 'bump kcadm to {{ source "lastRelease" }}'

github_release:
owner: 'keycloak'
repo: 'keycloak'

target:
file: '.github/actions/setup-kcadm/action.yml'
key: '$.runs.steps[0].env.DEFAULT_KEYCLOAK_VERSION'
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v5.29.5
v5.29.6

0 comments on commit 4b5213d

Please sign in to comment.