{"id":18657639,"url":"https://github.com/cr0hn/rancher-upgrader","last_synced_at":"2025-09-21T11:45:59.206Z","repository":{"id":69044037,"uuid":"107111675","full_name":"cr0hn/rancher-upgrader","owner":"cr0hn","description":"Small utility to upgrade Rancher Services","archived":false,"fork":false,"pushed_at":"2023-05-22T21:33:49.000Z","size":13,"stargazers_count":4,"open_issues_count":2,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-11T21:12:09.592Z","etag":null,"topics":["cloud","docker","rancher","rancher-upgrader","rancher2","rancheros","upgrade"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cr0hn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["cr0hn"]}},"created_at":"2017-10-16T10:15:30.000Z","updated_at":"2021-02-13T17:02:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"e8670d43-2ac8-452f-b8ee-b73de1ade0f8","html_url":"https://github.com/cr0hn/rancher-upgrader","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cr0hn/rancher-upgrader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cr0hn%2Francher-upgrader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cr0hn%2Francher-upgrader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cr0hn%2Francher-upgrader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cr0hn%2Francher-upgrader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cr0hn","download_url":"https://codeload.github.com/cr0hn/rancher-upgrader/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cr0hn%2Francher-upgrader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276235402,"owners_count":25608049,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-21T02:00:07.055Z","response_time":72,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloud","docker","rancher","rancher-upgrader","rancher2","rancheros","upgrade"],"created_at":"2024-11-07T07:29:20.077Z","updated_at":"2025-09-21T11:45:59.189Z","avatar_url":"https://github.com/cr0hn.png","language":"Python","funding_links":["https://github.com/sponsors/cr0hn"],"categories":[],"sub_categories":[],"readme":"Rancher Upgrader\n================\n\nCode | https://github.com/cr0hn/rancher-upgrader\n---- | ----------------------------------------------\nIssues | https://github.com/cr0hn/rancher-upgrader/issues\nPython version | Python 3.5 or above\nAuthor | Daniel García (cr0hn) - @ggdaniel\nLast version | 1.0.0\n\n*The script needs Python 3 (really I don't test it in Python 2)*\n\nSupport this project\n====================\n\nSupport this project (to solve issues, new features...) by applying the Github \"Sponsor\" button.\n\nBriefing\n========\n\nThis project try to solve the problem of upgrading Rancher stack services without the need of using the UI.\n\nWhy\n===\n\nBecause one of the most useful thinks of a PaaS is to automate the deployment process thought your C.I. system.\n\nWith this script you can do that. \n\nInstallation\n============\n\nInstallation process is so easy:\n\n```bash\n\n\u003e python3 -m pip install rancher_upgrader\n```\n\nUsage\n=====\n\nThe script is self-explained, to get help, only use *-h* option:\n\n```bash\n\n\u003e rancher-upgrader -h\n\nusage: rancher-upgrader.py [-h] -n STACK_NAME -s SERVICE_NAME -i NEW_IMAGE -u\n                           RANCHER_URL -a RANCHER_ACCESS_KEY -k\n                           RANCHER_SECRET_KEY [--retires MAX_RETRIES]\n                           [--sleep]\n\nRancher service upgrader\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -n STACK_NAME         stack name.\n  -s SERVICE_NAME       service name\n  -i NEW_IMAGE          new docker image to push in the service\n  -u RANCHER_URL        rancher portal url\n  -a RANCHER_ACCESS_KEY\n                        rancher secret key\n  -k RANCHER_SECRET_KEY\n                        rancher access key\n\nExtra options:\n  --retires MAX_RETRIES\n                        maximum number of retries to check upgrade process\n  --sleep               sleep time while checking upgrading process\n```\n\nImportant things\n================\n\n- Rancher upgrader will try to upgrade a specific service of a stack\n- If the upgrade fails, automatically It will do a rollback\n- Rancher upgrader will do the complete upgrade process, including the confirmation of the upgrade process when the upgrading process was finished\n\n\nLicense\n=======\n\nThis project is distributed under [BSD clausule 3](\u003chttps://github.com/cr0hn/rancher_upgrader/blob/master/LICENSE)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcr0hn%2Francher-upgrader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcr0hn%2Francher-upgrader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcr0hn%2Francher-upgrader/lists"}