diff --git a/README.md b/README.md index f9e1ca8..9a6b96f 100644 --- a/README.md +++ b/README.md @@ -18,3 +18,29 @@ This connector does not contain any standalone executable code: it is intended t - [FreeMarker Documentation](https://freemarker.apache.org/docs/index.html) - [HARDIS SC NETWORK](https://auth.reflex-platform.com/) + +## Tagging & Deployment + +Steps to follow in order to create a new patch for an existing release : + +### Update the `release/x.y` branch +1. Create a branch from the `release/x.y` branch. +2. Cherry pick the relevant commits from the `develop` branch into your branch. +3. Merge your branch into the `release/x.y` branch. + +### Tag the new release patch +1. Using the [Plaform Release Management Tools](https://gitlab.hardis-group.com/r-d-technique/reflex-platform/tools), use the `tag.sh` script in order to patch the FTLs. +2. Type in `reflex-wms-connector` as the target repository. +3. Select option 4 `New build patch number (+n)`. +4. A new tag will be created for your patch. +5. Create and approve a merge request once changes are ready from the `release/x.y` branch to the `main-x.y` branch. + +### Deployment +1. On [Integration Setup Repository](https://gitlab.hardis-group.com/r-d-technique/reflex-platform/deployment/integration-setup), `source init.context.sh ` to set the environment. +2. Update the connectors versions using the latest tag created in the previous step in `env-var/versions.app.integration-.sh` +3. `./publish-ftl.sh "releases" "all" "all"` +4. From the [Platform Setup Repository](https://gitlab.hardis-group.com/r-d-technique/reflex-platform/deployment/platform-setup), `source init.context.sh ` to set the environment. +5. `./100.upgrade-release/pause-watchdog-restart-all-connections.sh` +6. `./100.upgrade-release/save-connections-status.sh` +7. `./100.upgrade-release/update-connections-ftl-save.sh` +8. `./100.upgrade-release/resume-watchdog-restart-all-connections.sh` \ No newline at end of file