-
Notifications
You must be signed in to change notification settings - Fork 197
Migration guide
☝️ Before starting, ensure to create a backup of ReportPortal
The previous versions of the migrations are located here
- Review changes by comparing GitHub release tags: reportportal-24.1.0...reportportal-24.2.0
☝️ Please note that the double-entry values and environments have been removed from version 24.2.0
- Merge changes from master branch to your own repository or local files.
- Change your own
values.yaml
regarding new values and image versions. Release 24.2.0 changes:- Service API has the new AMQP settings instead of
queues
. - RabbitMQ now requires additional plugins to ensure proper functionality of ReportPortal.
- If you're using your own RabbitMQ instance, please upgrade your RabbitMQ Helm chart or instance to install the necessary plugins. Note that RabbitMQ v3.12+ is required for the shovel plugin. Required Plugins:
- All the ReportPortal services changed images to new versions. Check latest from the dockerhub.
- Service API has the new AMQP settings instead of
- Upgrade ReportPortal using the following command:
- Local path:
helm upgrade --install my-release ./reportportal
- From the Helm Chart repository:
helm repo add reportportal https://reportportal.io/kubernetes helm repo update reportportal helm upgrade my-release reportportal/reportportal
- Review changes by comparing GitHub release tags: reportportal-23.2.0...reportportal-24.1.0
- Merge changes from master branch to your own repository or local files.
- Change your own
values.yaml
regarding new values and image versions. Release 24.1 changes:- Service API has the new pattern analysis and immediate IA configuration values.
- Service API values sets the frequency of launching the CRON, which terminates the launches if they remain in an
in-progress
state for an extended period. - Service Jobs included a new CRON jobs to cleaning events values.
- All the ReportPortal services changed images to new
5.11.0
versions. Check the dockerhub.
- Upgrade ReportPortal using the following command:
- Local path:
helm upgrade --install my-release ./reportportal
- From the Helm Chart repository:
helm repo add reportportal https://reportportal.io/kubernetes helm repo update reportportal helm upgrade my-release reportportal/reportportal
☝️ Please note that chart versions and product release versions are now managed separately. Read here
- Review changes by comparing GitHub release tags: reportportal-24.1.0...reportportal-25.5.30
- Upgrade ReportPortal using the following command:
- Local path:
helm upgrade --install my-release ./reportportal
- From the Helm Chart repository:
helm repo add reportportal https://reportportal.io/kubernetes helm repo update reportportal helm upgrade my-release reportportal/reportportal
☝️ Please note that chart versions and product release versions are now managed separately. Read here
This migration guide covers upgrading to ReportPortal version 25.1.6. The migration process varies depending on your current setup and dependencies.
⚠️ This guide applies only to installations with locally deployed dependencies; cloud or SaaS users should upgrade dependency versions according to their platform’s documentation.
Review changes by comparing GitHub release tags: reportportal-24.1.0...reportportal-25.1.6
- No migration required for RabbitMQ and OpenSearch dependencies
- These services can be upgraded directly without data migration
If you're using the built-in PostgreSQL dependency, follow these steps:
-
Create a database backup:
# Get the current PostgreSQL pod name kubectl get pods -l app.kubernetes.io/name=postgresql # Create a database dump kubectl exec -it my-release-postgresql-0 -- \ bash -c "PGPASSWORD='rppassword' pg_dump -U postgres reportportal" \ > reportportal_backup.sql
-
Uninstall the previous ReportPortal release:
helm uninstall my-release
-
Install PostgreSQL standalone:
# Add Bitnami repository if not already added helm repo add bitnami https://charts.bitnami.com/bitnami helm repo update # Install standalone PostgreSQL with the same credentials # Note: PVC name will be data-postgresql-standalone-postgresql-0 helm install postgresql-standalone \ --set auth.postgresPassword=rppassword \ --set auth.username=postgres \ --set auth.password=rppassword \ --set auth.database=reportportal \ --set primary.persistence.size=8Gi \ --version 16.7.21 \ bitnami/postgresql
-
Restore the database:
# Get the standalone PostgreSQL pod name kubectl get pods -l app.kubernetes.io/name=postgresql # Restore the database kubectl exec -i postgresql-standalone-0 -- \ bash -c "PGPASSWORD='rppassword' psql -U postgres reportportal" \ < reportportal_backup.sql
-
Uninstall standalone PostgreSQL (keeping volume):
# Uninstall PostgreSQL but keep the PVC (default behavior) helm uninstall postgresql-standalone # Verify the PVC is still there and note the exact name kubectl get pvc | grep standalone # The PVC name should be: data-postgresql-standalone-0
-
Install ReportPortal with external PostgreSQL:
# Install ReportPortal pointing to the standalone PostgreSQL PVC helm install my-release \ --set postgresql.install=true \ --set postgresql.primary.persistence.existingClaim=data-postgresql-standalone-0 \ --version 25.8.8 \ reportportal/reportportal
- Backup your data before starting the migration
- Test the migration in a non-production environment first
- Monitor the upgrade process and check pod status after migration
- Verify data integrity after the migration is complete