add attribute-endpoints-provider plugin to keycloak
Some checks failed
ci/woodpecker/push/keycloak Pipeline was successful
ci/woodpecker/cron/nextcloud/3 Pipeline was successful
ci/woodpecker/cron/nextcloud/2 Pipeline was successful
ci/woodpecker/cron/nextcloud/1 Pipeline was successful
ci/woodpecker/cron/keycloak Pipeline was successful
ci/woodpecker/cron/penpot/2 Pipeline failed
ci/woodpecker/cron/penpot/3 Pipeline failed
ci/woodpecker/cron/penpot/1 Pipeline failed
Some checks failed
ci/woodpecker/push/keycloak Pipeline was successful
ci/woodpecker/cron/nextcloud/3 Pipeline was successful
ci/woodpecker/cron/nextcloud/2 Pipeline was successful
ci/woodpecker/cron/nextcloud/1 Pipeline was successful
ci/woodpecker/cron/keycloak Pipeline was successful
ci/woodpecker/cron/penpot/2 Pipeline failed
ci/woodpecker/cron/penpot/3 Pipeline failed
ci/woodpecker/cron/penpot/1 Pipeline failed
This commit is contained in:
parent
a14f114d0f
commit
07bcd8cd16
2 changed files with 11 additions and 0 deletions
|
|
@ -30,6 +30,15 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- mkdir /woodpecker/images
|
- mkdir /woodpecker/images
|
||||||
|
|
||||||
|
- name: build-attribute-endpoints-provider
|
||||||
|
image: alpine
|
||||||
|
commands:
|
||||||
|
- apk -u add maven git
|
||||||
|
- git clone https://git.hamburg.ccc.de/CCCHH/keycloak-attribute-endpoints-provider.git
|
||||||
|
- cd keycloak-attribute-endpoints-provider
|
||||||
|
- mvn -f attribute-endpoints-provider verify
|
||||||
|
- cp attribute-endpoints-provider/target/attribute-endpoints-provider-1.0-SNAPSHOT.jar /woodpecker/src/keycloak/attribute-endpoints-provider.jar
|
||||||
|
|
||||||
- name: build-image
|
- name: build-image
|
||||||
image: gcr.io/kaniko-project/executor
|
image: gcr.io/kaniko-project/executor
|
||||||
entrypoint:
|
entrypoint:
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,10 @@ ARG TAG=latest
|
||||||
FROM quay.io/keycloak/keycloak:${TAG} as builder
|
FROM quay.io/keycloak/keycloak:${TAG} as builder
|
||||||
|
|
||||||
ENV KC_DB=postgres
|
ENV KC_DB=postgres
|
||||||
|
ENV KC_FEATURES=declarative-ui
|
||||||
|
|
||||||
WORKDIR /opt/keycloak
|
WORKDIR /opt/keycloak
|
||||||
|
ADD --chown=keycloak:keycloak --chmod=644 attribute-endpoints-provider.jar /opt/keycloak/providers/attribute-endpoints-provider.jar
|
||||||
RUN /opt/keycloak/bin/kc.sh build
|
RUN /opt/keycloak/bin/kc.sh build
|
||||||
|
|
||||||
FROM quay.io/keycloak/keycloak:${TAG}
|
FROM quay.io/keycloak/keycloak:${TAG}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue