Upgrading
We follow semantic versioning; minor and major version increases can have significant changes.
Upgrade Procedure
When upgrading the entire Anka Build Cloud Software, execute these steps in the following sequence:
Run
sudo ankacluster disjoinon your nodes(only needed if noted in the CLI notes matrix) Upgrade the guest addons inside existing VM templates with
anka start -u, then push the newly upgraded VM templates to registry withanka registry push {template} --tag <tag>Go to your Controller & Registry and upgrade to the latest version: [ Linux Guide OR MacOS Guide ]
Run
curl -O http://anka.controller:8090/pkg/AnkaAgent.pkg && sudo installer -pkg AnkaAgent.pkg -tgt /on your nodes to pull the latest Anka Agent binary and ensure proper communication between the CLI and the Controller API.
Anka Build Cloud upgrade note matrix
| Existing Version | Target Version | Recommendation |
|---|---|---|
| 1.2.1 | 1.5.2 | Upgrade Anka CLI package on all the hosts to atleast 2.1.X |
| 1.2.1 | 1.5.2 | Recommended to upgrade Anka Registry to version 1.5.2, if you want to use cache builder |
| 1.2.1 | 1.5.2 | Recommended to upgrade Anka Jenkins Plugin to version 1.22.2 |
| 1.2.1 | 1.5.2 | Recommended to upgrade Anka TeamCity Plugin to version 1.7.0 |
| Existing Version | Target Version | Recommendation |
|---|---|---|
| 1.3.0 | 1.5.2 | Upgrade Anka CLI package on all the hosts to atleast 2.1.X |
| 1.3.0 | 1.5.2 | Recommended to upgrade Anka Registry to version 1.5.2, if you want to use cache builder |
| 1.3.0 | 1.5.2 | Recommended to upgrade Anka Jenkins Plugin to version 1.22.2 |
| 1.3.0 | 1.5.2 | Recommended to upgrade Anka TeamCity Plugin to version 1.7.0 |
| Existing Version | Target Version | Recommendation |
|---|---|---|
| 1.4.0 | 1.5.2 | No need to upgrade Anka CLI package on hosts |
| 1.4.0 | 1.5.2 | Recommended to upgrade Anka Registry to version 1.5.2, if you want to use cache builder |
| 1.4.0 | 1.5.2 | Recommended to upgrade Anka Jenkins Plugin to version 1.22.2 but not necessary |
| 1.4.0 | 1.5.2 | Recommended to upgrade Anka TeamCity Plugin to version 1.7.0 1.22.2 but not necessary |
| Existing Version | Target Version | Recommendation |
|---|---|---|
| 1.5.0 | 1.5.2 | No need to upgrade Anka CLI package on hosts |
| 1.5.0 | 1.5.2 | Recommended to upgrade Anka Registry to version 1.5.2, if you want to use cache builder |
| 1.5.0 | 1.5.2 | Recommended to upgrade Anka Jenkins Plugin to version 1.22.2, but not necessary |
| 1.5.0 | 1.5.2 | Recommended to upgrade Anka TeamCity Plugin to version 1.7.0, but not necessary |
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.