mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-10 15:32:05 -03:30
Run the operator locally to verify dev env in GH actions (#10150)
This commit is contained in:
parent
089c2df391
commit
c826bab01d
12
.github/workflows/operator-ci.yml
vendored
12
.github/workflows/operator-ci.yml
vendored
@ -50,9 +50,17 @@ jobs:
|
||||
eval $(minikube -p minikube docker-env)
|
||||
docker build --build-arg KEYCLOAK_DIST=$(ls keycloak-*.tar.gz) . -t keycloak:${GITHUB_SHA}
|
||||
|
||||
- name: Build , deploy and test operator in minikube
|
||||
- name: Test operator running locally
|
||||
working-directory: operator
|
||||
run: |
|
||||
mvn clean verify \
|
||||
-Dquarkus.kubernetes.deployment-target=kubernetes \
|
||||
-Doperator.keycloak.image=keycloak:${GITHUB_SHA} \
|
||||
-Doperator.keycloak.image-pull-policy=Never
|
||||
|
||||
- name: Test operator running in cluster
|
||||
working-directory: operator
|
||||
run: |
|
||||
cd operator
|
||||
eval $(minikube -p minikube docker-env)
|
||||
mvn clean verify \
|
||||
-Dquarkus.container-image.build=true -Dquarkus.container-image.tag=test \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user