Skip to content

Commit

Permalink
Run the operator locally to verify dev env in GH actions (keycloak#10150
Browse files Browse the repository at this point in the history
)
  • Loading branch information
andreaTP authored Feb 16, 2022
1 parent 089c2df commit c826bab
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/operator-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit c826bab

Please sign in to comment.