Jenkins sh steps use dash; move compose validation into a bash script like the other CI stages.
13 lines
438 B
Bash
Executable file
13 lines
438 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
|
|
bash scripts/ci/jenkins-compose-validate.sh
|
|
bash scripts/ci/jenkins-pull-image.sh
|