#!/usr/bin/env bash # Local CI. Full image build + push: BUILD_IMAGE=1 REGISTRY_USER=... REGISTRY_PASSWORD=... bash scripts/ci/jenkins-run.sh 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 if [ "${BUILD_IMAGE:-0}" = "1" ]; then bash scripts/ci/jenkins-build-image.sh if [ -n "${REGISTRY_USER:-}" ] && [ -n "${REGISTRY_PASSWORD:-}" ]; then bash scripts/ci/jenkins-push-image.sh bash scripts/ci/jenkins-verify-image.sh else echo "Skip push: set REGISTRY_USER and REGISTRY_PASSWORD to publish" fi else echo "Skip image build (set BUILD_IMAGE=1 to build locally)" fi