Skip to content

Commit

Permalink
java api smoke test
Browse files Browse the repository at this point in the history
  • Loading branch information
fwilhe committed May 16, 2024
1 parent beb9834 commit 199bcbc
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ingest-snapshot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,20 @@ jobs:
chmod 0600 ~/.pgpass
pg_dump --column-inserts -h postgres -p 5432 -U glvd glvd > glvd.sql
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'

- name: Java Api Smoke test (with full db)
run: |
git clone https://github.com/gardenlinux/glvd-api/
cd glvd-api
./gradlew bootRun &
sleep 10
curl 'http://localhost:8080/v1/cves/debian/debian_linux/trixie' -X GET
- uses: actions/upload-artifact@v4
with:
name: glvd.sql
Expand Down

0 comments on commit 199bcbc

Please sign in to comment.