https://github.com/pollosp/habitat-sinatra
Testing habitat packaging
https://github.com/pollosp/habitat-sinatra
habitat habitat-plan sinatra testing
Last synced: over 1 year ago
JSON representation
Testing habitat packaging
- Host: GitHub
- URL: https://github.com/pollosp/habitat-sinatra
- Owner: pollosp
- Created: 2017-02-21T18:34:33.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-23T15:32:59.000Z (over 9 years ago)
- Last Synced: 2025-01-31T21:11:26.168Z (over 1 year ago)
- Topics: habitat, habitat-plan, sinatra, testing
- Language: Shell
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Important
- This code is an example and may not work as you expect
## Vars
- export HAB_AUTH_TOKEN=(github token with GitHub authentication: user:email and read:org )
- export HAB_ORIGIN=pollosp # your origin created in https://app.habitat.sh
## Others
- First time setup
- hab setup
- Enter into the studio
- hab studio -k pollosp enter
- Build execute build from the studio
- Upload packge to the depot
- hab pkg upload results/originname-sinatra-0.0.1-20170221175520-x86_64-linux.hart (your hart artifact)
- Export to docker
- hab pkg export docker pollosp/sinatra (your origin)/(your package)
## Useful doc
- https://www.habitat.sh/docs/share-packages-overview/
- https://www.habitat.sh/docs/reference/plan-syntax/
- https://www.habitat.sh/docs/create-plans/
- https://www.habitat.sh/tutorials/getting-started/mac/create-plan/