forked from mtusi2026/mtusi2026lab5
ЛР 5 — асинхронная обработка и версии pipeline
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
name: Lab 5 application
|
||||
on: [push, pull_request]
|
||||
permissions:
|
||||
contents: read
|
||||
jobs:
|
||||
compose-smoke:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 20
|
||||
env:
|
||||
COMPOSE_PROJECT_NAME: lab5-ci
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Initialize disposable configuration
|
||||
run: sh scripts/init-local.sh
|
||||
- name: Build and start
|
||||
run: docker compose --env-file .env up -d --build --wait --wait-timeout 180
|
||||
- name: Run contract smoke
|
||||
run: make check test BASE_URL=http://127.0.0.1:8085
|
||||
- name: Remove the CI project
|
||||
if: always()
|
||||
run: docker compose --env-file .env down --volumes
|
||||
Reference in New Issue
Block a user