Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thiagobarradas/rancher-vss-ext
Rancher Upgrader! - Upgrade, rollback and finish upgrade from Azure DevOps Pipelines
https://github.com/thiagobarradas/rancher-vss-ext
azure azure-devops azure-extensions azure-pipelines deploy rancher rollback typescript upgrade upgrader vss-extension
Last synced: 3 months ago
JSON representation
Rancher Upgrader! - Upgrade, rollback and finish upgrade from Azure DevOps Pipelines
- Host: GitHub
- URL: https://github.com/thiagobarradas/rancher-vss-ext
- Owner: ThiagoBarradas
- License: mit
- Created: 2019-07-04T05:43:36.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-11-29T12:30:43.000Z (about 1 year ago)
- Last Synced: 2024-07-29T17:04:49.035Z (6 months ago)
- Topics: azure, azure-devops, azure-extensions, azure-pipelines, deploy, rancher, rollback, typescript, upgrade, upgrader, vss-extension
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=ThiagoBarradas.rancher
- Size: 620 KB
- Stars: 11
- Watchers: 1
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
## Rancher Upgrader
Easy upgrade, rollback and finiish upgrade in your rancher cluster.
## Usage
Add a new task, select **Rancher Upgrader** from the **Deploy** category and configure it as needed.### Tasks:
- `Rancher Upgrader Service`
- `Rancher Rollback Last Upgrade`
- `Rancher Finish Last Upgrade`
- `Rancher Get Current Version`## Env Var Ouput:
For task `Rancher Get Current Version`:
- `RANCHER_CURRENT_IMAGE`
- `RANCHER_CURRENT_TAG`### Parameters include:
![Rancher Upgrader Parameters](images/rancher-parameters.png)
- **Service API Url**: Ranchel API URL to service. e.g. http://rancher.mycompany.com:8080/v2-beta/projects/{projectId}}/services/{serviceId}
- **Access Key**: Access Key generated in Rancher ('API' > 'Keys')
- **Secret Key**: Secret Key generated in Rancher ('API' > 'Keys')
- **Force Finish**: Force finish before upgrade, if last upgrade is pending
- **Wait Complete**: Wait upgrade and new services up
- **Image**: Image slug name or full address. e.g. docker.azurecr.io/xxx/my-image
- **Tag**: New tag. e.g. 'master-20190701.1', '1.5.3' or 'latest'
- **Install Docker**: This task needs docker to work, if you haven't it installed, check this box. Works only with linux
- **Environment Vars Prefix**: Import all env vars with this prefix to container
- **Additional Environment Vars**: Import this env vars to container## Release notes
**New in 1.1.4**
- Add env vars by prefix;
- Add env vars by name;
- Add option to install docker (only linux)**New in 1.0.18**
- Fix get current version task output;
- Add docs for env vars output;**New in 1.0.17**
- Add get current version task;**New in 1.0.16**
- First version with basic commands;
- Upgrade service;
- Rollback last upgrade;
- Finish last upgrade;
- Change image or tag;
- Force finish before upgrade;
- Wait results to continue tasks (success) or abort (fails);## Did you like it? Please, make a donate :)
if you liked this project, please make a contribution and help to keep this and other initiatives, send me some Satochis.
BTC Wallet: `1G535x1rYdMo9CNdTGK3eG6XJddBHdaqfX`
![1G535x1rYdMo9CNdTGK3eG6XJddBHdaqfX](https://i.imgur.com/mN7ueoE.png)