Upgrading Cinchy Versions

Table of Contents

1. Upgrading on Kubernetes

When it comes time to upgrade your various components, you can do so by updating the version number in your configuration files and applying the changes in ArgoCD.

1.1. Configuring to the Newest Version

  1. 1.
    Navigate to the cinchy.kubernetes repository
    1. 1.
      Navigate to environment_kustomizations_template/instance_template/<component>
    2. 2.
      In the kustomizations.yaml, replace the version name/number with the instance that you wish to deploy.
  2. 2.
    For example: cinchy.idp:development becomes cinchy.idp:v5.0.68
1
- op: replace
2
path: /spec/template/spec/containers/0/image
3
value: 204393242335.dkr.ecr.ca-central-1.amazonaws.com/cinchy.idp:development
Copied!

1.2. Apply your Configurations

If your environment is not set-up to automatically apply upon configuration, complete the following the apply the newest version:
  1. 1.
    Navigate to the ArgoCD portal.
  2. 2.
    Refresh your component(s). If that does not work, re-sync.

2. Upgrading on IIS

  1. 1.
    Backup your current Cinchy and CinchySSO folders.
  2. 2.
    Extract the new build for the version you wish to upgrade to.
  3. 3.
    Swap out the following configs with your current instance configs:
    1. 1.
      Cinchy/web.config
    2. 2.
      CinchySSO/appsettings.json
    3. 3.
      Log4net.config
    4. 4.
      Web.config
  4. 4.
    Execute the following command:
1
iisreset -stop
Copied!
5. Replace the Cinchy and CinchySSO folders with the new build and your merged configs.
6. Execute the following command:
1
iisreset -start
Copied!
7. Start Cinchy in your browser.