{"id":15059720,"url":"https://github.com/fabienhenon/elm-rancher-deploy","last_synced_at":"2026-03-17T18:42:02.382Z","repository":{"id":57222577,"uuid":"84837850","full_name":"FabienHenon/elm-rancher-deploy","owner":"FabienHenon","description":"Script to deploy Elm code to Rancher service","archived":false,"fork":false,"pushed_at":"2017-07-14T20:31:15.000Z","size":20,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-15T04:12:31.255Z","etag":null,"topics":["cd","ci","ci-cd","deployment","elm","elm-lang","rancher"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FabienHenon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-13T14:44:51.000Z","updated_at":"2017-03-13T16:48:01.000Z","dependencies_parsed_at":"2022-08-28T23:23:19.830Z","dependency_job_id":null,"html_url":"https://github.com/FabienHenon/elm-rancher-deploy","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FabienHenon%2Felm-rancher-deploy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FabienHenon%2Felm-rancher-deploy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FabienHenon%2Felm-rancher-deploy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FabienHenon%2Felm-rancher-deploy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FabienHenon","download_url":"https://codeload.github.com/FabienHenon/elm-rancher-deploy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243681083,"owners_count":20330155,"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","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":["cd","ci","ci-cd","deployment","elm","elm-lang","rancher"],"created_at":"2024-09-24T22:47:00.468Z","updated_at":"2025-12-29T18:36:14.316Z","avatar_url":"https://github.com/FabienHenon.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Elm Rancher deployment\n\nThis package is used to deploy elm application built with [create-elm-app](https://www.npmjs.com/package/create-elm-app) in [Rancher](http://rancher.com/)\n\n## Installation\n\n```\n$ npm install elm-rancher-deploy --save-dev\n```\n\nThis module needs to be in the project and not installed globally because it uses Dockerfiles and they must be inside the project to work.\n\n## Commands\n\n### Bump version\n\n```\n$ deploy-elm bump [\u003ccommitSuffix\u003e]\n```\n\nbumps elm version, create a new commit (with \u003ccommitSuffix\u003e or empty string), create tag for version and finally pushes that commit and tags\n\n### Build Elm App\n\n```\n$ deploy-elm build \u003cimgName\u003e [\u003cenv\u003e]\n```\n\nbuilds the Elm application in the given env (staging or prod (default)). This creates a new docker image that contains built source code\n\n### Create a release\n\n```\n$ deploy-elm release \u003cimgName\u003e [\u003cenv\u003e]\n```\n\ncreates a docker release image for the given env (staging or prod (default))\n\n### Publish release\n\n```\n$ deploy-elm publish \u003cimgName\u003e [\u003cenv\u003e]\n```\n\ntags and pushes the release image. One image has a tag with the current version, and another image has the latest tag. If staging env is specified, then tags are prefixed by \"staging-\"\n\n### Deploy to Rancher\n\n```\n$ deploy-elm deploy [--url=\u003crancher_url\u003e] [--access-key=\u003caccess_key\u003e] [--secret-key=\u003csecret_key\u003e] [--service=\u003cservice_id\u003e] [--env=\u003cenv\u003e] --image=\u003cimageName\u003e [latest]\n```\n\ndeploys the specified image and tag (default is version tag with eventually staging- as prefix) to rancher, given rancher url, credentials and service id.\nRancher information can be ommited if the following envrionment variables are set:\n\n  * `RANCHER_SERVICE_ID`: ID of the Rancher service to upgrade for staging deployment\n  * `RANCHER_ACCESS_KEY`: Access key for Rancher API\n  * `RANCHER_SECRET_KEY`: Secret key for Rancher API\n  * `RANCHER_URL`: Rancher API Url\n\n## Customization\n\nYou can cusyomize the Dockerfiles by copying them from the `scrpts` directory directly to your application directory. **Copy the entire `scripts` directory content because you will neeed all files in it**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabienhenon%2Felm-rancher-deploy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffabienhenon%2Felm-rancher-deploy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabienhenon%2Felm-rancher-deploy/lists"}