Fix operator CI installing modules locally

This commit is contained in:
andreaTP 2022-06-20 09:50:11 +01:00 committed by Bruno Oliveira da Silva
parent 781183e551
commit 36d258537a

View file

@ -80,7 +80,7 @@ jobs:
- name: Test operator running locally - name: Test operator running locally
run: | run: |
mvn clean verify -Poperator -pl :keycloak-operator -am \ mvn clean install -Poperator -pl :keycloak-operator -am \
-Dquarkus.kubernetes.image-pull-policy=IfNotPresent \ -Dquarkus.kubernetes.image-pull-policy=IfNotPresent \
-Doperator.keycloak.image=keycloak:${{ steps.vars.outputs.version }} \ -Doperator.keycloak.image=keycloak:${{ steps.vars.outputs.version }} \
-Dtest.operator.custom.image=custom-keycloak:${{ steps.vars.outputs.version }} \ -Dtest.operator.custom.image=custom-keycloak:${{ steps.vars.outputs.version }} \
@ -126,7 +126,7 @@ jobs:
- name: Test operator running in cluster - name: Test operator running in cluster
run: | run: |
eval $(minikube -p minikube docker-env) eval $(minikube -p minikube docker-env)
mvn clean verify -Poperator -pl :keycloak-operator -am \ mvn clean install -Poperator -pl :keycloak-operator -am \
-Dquarkus.container-image.build=true \ -Dquarkus.container-image.build=true \
-Dquarkus.kubernetes.image-pull-policy=IfNotPresent \ -Dquarkus.kubernetes.image-pull-policy=IfNotPresent \
-Doperator.keycloak.image=keycloak:${{ steps.vars.outputs.version }} \ -Doperator.keycloak.image=keycloak:${{ steps.vars.outputs.version }} \