Upgrading Pipelines Chart Version 1.x to 2.x and Above

JFrog Installation & Setup Documentation

Content Type
Installation & Setup
ft:sourceType
Paligo

Warning

Before you upgrade, ensure that the operating system version that you use is supported. See System Requirements for detailed information on operating system support.

Due to breaking changes in the RabbitMQ subchart (6.x to 7.x chart version when rabbitmq.enabled=true) and PostgreSQL subchart (8.x to 9.x chart version when postgresql.enabled=true), you must run the following manual commands (downtime is required).

kubectl --namespace <namespace> delete statefulsets <release_name>-pipelines-services
kubectl --namespace <namespace> delete statefulsets <release_name>-pipelines-vault
kubectl --namespace <namespace> delete statefulsets <release_name>-postgresql
kubectl --namespace <namespace> delete statefulsets <release_name>-rabbitmq
kubectl --namespace <namespace> delete pvc data-<release_name>-rabbitmq-0
 
helm upgrade --install pipelines --namespace <namespace> jfrog/pipelines

For more information about the breaking changes in RabbitMQ, click here.

For the Pipelines chart, refer to the Pipelines Changelog.

Important

Make sure all existing Pipelines build runs are completed (i.e., the RabbitMQ queues are empty) when you begin an upgrade.

Note that the RabbitMQ password configuration in the values.yaml file has changed from rabbit.rabbit.password to rabbit.auth.password.

Note

It is recommended that, after upgrading Pipelines, you re-initialize all static nodes to take advantage of new features.