forked from wolfi-dev/os
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkeycloak-operator.yaml
61 lines (54 loc) · 1.62 KB
/
keycloak-operator.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
package:
name: keycloak-operator
version: 26.0.5
epoch: 0
description: A Kubernetes Operator based on the Operator SDK for installing and managing Keycloak.
copyright:
- license: Apache-2.0
dependencies:
runtime:
- openjdk-17-default-jvm
environment:
contents:
packages:
- bash
- busybox
- ca-certificates-bundle
- openjdk-17
- openjdk-17-default-jvm
- wolfi-base
- wolfi-baselayout
environment:
LANG: en_US.UTF-8
JAVA_HOME: /usr/lib/jvm/java-17-openjdk
pipeline:
- uses: git-checkout
with:
repository: https://github.com/keycloak/keycloak
tag: ${{package.version}}
expected-commit: 65c34f60f4c607074c23d5572b0233f76425ce45
- uses: maven/pombump
- runs: |
cd operator
../mvnw clean package
mkdir -p "${{targets.destdir}}"/usr/share/java
cp -r target/quarkus-app "${{targets.destdir}}"/usr/share/java/
subpackages:
- name: keycloak-operator-compat
pipeline:
- runs: |
mkdir -p "${{targets.subpkgdir}}"/opt/
ln -s /usr/share/java/quarkus-app/ "${{targets.subpkgdir}}"/opt/keycloak
test:
pipeline:
- runs: |
# This only runs in k8s but make sure it errors correctly
java -Djava.util.logging.manager=org.jboss.logmanager.LogManager -jar /usr/share/java/quarkus-app/quarkus-run.jar 2>&1 | grep "Couldn't retrieve the currently connected namespace"
update:
# The upstream repos releases contains a 'nightly' release. Which we want to
# exclude from discovery.
ignore-regex-patterns:
- '.*nightly.*'
enabled: true
github:
identifier: keycloak/keycloak