From 4144bd111554dc2abde23784b6554632a1848a14 Mon Sep 17 00:00:00 2001 From: epistemophiliac Date: Tue, 16 Jun 2026 17:56:24 -0400 Subject: [PATCH] Target epistemophiliac/erpnext and extend CI for Coolify deploy Point docs at the new Forgejo repo, add compose render artifact upload, and verify the pinned frappe/erpnext image pulls in CI before Coolify deploy. --- .github/workflows/production-readiness.yml | 24 +++++++++++++++++----- README.md | 2 +- docs/COOLIFY_DEPLOY.md | 2 +- 3 files changed, 21 insertions(+), 7 deletions(-) diff --git a/.github/workflows/production-readiness.yml b/.github/workflows/production-readiness.yml index fd43a1d..6c63de8 100644 --- a/.github/workflows/production-readiness.yml +++ b/.github/workflows/production-readiness.yml @@ -7,7 +7,7 @@ on: branches: [main] concurrency: - group: production-erpnext-${{ github.ref }} + group: erpnext-${{ github.ref }} cancel-in-progress: true jobs: @@ -26,14 +26,28 @@ jobs: run: bash scripts/ci/validate-docker-compose.sh . compose-smoke: - name: docker compose config + name: Render and validate stack runs-on: ubuntu-latest needs: readiness steps: - uses: actions/checkout@v4 - - name: Compose config (strip Coolify-only keys) + - name: Render Coolify-safe compose (strip Coolify-only keys) run: | - sed '/exclude_from_hc:/d' docker-compose.yml > docker-compose.validate.yml - docker compose -f docker-compose.validate.yml config -q + mkdir -p dist + sed '/exclude_from_hc:/d' docker-compose.yml > dist/docker-compose.coolify.yml + docker compose -f dist/docker-compose.coolify.yml config -q echo "compose config OK" + + - name: Verify upstream ERPNext image is pullable + run: | + VERSION="$(grep -E '^ERPNEXT_VERSION=' example.env | cut -d= -f2)" + docker pull "frappe/erpnext:${VERSION}" + echo "frappe/erpnext:${VERSION} OK" + + - name: Upload rendered compose artifact + uses: actions/upload-artifact@v4 + with: + name: coolify-compose + path: dist/docker-compose.coolify.yml + if-no-files-found: error diff --git a/README.md b/README.md index 12a7fa7..b5582fc 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Validated Docker Compose stack for [ERPNext](https://erpnext.com) on [Coolify](https://coolify.io), derived from [frappe/frappe_docker](https://github.com/frappe/frappe_docker). -**Repository:** https://git.aexoradao.com/epistemophiliac/production-erpnext +**Repository:** https://git.aexoradao.com/epistemophiliac/erpnext ## Quick start (Coolify) diff --git a/docs/COOLIFY_DEPLOY.md b/docs/COOLIFY_DEPLOY.md index 1c0f992..783ed0b 100644 --- a/docs/COOLIFY_DEPLOY.md +++ b/docs/COOLIFY_DEPLOY.md @@ -11,7 +11,7 @@ | Setting | Value | |---------|--------| | Type | Docker Compose | -| Repository | `https://git.aexoradao.com/epistemophiliac/production-erpnext` | +| Repository | `https://git.aexoradao.com/epistemophiliac/erpnext` | | Branch | `main` | | Compose file | `docker-compose.yml` |