nelsam / we

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Withenv

Withenv takes YAML/JSON files and applies them to the environment prior to running a command. The idea is that rather than relying on shell variables being set, you can explicitly define what environment variables you want to use.

For example, here is some YAML that might be helpful when connecting to an OpenStack Cloud.

---
OS_USERNAME: user
OS_PASSWORD: secret
OS_URL: http://api.example.org/rest/api

You can then run commands (ie in Ansible for example) that read this information.

$ we -e test_user_creds.yml ansible-play install-app

See the Docs for info.

https://travis-ci.org/ionrock/we/builds

About


Languages

Language:Go 90.1%Language:Makefile 9.9%