Skip to main content

pr-upgrade

Last updated on

How to upgrade using the Pull Request Process

Starting from HSF 2.2.5 you will get a pull request notification email when a new update is released.

To Update:

Review Code Changes

  1. Go into Harness Code Repository → Pull Requests → All

    • Review each of the open Pull Requests for the harness-solutions-factory and harness-template-libraryx repositories. We will be merging all of them in to update the version of HSF.
  2. Go into harness-solutions-factory → Changes → Click Approve at the top right. You can see everything that has changed in this version.

    note

    To be able to Approve you need to be a member of the HSF Mirror Reviewers. To be part of this user group, the person needs to be part of the organization. Make sure the send email notification option is checked.

  3. Go back to Conversation → Click Confirm Fast-Forward Merge

  4. Do the same thing for harness-template-library

    • Review modification in Changes, click Approve, and click Confirm Merge
    • Before continuing, verify no additional Pull Requests are opened. At this point we have updated the source code and now we need to upgrade the installation.

Update Core Framework Configurations

  1. Go into Pipelines in the Solutions Factory Project

  2. Run Manage Pilot Light → Approve Changes (Review) → Approve Now

  3. Go into IaCM Workspaces → Harness Solutions Factory

    • Go into Connectors and Variables and add the variables:
      Variable KeyValue
      should_use_hsf_hubfalse
      should_use_harness_idptrue
    • Save Changes
  4. Wait for Manage Pilot Light to finish and then run Deploy Solutions Factory

  5. Update is complete!