To update the application to the next version execute the following sequence of actions:
Download the package provided by 3YD and copy it in a new directory on the server:
mkdir -p 3yd_v_XXX && cd 3yd_v_XXX
Download the archive package from the link provided by the 3YD Technical Support team:
curl -o 3yd_v_XXX.tgz “Download Link“
Unpack the archive
tar zxvf 3yd_v_XXX.tgz
Copy the root
values.yaml
file from the old installation directory in the new onecp /path-to/3yd_v_XXX(OLD FOLDER)/values.yaml /path-to/3yd_v_XXX(NEW FOLDER)/values.yaml
Apply the update by running the upgrade script
./upgrade.sh
For servers running on minimum resource spec the upgrade.sh
script might fail hitting the limit of CPU and Memory. Use the following method to upgrade to the next version:
Uninstall the old version
./helm uninstall order-management
Install the new version
./helm upgrade -i order-management -f configure/values-on-premise.yaml -f=values.yaml chart/order-management-*.tgz