Files
mtusi2026lab7/.github/workflows/application.yml
T
dmice9 9bf101b322
Application / https-smoke (pull_request) Canceled after 0s
Skeleton contracts / contracts (pull_request) Canceled after 0s
Implement Lab 7 service security
2026-12-03 20:56:06 +03:00

21 lines
768 B
YAML

name: Application
on: [push, pull_request]
permissions:
contents: read
jobs:
https-smoke:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: python -X utf8 scripts/setup.py
- run: docker compose up -d openbao
- run: python -X utf8 scripts/bao.py configure
- run: docker compose up -d --build --wait --wait-timeout 180
- run: curl --fail --retry 20 --retry-all-errors --retry-delay 1 --cacert secrets/pki/ca.crt https://localhost:8443/health/ready
- run: make test test-security PYTHON='python -X utf8' BASE_URL=https://localhost:8443 CA_FILE=secrets/pki/ca.crt
- if: always()
run: docker compose down