Skip to content
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

Merged
merged 5 commits into from
Dec 9, 2019
Merged

Use GOSS_FILE environment variable for dgoss #454

merged 5 commits into from
Dec 9, 2019

Conversation

jfcastroluis
Copy link
Contributor

Allows use GOSS_FILE environment variable for dgoss. If not defined then use goss.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.

Copy link

@Gcozier Gcozier left a 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}

@jfcastroluis
Copy link
Contributor Author

Yes, sorry 🤦‍♂️
It's already fixed.

fbartels added a commit to fbartels/goss that referenced this pull request Aug 24, 2019
fbartels added a commit to fbartels/goss that referenced this pull request Nov 11, 2019
fbartels added a commit to fbartels/goss that referenced this pull request Nov 25, 2019
fbartels added a commit to fbartels/goss that referenced this pull request Nov 25, 2019
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
fbartels added a commit to fbartels/goss that referenced this pull request Nov 30, 2019
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
aelsabbahy pushed a commit that referenced this pull request Dec 6, 2019
* 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]>
@aelsabbahy
Copy link
Member

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.

@jfcastroluis
Copy link
Contributor Author

I hope it's ready to merge. Let me know any change that I should do. Thanks.

@aelsabbahy aelsabbahy merged commit 6f739a5 into goss-org:master Dec 9, 2019
@aelsabbahy
Copy link
Member

LGTM! Thank you for your contribution.

BenjaminHerbert pushed a commit to BenjaminHerbert/goss that referenced this pull request May 28, 2020
* 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]>
BenjaminHerbert pushed a commit to BenjaminHerbert/goss that referenced this pull request May 28, 2020
* Use GOSS_FILE environment variable for dgoss

* Fix a typo in environment variable

* Update and documentation on README.md

* Resolve conflicts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants