forked from mtusi2026/mtusi2026lab7
feat: core func lab7
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
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
|
||||
Reference in New Issue
Block a user