-
Notifications
You must be signed in to change notification settings - Fork 470
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use GOSS_FILE environment variable for dgoss #454
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello ,
Maybe you set ${FOSS_FILE:-goss.yaml} in place ${GOSS_FILE:-goss.yaml}
Yes, sorry 🤦♂️ |
Signed-off-by: Felix Bartels <[email protected]>
Signed-off-by: Felix Bartels <[email protected]>
Signed-off-by: Felix Bartels <[email protected]>
add option to enable debug output of dcgoss * do not delete tmp dir when running in debug Runtime improvements: raise default timeout also stop container started with docker-compose run move goss sleep to the beginning of the test run do not delete container after run, rather stop it print logs on error print total runtime of test at the end implement goss_file option from goss-org#454 always copy goss.yaml as well only copy goss_file when it exists do not run edit mode, when goss_file is set better handling for goss_file delete testing object after run use install instead of cp * this allows to specify permissions of the resulting file. otherwise it may not be writeable in the target Improve documentation: * document debug option * add example compose file * consistently use the db container as the example * add example for goss files path
add option to enable debug output of dcgoss * do not delete tmp dir when running in debug Runtime improvements: raise default timeout also stop container started with docker-compose run move goss sleep to the beginning of the test run do not delete container after run, rather stop it print logs on error print total runtime of test at the end implement goss_file option from goss-org#454 always copy goss.yaml as well only copy goss_file when it exists do not run edit mode, when goss_file is set better handling for goss_file delete testing object after run use install instead of cp * this allows to specify permissions of the resulting file. otherwise it may not be writeable in the target Improve documentation: * document debug option * add example compose file * consistently use the db container as the example * add example for goss files path
* Debugging improvements: add option to enable debug output of dcgoss * do not delete tmp dir when running in debug Runtime improvements: raise default timeout also stop container started with docker-compose run move goss sleep to the beginning of the test run do not delete container after run, rather stop it print logs on error print total runtime of test at the end implement goss_file option from #454 always copy goss.yaml as well only copy goss_file when it exists do not run edit mode, when goss_file is set better handling for goss_file delete testing object after run use install instead of cp * this allows to specify permissions of the resulting file. otherwise it may not be writeable in the target Improve documentation: * document debug option * add example compose file * consistently use the db container as the example * add example for goss files path * fix readme clean todos Signed-off-by: Felix Bartels <[email protected]>
Sorry for the late response on this. Looks good to me, can you resolve the conflict and add the new variable to the dgoss README? Aside from that, good to go. |
I hope it's ready to merge. Let me know any change that I should do. Thanks. |
LGTM! Thank you for your contribution. |
* Debugging improvements: add option to enable debug output of dcgoss * do not delete tmp dir when running in debug Runtime improvements: raise default timeout also stop container started with docker-compose run move goss sleep to the beginning of the test run do not delete container after run, rather stop it print logs on error print total runtime of test at the end implement goss_file option from goss-org#454 always copy goss.yaml as well only copy goss_file when it exists do not run edit mode, when goss_file is set better handling for goss_file delete testing object after run use install instead of cp * this allows to specify permissions of the resulting file. otherwise it may not be writeable in the target Improve documentation: * document debug option * add example compose file * consistently use the db container as the example * add example for goss files path * fix readme clean todos Signed-off-by: Felix Bartels <[email protected]>
* Use GOSS_FILE environment variable for dgoss * Fix a typo in environment variable * Update and documentation on README.md * Resolve conflicts
Allows use
GOSS_FILE
environment variable fordgoss
. If not defined then usegoss.yaml
as it's now.Only set the filename to copy into the container. In the container the name is
goss.yaml
to avoid more changes in the script.