Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

keycloak/26.0.1 package update #31438

Merged
merged 4 commits into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 12 additions & 7 deletions keycloak.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package:
name: keycloak
version: 25.0.6
version: 26.0.1
epoch: 0
description: Open Source Identity and Access Management For Modern Applications and Services
copyright:
Expand All @@ -23,9 +23,10 @@ environment:
contents:
packages:
- bash
- build-base
- busybox
- ca-certificates-bundle
- nodejs-18
- gcc-13-default
- openjdk-17
- openjdk-17-default-jvm
- wolfi-base
Expand All @@ -39,20 +40,24 @@ pipeline:
with:
repository: https://github.com/keycloak/keycloak
tag: ${{package.version}}
expected-commit: ab33487eb861829395214506c14928ed13342a2e
expected-commit: 715b95b4e6fd333658f5e0649caa8f3d1761e3ff

- uses: maven/pombump

- runs: |
gcc napi-static-assert.c -o /tmp/preload.so -fPIC -shared -ldl

- runs: |
# Keycloak installation. Note we use the maven wrapper as configured in
# the source repo to build - ensures the correct maven version for
# building the project, preventing issues such as CI hangs.

# Build and install child module (keycloak-js-adapter-jar)
./mvnw clean install -Dnode.version=$(node --version) -f adapters/oidc/js/pom.xml -q

# Build keycloak-server. Depends on `keycloak-js-adapter-jar`.
./mvnw clean install -DskipTests=true -Dnode.version=$(node --version) -Pdistribution -q
# Gross hack to work around broken NAPI ast-grep module that has
# undefined symbol: static_assert
export LD_PRELOAD=/tmp/preload.so
./mvnw clean install -DskipTests=true -Pdistribution -q
unset LD_PRELOAD

mkdir -p ${{targets.destdir}}/usr/share/java
unzip -d ${{targets.destdir}}/usr/share/java quarkus/dist/target/keycloak-*.zip
Expand Down
3 changes: 3 additions & 0 deletions keycloak/napi-static-assert.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
int static_assert(void *f()) {
return 0;
}