For the latest updates and improvements, see the latest Cloud documentation instead.
Upgrading Codacy#
To upgrade Codacy Self-hosted to the latest stable version:
-
Check the release notes for all Codacy Self-hosted versions between your current version and the most recent version for breaking changes and follow the instructions provided carefully.
Warning
Failing to follow the steps to deal with breaking changes can cause the upgrade to fail or cause problems while Codacy is running.
In particular, Codacy Self-hosted v5.0.0 drops the support for legacy manual organizations.
Tip
To see the version of your Codacy Self-hosted instance click your avatar on the top right-hand corner of any Codacy page:
-
Store all your currently defined configuration values in a file:
helm get values codacy \ --namespace codacy \ --output yaml > codacy.yaml
Note
If you installed Codacy on a Kubernetes namespace different from
codacy
, make sure that you adjust the namespace when executing the commands in this page. -
Review the values stored in the file
codacy.yaml
, making any changes if necessary. -
Perform the upgrade using the values stored in the file:
helm repo update helm upgrade codacy codacy-stable/codacy \ --version 8.0.0 \ --namespace codacy \ --values codacy.yaml
-
Update your Codacy command-line tools to the versions with the Git tag
self-hosted-8.0.0
:
Share your feedback 📢
Did this page help you?
Thanks for the feedback! Is there anything else you'd like to tell us about this page?
255 characters left
We're sorry to hear that. Please let us know what we can improve:
255 characters left
Alternatively, you can create a more detailed issue on our GitHub repository.
Thanks for helping improve the Codacy documentation.
If you have a question or need help please contact support@codacy.com.