Skip to content

Commit

Permalink
update migration image
Browse files Browse the repository at this point in the history
  • Loading branch information
ypoplavs committed Jan 9, 2025
1 parent 2433481 commit 3460eba
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/sync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ enterprise_worker_service_app_version=$("$update_script" -c testkube-worker-serv

# Update the values.yaml in the enterprise chart
echo "Updating testkube-cloud-api version in testkube-enterprise Helm chart to $enterprise_api_app_version"
yq eval -i '.testkube-cloud-api.migrationImage.tag = env(enterprise_api_app_version)' "charts/testkube-enterprise/values.yaml"
echo "Updating testkube-migrations version in testkube-enterprise Helm chart to $enterprise_api_app_version"
yq eval -i '.testkube-cloud-api.image.tag = env(enterprise_api_app_version)' "charts/testkube-enterprise/values.yaml"
echo "Updating testkube-cloud-api version in testkube-enterprise Helm chart for local-install values file to $enterprise_api_app_version"
yq eval -i '.testkube-cloud-api.image.tag = env(enterprise_api_app_version)' "charts/testkube-enterprise/local-values.yaml"
Expand All @@ -35,6 +37,8 @@ echo "Updating testkube-worker-service version in testkube-enterprise Helm chart
yq eval -i '.testkube-worker-service.image.tag = env(enterprise_worker_service_app_version)' "charts/testkube-enterprise/local-values.yaml"
echo "Updating testkube-cloud-api version in testkube-cloud-api values.yaml to $enterprise_api_app_version"
yq eval -i '.image.tag = env(enterprise_api_app_version)' "charts/testkube-cloud-api/values.yaml"
echo "Updating testkube-migrations version in testkube-cloud-api values.yaml to $enterprise_api_app_version"
yq eval -i '.migrationImage.tag = env(enterprise_api_app_version)' "charts/testkube-cloud-api/values.yaml"
echo "Updating testkube-cloud-ui version in testkube-cloud-ui values.yaml to $enterprise_ui_app_version"
yq eval -i '.image.tag = env(enterprise_ui_app_version)' "charts/testkube-cloud-ui/values.yaml"
echo "Updating testkube-worker-service version in testkube-worker-service values.yaml to $enterprise_worker_service_app_version"
Expand Down

0 comments on commit 3460eba

Please sign in to comment.