Implement Lab 7 service security
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
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
|
||||
Reference in New Issue
Block a user