{"id":21321152,"url":"https://github.com/lgaticaq/semantic-release-rancher","last_synced_at":"2026-02-28T18:02:52.389Z","repository":{"id":32921753,"uuid":"146332875","full_name":"lgaticaq/semantic-release-rancher","owner":"lgaticaq","description":"Set of semantic-release plugins for upgrade service in rancher","archived":false,"fork":false,"pushed_at":"2026-02-12T09:56:04.000Z","size":1597,"stargazers_count":0,"open_issues_count":40,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-02-12T18:33:31.063Z","etag":null,"topics":["rancher","semantic-release","semantic-release-plugin"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lgaticaq.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-08-27T17:43:06.000Z","updated_at":"2024-09-03T15:43:55.000Z","dependencies_parsed_at":"2024-04-23T05:17:16.582Z","dependency_job_id":"58e2654c-09f1-40b7-be71-aed0c0350e32","html_url":"https://github.com/lgaticaq/semantic-release-rancher","commit_stats":{"total_commits":412,"total_committers":3,"mean_commits":"137.33333333333334","dds":0.1043689320388349,"last_synced_commit":"0f72bea2881b6cfbc3287c56b7dc19d3b55ee9b1"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/lgaticaq/semantic-release-rancher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lgaticaq%2Fsemantic-release-rancher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lgaticaq%2Fsemantic-release-rancher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lgaticaq%2Fsemantic-release-rancher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lgaticaq%2Fsemantic-release-rancher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lgaticaq","download_url":"https://codeload.github.com/lgaticaq/semantic-release-rancher/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lgaticaq%2Fsemantic-release-rancher/sbom","scorecard":{"id":586969,"data":{"date":"2025-08-11","repo":{"name":"github.com/lgaticaq/semantic-release-rancher","commit":"369c9ba60211df066264f5f2baded2e96bb83fa8"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.1,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/nodejs.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":2,"reason":"dependency not pinned by hash detected -- score normalized to 2","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/nodejs.yml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/lgaticaq/semantic-release-rancher/nodejs.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/nodejs.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/lgaticaq/semantic-release-rancher/nodejs.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/nodejs.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/lgaticaq/semantic-release-rancher/nodejs.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/nodejs.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/lgaticaq/semantic-release-rancher/nodejs.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/nodejs.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/lgaticaq/semantic-release-rancher/nodejs.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/nodejs.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/lgaticaq/semantic-release-rancher/nodejs.yml/master?enable=pin","Info:   0 out of   6 GitHub-owned GitHubAction dependencies pinned","Info:   2 out of   2 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/nodejs.yml:28"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"63 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-h5c3-5r3r-rr8q","Warn: Project is vulnerable to: GHSA-rmvr-2pp2-xj38","Warn: Project is vulnerable to: GHSA-xx4v-prfh-6cgc","Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-4w2v-q235-vp99","Warn: Project is vulnerable to: GHSA-cph5-m8f7-6c5x","Warn: Project is vulnerable to: GHSA-wf5p-g6vw-rhxx","Warn: Project is vulnerable to: GHSA-jr5f-v2jv-69x6","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-74fj-2j2h-c42q","Warn: Project is vulnerable to: GHSA-pw2r-vq6v-hr8c","Warn: Project is vulnerable to: GHSA-jchw-25xp-jwwc","Warn: Project is vulnerable to: GHSA-cxjh-pqwp-8mfp","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-ww39-953v-wcq6","Warn: Project is vulnerable to: GHSA-pfrx-2q88-qq97","Warn: Project is vulnerable to: GHSA-765h-qjxv-5f44","Warn: Project is vulnerable to: GHSA-f2jv-r9rf-7988","Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj","Warn: Project is vulnerable to: GHSA-rc47-6667-2j5j","Warn: Project is vulnerable to: GHSA-qqgx-2p2h-9c37","Warn: Project is vulnerable to: GHSA-78xj-cgh5-2h22","Warn: Project is vulnerable to: GHSA-2p57-rm9w-gvfp","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-5v2h-r2cx-5xgj","Warn: Project is vulnerable to: GHSA-rrrm-qjm4-v8hf","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-r683-j2x4-v87g","Warn: Project is vulnerable to: GHSA-px4h-xg32-q955","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-566m-qj78-rww5","Warn: Project is vulnerable to: GHSA-7fh5-64p2-3v2j","Warn: Project is vulnerable to: GHSA-hwj9-h5mp-3pm3","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-x2pg-mjhr-2m5x","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-44c6-4v22-4mhx","Warn: Project is vulnerable to: GHSA-4x5v-gmq8-25ch","Warn: Project is vulnerable to: GHSA-vx3p-948g-6vhq","Warn: Project is vulnerable to: GHSA-3jfq-g458-7qm9","Warn: Project is vulnerable to: GHSA-r628-mhmh-qjhw","Warn: Project is vulnerable to: GHSA-9r2w-394v-53qc","Warn: Project is vulnerable to: GHSA-5955-9wpr-37jh","Warn: Project is vulnerable to: GHSA-qq89-hq3f-393p","Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-w5p7-h5w8-2hfq","Warn: Project is vulnerable to: GHSA-7p7h-4mm5-852v","Warn: Project is vulnerable to: GHSA-38fc-wpqx-33j7","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7","Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-20T20:47:01.832Z","repository_id":32921753,"created_at":"2025-08-20T20:47:01.832Z","updated_at":"2025-08-20T20:47:01.832Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29946463,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T17:57:52.716Z","status":"ssl_error","status_checked_at":"2026-02-28T17:57:31.974Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["rancher","semantic-release","semantic-release-plugin"],"created_at":"2024-11-21T19:57:01.822Z","updated_at":"2026-02-28T18:02:52.362Z","avatar_url":"https://github.com/lgaticaq.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# semantic-release-rancher\n\n[![npm](https://img.shields.io/npm/v/semantic-release-rancher.svg)](https://www.npmjs.com/package/lgaticaq/semantic-release-rancher)\n[![build](https://img.shields.io/travis/lgaticaq/semantic-release-rancher.svg)](https://travis-ci.org/lgaticaq/semantic-release-rancher)\n[![downloads](https://img.shields.io/npm/dt/semantic-release-rancher.svg)](https://www.npmjs.com/package/semantic-release-rancher)\n[![dependencies](https://img.shields.io/david/lgaticaq/semantic-release-rancher.svg)](https://david-dm.org/lgaticaq/semantic-release-rancher)\n[![devDependency Status](https://img.shields.io/david/dev/lgaticaq/semantic-release-rancher.svg)](https://david-dm.org/lgaticaq/semantic-release-rancher#info=devDependencies)\n[![Maintainability](https://api.codeclimate.com/v1/badges/18dc7fc52da810de5a8d/maintainability)](https://codeclimate.com/github/lgaticaq/semantic-release-rancher/maintainability)\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n\n\u003e Set of [semantic-release](https://github.com/semantic-release/semantic-release) plugins for upgrade service in [Rancher](https://rancher.com/docs/rancher/v1.6/en/cattle/upgrading/).\n\n| Step               | Description        |\n|--------------------|--------------------|\n| `verifyConditions` | Verify the presence and the validity of the rancher api key (set via [environment variables](#environment-variables)). |\n| `publish`          | Upgrade a service with a new version. |\n\n## Install\n\n```bash\nnpm i -D semantic-release-rancher\n```\n\n## Usage\n\nThe plugin can be configured in the [**semantic-release** configuration file](https://github.com/semantic-release/semantic-release/blob/caribou/docs/usage/configuration.md#configuration):\n\n```json\n{\n  \"plugins\": [\n    \"@semantic-release/changelog\",\n    \"@semantic-release/npm\",\n    \"@semantic-release/git\",\n    \"@semantic-release/gitlab\",\n    \"semantic-release-gitlab-registry\",\n    \"semantic-release-rancher\"\n  ]\n}\n```\n\nExample .gitlab-ci.yml\n\n```yml\nstages:\n  - test\n  - release\n\ntest:\n  image: node:alpine\n  stage: test\n  before_script:\n    - npm i\n  script:\n    - npm t\n\nrelease:\n  image: node:alpine\n  stage: release\n  before_script:\n    - npm i\n    - docker build -t $CI_REGISTRY_IMAGE .\n  script:\n    - npx semantic-release\n  only:\n    - master\n```\n\n## Configuration\n\n### Environment variables\n\n| Variable              | Description                                                                   |\n| --------------------- | ----------------------------------------------------------------------------- |\n| `RANCHER_URL`         | **Required.** The url of rancher server. Example: https://rancher.example.com |\n| `RANCHER_ENVIRONMENT` | **Required.** The environment id. Example: 1a11                               |\n| `RANCHER_ACCESS_KEY`  | **Required.** The API access key.                                             |\n| `RANCHER_SECRET_KEY`  | **Required.** The API secret key.                                             |\n| `RANCHER_STACK`       | **Required.** The stack name.                                                 |\n| `RANCHER_SERVICE`     | **Required.** The service name.                                               |\n| `RANCHER_SERVICES`    | Optional JSON array with objects stack/service to upgrade multiple services. Example: `[{\"stack\": \"myStack1\", \"service\": \"myService1\"},{\"stack\": \"myStack2\", \"service\": \"myService2\"}]` |\n\n### Options\n\n| Variable             | Description |\n| -------------------- | -------------------------------- |\n| `rancherUrl`         | The url of rancher server. Example: `https://rancher.example.com` |\n| `rancherEnvironment` | The environment id. Example: `1a11` |\n| `services`  | Array of object services. Example: `[{\"stack\": \"MyStack\", \"service\": \"MyService\"}, {\"stack\": \"MyStack\", \"service\": \"MyOtherService\", \"startFirst\": false}]` |\n\n### Examples\n\n```json\n{\n  \"plugins\": [\n    \"@semantic-release/changelog\",\n    \"@semantic-release/npm\",\n    \"@semantic-release/git\",\n    \"@semantic-release/gitlab\",\n    \"semantic-release-gitlab-registry\",\n    [\n      \"semantic-release-rancher\",\n      {\n        \"rancherUrl\": \"https://rancher.example.com\",\n        \"rancherEnvironment\": \"1a11\",\n        \"services\": [\n          {\n            \"stack\": \"MyStack\",\n            \"service\": \"MyService\"\n          },\n          {\n            \"stack\": \"MyStack\",\n            \"service\": \"MyOtherService\",\n            \"startFirst\": false\n          }\n        ]\n      }\n    ]\n  ]\n}\n```\n\n## License\n\n[MIT](https://tldrlegal.com/license/mit-license)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flgaticaq%2Fsemantic-release-rancher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flgaticaq%2Fsemantic-release-rancher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flgaticaq%2Fsemantic-release-rancher/lists"}