Skip to content

Commit

Permalink
Fix Java SDK example build issue and update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
lennartdohmann committed Oct 25, 2024
1 parent 0c995b3 commit 143f175
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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'
Expand Down

0 comments on commit 143f175

Please sign in to comment.