Skip to content

Commit

Permalink
Run discovery test last
Browse files Browse the repository at this point in the history
  • Loading branch information
ronenh committed Jan 9, 2025
1 parent dcdfc26 commit e910a7d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,6 @@ jobs:
TOPAZ_CERTS_DIR: ${{ env.TOPAZ_CERTS_DIR }}
run: |
uv run --project tools/ktest tools/ktest/ktest.py charts/topaz/test/tests.yaml
-
name: Test Discovery
timeout-minutes: 10
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TOPAZ_CERTS_DIR: ${{ env.TOPAZ_CERTS_DIR }}
run: |
uv run --project tools/ktest tools/ktest/ktest.py charts/discovery/test/tests.yaml
-
name: Deploy Postgres
run: |
Expand Down Expand Up @@ -134,3 +126,11 @@ jobs:
TOPAZ_CERTS_DIR: ${{ env.TOPAZ_CERTS_DIR }}
run: |
uv run --project tools/ktest tools/ktest/ktest.py charts/directory/test/tests.yaml
-
name: Test Discovery
timeout-minutes: 10
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TOPAZ_CERTS_DIR: ${{ env.TOPAZ_CERTS_DIR }}
run: |
uv run --project tools/ktest tools/ktest/ktest.py charts/discovery/test/tests.yaml
3 changes: 2 additions & 1 deletion charts/discovery/test/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@ tests:
curl -H "Authorization:basic discovery-root-key" -H "aserto-tenant-id:4f71c224-e742-11ee-86df-00ba61ff9342"
http://localhost:8383/api/v2/discovery/test-policy/test-policy/opa
cleanup:
- "true"
- >
true

0 comments on commit e910a7d

Please sign in to comment.