Files
mtusi2026lab7/.github/workflows/application.yml
T
2026-11-24 14:04:04 +03:00

36 lines
756 B
YAML

name: Lab 7 application
on: [push, pull_request]
permissions:
contents: read
jobs:
https-smoke:
runs-on: ubuntu-24.04
timeout-minutes: 20
env:
COMPOSE_PROJECT_NAME: lab7-ci
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Generate disposable PKI and secrets
run: make init
- name: Build and wait for the stack
run: |
docker compose config --quiet
make up
- name: Check HTTPS and service identities
run: make test test-security audit-transport
- name: Stop the stack
if: always()
run: |
if test -f .env; then
docker compose ps --all
make down
fi