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

don't fail if the engine is not running #107

Closed
wants to merge 1 commit into from
Closed

Conversation

marcosnils
Copy link
Contributor

Signed-off-by: Marcos Lilljedahl marcosnils@gmail.com

Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
@marcosnils
Copy link
Contributor Author

Fixes #106

Copy link
Contributor

@jpadams jpadams left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @marcosnils !!

I accepted a prior PR that also implements this.
https://github.com/dagger/dagger-for-github/pull/105/files#diff-1243c5424efaaa19bd8e813c5e6f6da46316e63761421b3e5f5c8ced9a36e6b6R61-R63

Yours is super elegant, but I also added a guard in another PR so we only attempt to run the docker stop if there are some dagger-engine container(s) present. So I'm thinking we can close your PR for now since it's fixed and tested above.

@jpadams jpadams closed this Dec 30, 2023
@marcosnils
Copy link
Contributor Author

Hey Jeremy! IIUC #105 doesn't seem to have the same effect of what I'm fixing here. What am I missing?

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.

2 participants