From 143f175877985c842a01817caa9c310de3347fac Mon Sep 17 00:00:00 2001 From: Lennart Dohmann Date: Fri, 25 Oct 2024 13:14:11 +0200 Subject: [PATCH] Fix Java SDK example build issue and update dependencies --- .github/workflows/ci.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b60c570..52298ac 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -110,7 +110,8 @@ jobs: sudo echo "$(minikube ip) vaas" | sudo tee -a /etc/hosts curl -s "https://get.sdkman.io" | bash source "$HOME/.sdkman/bin/sdkman-init.sh" - sdk install gradle 8.7 + sdk install java 21.0.3-tem + sdk use java 21.0.3-tem gradle --version cd ./java/examples/VaasExample/ export SCAN_PATH=$(pwd)/build.gradle @@ -119,6 +120,9 @@ jobs: export VAAS_URL=ws://vaas/ws export TOKEN_URL=http://vaas/auth/protocol/openid-connect/token gradle fileScan + minikube kubectl -- logs -n vaas $(minikube kubectl -- get pods -n vaas -l app.kubernetes.io/name=gateway -o jsonpath="{.items[0].metadata.name}") | grep "Got verdict from store: Unknown" + gradle fileScan + minikube kubectl -- logs -n vaas $(minikube kubectl -- get pods -n vaas -l app.kubernetes.io/name=gateway -o jsonpath="{.items[0].metadata.name}") | grep "Got verdict from store: Clean" - name: Push chart if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main'