Upgrading the PullRequest Proxy
There are two ways to upgrade the PullRequest proxy. The first is to manually install a new package you obtain via a link from PullRequest support. The second is to take advantage of the auto-upgrade functionality included in proxy version
To manually upgrade, you'll first have to stop the PullRequest Proxy service from running:
systemctl stop pullrequest-proxy
Now, go ahead and switch to the
pullrequestuser and install the new package over top of the old one:
curl <proxy_url> --output - | tar zxvf -
Now, a simple
startfor the service should bring in the new version:
systemctl start pullrequest-proxy
Auto-Upgrade is a new feature included in proxy releases
1.0.0onwards. It uses the existing environment to manage multiple versions of the proxy software. As such, it's a convenient way for the PullRequest application to upgrade your proxy to the latest release automatically without having to schedule downtime to perform the manual upgrade.
As this feature is enabled by default, most users won't have to perform any action to take advantage of it. However, if you do not want the proxy to upgrade automatically, you may turn this feature off from your organization's status page on https://app.pullrequest.com:
If you decide to disable auto-upgrade, you will still be able to take advantage of its functionality when a new upgrade is available, but it will require you to push the "Start Upgrade" button.
Auto-upgrade is very quick and should have a minimal effect if any on your organization's workflow. As such, we recommend that it be enabled. In this way, we can automatically roll out bug fixes and new features to on-premise customers without needing to schedule a maintenance window.