ci: verify lab7 over HTTPS

This commit is contained in:
2026-11-04 23:05:11 +03:00
parent 58c9bb027b
commit ba7aabede2
3 changed files with 41 additions and 39 deletions
+7 -5
View File
@@ -1,10 +1,10 @@
name: Lab 6 incidents
name: Lab 7 inherited incidents
on:
workflow_dispatch:
concurrency:
group: lab6-incidents-${{ github.repository }}-${{ github.ref }}
group: lab7-incidents-${{ github.repository }}-${{ github.ref }}
cancel-in-progress: false
jobs:
@@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 35
env:
COMPOSE_PROJECT_NAME: mtusi2026lab6-incidents-${{ github.run_id }}
COMPOSE_PROJECT_NAME: mtusi2026lab7-incidents-${{ github.run_id }}
API_BIND_ADDRESS: 127.0.0.1:0
SWAGGER_BIND_ADDRESS: 127.0.0.1:0
PROMETHEUS_BIND_ADDRESS: 127.0.0.1:0
@@ -34,7 +34,8 @@ jobs:
- name: Prepare stack
run: |
cp lab6.env.example .env
cp lab7.env.example .env
./infra/pki/bootstrap.sh
docker compose config --quiet
docker compose up -d --build --scale api=2 --wait --wait-timeout 180
docker network connect "${COMPOSE_PROJECT_NAME}_application" "$HOSTNAME"
@@ -44,7 +45,8 @@ jobs:
- name: Reproduce SLO incidents
run: |
ENV_FILE=.env \
BASE_URL=http://nginx:8080 \
BASE_URL=https://nginx:8443 \
CA_FILE=.runtime/security/public-ca/ca.crt \
PROMETHEUS_URL=http://prometheus:9090 \
TEMPO_URL=http://tempo:3200 \
LOKI_URL=http://loki:3100 \