TugboatQA / docs

Tugboat Docs
https://docs.tugboat.qa
MIT License
9 stars 18 forks source link

Clarify documentation around `envvars` in tugboat cli usage #293

Closed q0rban closed 3 years ago

q0rban commented 3 years ago

The documentation here is incorrect and misleading: https://docs.tugboat.qa/setting-up-services/how-to-set-up-services/custom-environment-variables/#specify-environment-vari[%E2%80%A6]ity-scope-via-cli-or-api

The envvars CLI option is for the tugboat update [repo-id] CLI command, e.g. tugboat update [repository-id] envvars=foo=bar.

The clue that this option is for tugboat update repositoryid is here: “If you’re using the API, you can pass an environment variable array, including scope, via the Create a Repository POST or the Update a Repository PATCH endpoints.”