From 5fa9a490afa990f4ea8a0f692d393de8b3037e34 Mon Sep 17 00:00:00 2001 From: Florian Wilhelm <2292245+fwilhe@users.noreply.github.com> Date: Thu, 16 May 2024 16:04:21 +0200 Subject: [PATCH] test --- .github/workflows/ingest-snapshot.yaml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ingest-snapshot.yaml b/.github/workflows/ingest-snapshot.yaml index 27647b3..954be1c 100644 --- a/.github/workflows/ingest-snapshot.yaml +++ b/.github/workflows/ingest-snapshot.yaml @@ -27,6 +27,10 @@ jobs: --health-retries 5 ports: - 5432:5432 + api: + image: ghcr.io/gardenlinux/glvd-api:edge_bare + ports: + - 8080:8080 steps: - name: Check out repository code @@ -90,18 +94,8 @@ 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