Update [RFC] Development & Deployment Process for Brotherton

steffeydev 2025-01-11 18:52:48 +00:00
parent 29e3133c86
commit 6d1b085e7d

@ -13,6 +13,7 @@ Before we switch to this new process, we should backup the prod database and app
### Building custom images ### Building custom images
Make sure version is the same for erpnext, hrms, and frappe
```sh ```sh
export APPS_JSON='[ export APPS_JSON='[
{ {
@ -21,14 +22,14 @@ export APPS_JSON='[
}, },
{ {
"url": "https://github.com/frappe/hrms", "url": "https://github.com/frappe/hrms",
"branch": "version-15" "branch": "v15.15.0"
} }
]' ]'
export APPS_JSON_BASE64=$(echo ${APPS_JSON} | base64 -w 0) export APPS_JSON_BASE64=$(echo ${APPS_JSON} | base64 -w 0)
export TAG=1.0.0 # Change this export TAG=1.0.0 # Change this
docker build --platform=linux/amd64 \ docker build --platform=linux/amd64 \
--build-arg=FRAPPE_PATH=https://github.com/frappe/frappe \ --build-arg=FRAPPE_PATH=https://github.com/frappe/frappe \
--build-arg=FRAPPE_BRANCH=version-15 \ --build-arg=FRAPPE_BRANCH=v15.15.0 \
--build-arg=PYTHON_VERSION=3.11.6 \ --build-arg=PYTHON_VERSION=3.11.6 \
--build-arg=NODE_VERSION=18.18.2 \ --build-arg=NODE_VERSION=18.18.2 \
--build-arg=APPS_JSON_BASE64=$APPS_JSON_BASE64 \ --build-arg=APPS_JSON_BASE64=$APPS_JSON_BASE64 \