Each check runs in its own pipeline stage (readiness, compose, image pull) so Jenkins shows clear pass/fail per section. Co-authored-by: Cursor <cursoragent@cursor.com>
18 lines
597 B
Bash
Executable file
18 lines
597 B
Bash
Executable file
#!/usr/bin/env bash
|
|
# Local / all-in-one CI runner (same checks as Jenkinsfile stages).
|
|
set -euo pipefail
|
|
|
|
echo "=== erpnext CI (local) ==="
|
|
echo "commit: $(git rev-parse --short HEAD 2>/dev/null || echo unknown)"
|
|
|
|
chmod +x scripts/ci/*.sh
|
|
bash scripts/ci/ci-readiness.sh .
|
|
bash scripts/ci/validate-docker-compose.sh .
|
|
bash scripts/ci/jenkins-bootstrap.sh
|
|
|
|
# shellcheck source=/dev/null
|
|
source .ci-bin/ci-env.sh
|
|
mkdir -p dist
|
|
sed '/exclude_from_hc:/d' docker-compose.yml > dist/docker-compose.coolify.yml
|
|
$COMPOSE -f dist/docker-compose.coolify.yml config -q
|
|
bash scripts/ci/jenkins-pull-image.sh
|