forked from mtusi2026/mtusi2026lab7
Майорова Софья, БВТ2301, на 5. Трек1. HTTPS/TLS/ACL,18 API tests,13 pipeline groups,3 compromise runs,clean clone,persistence. Original tests/API contract preserved; residual CVE triage in REPORT/security.
24 lines
817 B
YAML
24 lines
817 B
YAML
name: Application
|
|
on: [push, pull_request]
|
|
permissions:
|
|
contents: read
|
|
jobs:
|
|
application:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 20
|
|
env:
|
|
BASE_URL: https://localhost:18443
|
|
CA_FILE: ${{ github.workspace }}/pki/lb/ca.crt
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.12'
|
|
- run: python3 scripts/start.py
|
|
- run: make check test test-security test-student BASE_URL=$BASE_URL CA_FILE=$CA_FILE
|
|
- run: make test-internal-security
|
|
- run: docker compose --profile tools run --rm --no-deps audit /app/student-tests/auth_and_signals.py
|
|
- run: make test-persistence ACTION_SCRIPT=scripts/restart.sh BASE_URL=$BASE_URL CA_FILE=$CA_FILE
|
|
- if: always()
|
|
run: docker compose down -v
|