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.
This commit is contained in:
parent
0c8d593d40
commit
4144bd1115
3 changed files with 21 additions and 7 deletions
24
.github/workflows/production-readiness.yml
vendored
24
.github/workflows/production-readiness.yml
vendored
|
|
@ -7,7 +7,7 @@ on:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: production-erpnext-${{ github.ref }}
|
group: erpnext-${{ github.ref }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
@ -26,14 +26,28 @@ jobs:
|
||||||
run: bash scripts/ci/validate-docker-compose.sh .
|
run: bash scripts/ci/validate-docker-compose.sh .
|
||||||
|
|
||||||
compose-smoke:
|
compose-smoke:
|
||||||
name: docker compose config
|
name: Render and validate stack
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: readiness
|
needs: readiness
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Compose config (strip Coolify-only keys)
|
- name: Render Coolify-safe compose (strip Coolify-only keys)
|
||||||
run: |
|
run: |
|
||||||
sed '/exclude_from_hc:/d' docker-compose.yml > docker-compose.validate.yml
|
mkdir -p dist
|
||||||
docker compose -f docker-compose.validate.yml config -q
|
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"
|
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
|
||||||
|
|
|
||||||
|
|
@ -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).
|
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)
|
## Quick start (Coolify)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
| Setting | Value |
|
| Setting | Value |
|
||||||
|---------|--------|
|
|---------|--------|
|
||||||
| Type | Docker Compose |
|
| Type | Docker Compose |
|
||||||
| Repository | `https://git.aexoradao.com/epistemophiliac/production-erpnext` |
|
| Repository | `https://git.aexoradao.com/epistemophiliac/erpnext` |
|
||||||
| Branch | `main` |
|
| Branch | `main` |
|
||||||
| Compose file | `docker-compose.yml` |
|
| Compose file | `docker-compose.yml` |
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue