ThiagoBarradas / rancher-vss-ext

Rancher Upgrader! - Upgrade, rollback and finish upgrade from Azure DevOps Pipelines
https://marketplace.visualstudio.com/items?itemName=ThiagoBarradas.rancher
MIT License
11 stars 2 forks source link

Does not work with latest Rancher #1

Open norcis opened 4 years ago

norcis commented 4 years ago

I can't make it work with current version or Rancher (2.3.4).

First of all url changed from http://rancher.mycompany.com:8080/v2-beta/projects/{projectId}}/services/{serviceId} to http://rancher.mycompany.com:8080/v3/project/{projectId}/services/{serviceId}

When running I get error: "Ooops! Exception: The given key 'launchConfig' was not present in the dictionary."

Btw. Key is with none scope. If project scope is set, than Authorization error is shown.

norcis commented 4 years ago

Seems Rancher has new v3 API.

To change image uri or tag and redeplay it needs to GET / modify / PUT /v3/project/{projectid}/workloads/deployment:default:myserviceid

To redeploy without modifying image, new api action is coming soon: https://github.com/rancher/rancher/issues/23053

ThiagoBarradas commented 4 years ago

Sorry about delay!

This plugin only works with ranche 1.6

Soon I will compatibility with rancher 2.0 and update here.

norcis commented 3 years ago

Soon I will compatibility with rancher 2.0 and update here.

Any news?