Upgrading Docker Compose
Upgrade your Docker Compose installation.
Before you begin
/home/.ucv/settings.json
file
on the computer where you installed the product. If the user upgrading the product is
not the user who installed it, ensure that the settings.json
file is
copied to the upgrading user's /home/.ucv
directory before upgrading. About this task
When you run the installer, it checks for an existing installation. If the installer finds a previous version, it uses installed properties, such as your product access key, and assumes that you are upgrading the product.
- Consult the system requirements and ensure your existing environment that meets Velocity needs. See system requirements.
- Consult the upgrade notes for the latest information that must be considered before starting upgrading. For example, MongoDB migration.
Upgrade
The upgrade instructions describes upgrading the product on all supported operating systems. The downloaded executable file steps you through the upgrade process and sets your upgrade parameters.
Procedure
-
Download the installation file for your environment and access key to authorize
the configuration and installation. You can download the installation file by
using anyone of the following options,
- FlexNet Operations Download Center for Velocity
version 5.0.8 or earlier
Visit the FlexNet download center, navigate to the Velocity product and select the required version. Download Velocity installer for your local environment and access key.
- My HCLSoftware portal for Velocity
version 5.0.9 or later
Visit My HCLSoftware portal, navigate to the Velocity product and select the required version. Download Velocity installer for your local environment and access key.
- Free trial edition
Complete the form and click Get HCL DevOps Velocity Today. After few minutes, you will receive an email containing download links and an access key for free trial edition.
Note: Velocity does not perform malware scanning on the installed files. It is recommended that end users implement malware scanning as appropriate for their environment before installing and running the Velocity in their environment. - FlexNet Operations Download Center for Velocity
version 5.0.8 or earlier
-
Run the downloaded executable file.
Note: For macOS and Linux installations, set the appropriate permissions before running the file:
sudo chmod +x
.Note: Velocity does not perform malware scanning on the installed files. It is recommended that end users implement malware scanning as appropriate for their environment before installing and running the Velocity in their environment. -
Complete installation by responding to the prompts described in the following steps.
When the script starts, you are prompted to accept the license. You can explicitly accept the license without viewing it by appending the following parameter to the command:
./<velocity-installation-file>--license=accept
- Velocity is installed successfully.
-
Run the server by changing to the directory where you installed the product,
and start Docker Compose. For example:
[installation folder] docker compose up -d
- If you replaced the original certificate with your own version, copy it to the [installation folder]product_version_number/conf/ssl folder.
-
Test the upgrade by changing to the directory where you installed the product,
[installation folder]product_version_number and start
Docker Compose. For example:
[installation folder]1.2.4 docker compose up -d
-
Access the Velocity Web UI. The URL is https://hostname:port, where
hostname
andport
are the values that you set during upgrade.
What to do next
Migrate overrides file
If you use an
override.yml
file, copy it from the original installation
directory to the [installation folder]product_version_number/
folder. Restart Velocity for the changes to take effect.
Migrate SSL certificates
If you replaced the original certificate with your own version, copy it to the [installation folder]product_version_number/conf/ssl folder. Restart Velocity for the changes to take effect.