0a8bfc9bcc
CI/CD Pipeline / Build Staging API Image (push) Failing after 24s
CI/CD Pipeline / Build Staging Web Image (push) Failing after 29s
CI/CD Pipeline / Build Staging Worker Image (push) Failing after 29s
CI/CD Pipeline / Staging API Integration Tests (push) Failing after 1412h26m44s
CI/CD Pipeline / ACR Image Cleanup (push) Failing after 1412h26m45s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Failing after 1412h26m46s
CI/CD Pipeline / Production Browser E2E (push) Failing after 1412h27m12s
CI/CD Pipeline / Build Production Worker Image (push) Failing after 1412h27m14s
CI/CD Pipeline / Build Production Web Image (push) Failing after 1412h27m15s
CI/CD Pipeline / Build Production API Image (push) Failing after 1412h27m15s
CI/CD Pipeline / Check if frontend-only change (push) Failing after 1412h27m17s
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been skipped
CI/CD Pipeline / Unit Tests (push) Has been skipped
CI/CD Pipeline / Integration Tests (push) Has been skipped
CI/CD Pipeline / Frontend Lint (push) Has been skipped
CI/CD Pipeline / Frontend Unit Tests (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Failing after 1412h59m20s
CI/CD Pipeline / Staging E2E Tests (push) Failing after 1412h58m51s
Co-authored-by: xiaoxia <dev@xiaoxiajianji.com> Co-committed-by: xiaoxia <dev@xiaoxiajianji.com>
15 lines
409 B
Bash
Executable File
15 lines
409 B
Bash
Executable File
#!/bin/sh
|
|
# CI 公共步骤:Job 结束计时统计
|
|
set +eu
|
|
if [ -n "$JOB_START_TIME" ]; then
|
|
END_TIME=$(date +%s)
|
|
DURATION=$((END_TIME - JOB_START_TIME))
|
|
MINS=$((DURATION / 60))
|
|
SECS=$((DURATION % 60))
|
|
echo "JOB_DURATION_SECONDS=$DURATION" >> $GITHUB_ENV
|
|
echo "=== Job Duration: ${MINS}m${SECS}s ==="
|
|
else
|
|
echo "JOB_DURATION_SECONDS=0" >> $GITHUB_ENV
|
|
echo "=== Job Duration: unknown ==="
|
|
fi
|