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]
|
||||
|
||||
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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
|
|
@ -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` |
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue