ARTIFACTORY: Artifactory Post-Upgrade Checklist
Artifactory is a powerful repository manager that serves as a central hub for managing software artifacts. When upgrading Artifactory, it's important to ensure that the new version is installed and configured correctly to avoid any issues that may arise due to inconsistencies or misconfigurations.
Verify the Artifactory version: Check the Artifactory version to ensure that it matches the version you intended to upgrade to.
$ curl -u<admin-user> https://<artifactory_url>/api/system/version
Verify services are running: Check that all the services that should be running are up and running. You can do this by checking the status of the Artifactory service in UI. We can also get the same information by running one of the following commands on the Artifactory server/pod by getting the topology health on the internal(8046)/external(8082) Router port.
$ curl -u<admin-user> http://localhost:8082/router/api/v1/topology/health $ curl -u<admin-user> http://localhost:8046/router/api/v1/topology/health
Test the connectivity: Test the connectivity between Artifactory and your development tools to ensure that the upgraded Artifactory is still accessible and functioning correctly.
Verify User Access and Authentication: Test user access and authentication to ensure that users(i.e internal, LDAP, SAML, etc) can still log in and access the system.
Verify that all custom configurations have been preserved: Ensure that all custom configurations have been preserved after the upgrade.
Verify repositories and artifacts: Verify that all the repositories and artifacts that were present before the upgrade are still present and accessible. We can do this by browsing the repositories in the Artifactory UI or by running the following command in the terminal:
$ curl -u<admin-user> https://<artifactory_url>/<repository_name>/path/to/artifact
Also, capture the storage summary of the Artifactory before the upgrade activity and compare it against it after the upgrade by running the following REST API call.
$ curl -u<admin-user> https:///artifactory/api/storageinfo
Verify user permissions: Verify that all the user permissions that were present before the upgrade are still intact and working as expected. You may check the permissions of a few admin and non-admin users manually or create sample post-upgrade validation builds to read/deploy the artifacts on random Artifactory repositories.
Verify plugin compatibility: Check the compatibility of any installed plugins with the upgraded Artifactory version. These plugin files were present under the $JFROG_HOME/artifactory/var/etc/artifactory/plugins directory. You may check the Artifactory logs to see if there are any issues with plugin loading during the startup.
Verify backups: Verify that any backup processes you have in place are still working as expected and that you can restore Artifactory from a backup if needed.
Verify performance: Verify that Artifactory is performing as expected and that there are no issues with response times, throughput, or other performance metrics.
Verify integration with other systems: Check that any integrations with other systems, such as CI/CD pipelines, are still working as expected.
Verify log files: Check the Artifactory system logs to ensure that there are no errors or warnings related to the upgrade. You can find the logs in the $ARTIFACTORY_HOME/var/log/ directory.
Verify Artifactory Configuration: Review the configuration settings to ensure that all settings and configurations are still valid and have not been changed or lost during the upgrade process.
Perform load testing: Perform some load testing to ensure that Artifactory can handle the expected workload.
Testing critical build pipelines:
Perform the complex/critical builds to make sure that they were working as expected after the upgrade.
It is important to perform these validations after upgrading Artifactory to ensure that your Artifactory instance is functioning properly and to avoid any issues or downtime.