2-3-upgrade
Last updated on
Manual Upgrades for Versions Older Than 2.2.5
If you have a version older than 2.2 go into IDP and remove all HSF workflows from IDP. You will need to do this because of IDP 2.0 changes we will need to reregister new workflows.
To Update:
- Go into the
Solutions Factoryproject → Pipelines and runMirror Harness Official Solutions Factory - Go into
Solutions Factoryproject → IaCM Workspaces →Pilot Light- Go into Configuration → Change the OpenTofu version to at least 1.10.0 → Save Changes (because we restructured how things are deployed and need the ability to
- Go into Connectors and Variables
- Remove
delegate_selectorsas it is no longer used - Change the
provider_versionto match the version of OpenTofu that you set above
- Remove
- Run
Manage Pilot Light - Run
Manage Pilot Lightagain because the above run introduces a new step in the post configuration that is needed for the upgrade - Go into IaCM Workspaces →
Harness Solutions Factory- Go into Configurations and add tags
source:hsf_systemandtype:solutions-factory - Update the OpenTofu version to the same version that you set above
- Modify Default Pipelines for all four pipelines to be
Deploy Solutions Factory→ Save Changes - Go into Connectors and Variables
- Remove
delegate_selectors,project_id, andorganization_idandorganizationsthese are no longer needed and should not be modified. - Change the
provider_versionto match the version of OpenTofu that was set - Verify these variables exist, if not add:
Variable Key Value hsf_pipeline_connector_ref org.hsf_dockerhub_connector hsf_script_mgr_image harnesssolutionfactory/harness-python-api-sdk:latest hsf_idp_resource_mgr_image harnesssolutionfactory/harness-idp-resource-manager:latest hsf_iacm_manager_plugin harnesssolutionfactory/harness-manage-iacm-workspace:latest enable_hsf_mini_factory false should_use_hsf_hub false should_use_harness_idp true - Save Changes
- Remove
- Go into Configurations and add tags
- Run
Deploy Solutions Factory - If you’re doing an upgrade from pre 2.2 run
Bulk Workspace IDP Registration - The upgrade is now complete!