Manual Upgrade for Versions Older Than 2.2.5
Manually upgrade HSF releases older than version 2.2.5.
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 FactoryGo into
Solutions Factoryproject → IaCM Workspaces →Pilot LightGo 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 usedChange the
provider_versionto match the version of OpenTofu that you set above
Run
Manage Pilot LightRun
Manage Pilot Lightagain because the above run introduces a new step in the post configuration that is needed for the upgradeGo into IaCM Workspaces →
Harness Solutions FactoryGo into Configurations and add tags
source:hsf_systemandtype:solutions-factoryUpdate the OpenTofu version to the same version that you set above
Modify Default Pipelines for all four pipelines to be
Deploy Solutions Factory→ Save ChangesGo 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 setVerify these variables exist, if not add:
Variable KeyValuehsf_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
Run
Deploy Solutions FactoryIf you’re doing an upgrade from pre 2.2 run
Bulk Workspace IDP RegistrationThe upgrade is now complete!
Last updated
Was this helpful?