Fix MinIO image pull in CI
Lab 7 checks / contracts (push) Successful in 6s
Lab 7 checks / application (push) Failing after 1m58s

This commit is contained in:
2026-11-11 15:32:54 +03:00
parent bccb425fea
commit 2cc9497f98
9 changed files with 946 additions and 15 deletions
+6 -4
View File
@@ -26,8 +26,6 @@ jobs:
application:
runs-on: ubuntu-latest
timeout-minutes: 20
env:
COMPOSE_PROJECT_NAME: lab7-ci-${{ github.run_id }}-${{ github.run_attempt }}
steps:
- name: Download source at workflow commit
env:
@@ -42,9 +40,13 @@ jobs:
--output "$archive"
tar --extract --gzip --file="$archive" --strip-components=1
- name: Check Docker runtime
env:
CI_RUN_ID: ${{ github.run_id }}
run: |
docker info --format '{{.ServerVersion}}'
docker compose version
attempt="$(python3 -c 'import secrets; print(secrets.token_hex(4))')"
printf 'COMPOSE_PROJECT_NAME=lab7-ci-%s-%s\n' "$CI_RUN_ID" "$attempt" >> "$GITHUB_ENV"
- name: Build, bootstrap and wait for both API replicas
run: scripts/start.sh
- name: Run public HTTPS smoke
@@ -52,8 +54,8 @@ jobs:
- name: Show service status after failure
if: failure()
run: |
if test -f compose.yaml; then docker compose ps --all; fi
if test -n "${COMPOSE_PROJECT_NAME:-}"; then docker compose ps --all; fi
- name: Stop CI stack
if: always()
run: |
if test -f compose.yaml; then docker compose down; fi
if test -n "${COMPOSE_PROJECT_NAME:-}"; then docker compose down; fi