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

Remove promise nesting in buildImage() when no callback #695

Merged
merged 2 commits into from
Mar 15, 2023

Conversation

kb2ma
Copy link
Contributor

@kb2ma kb2ma commented Sep 19, 2022

Uses a single Promise as in v3.3.3, but maintains the asynchronous approach to .dockerignore processing added in v3.3.4.

Also added unit tests for the no-callback, Promise based path.

Fixes #696

@kb2ma
Copy link
Contributor Author

kb2ma commented Mar 15, 2023

@apocas , any feedback at all on this PR? I see a thumbs-up from the author of the original change.

@apocas
Copy link
Owner

apocas commented Mar 15, 2023

👍
Will ping when published.

@apocas apocas merged commit 5078006 into apocas:master Mar 15, 2023
dfunckt added a commit to balena-io/balena-cli that referenced this pull request Jun 30, 2023
v3.3.4 introduces a regression that is fixed by apocas/dockerode#695 but Dockerode has not published a version that includes the fix yet. Pin the dependency to ensure we don’t ever update to a broken version.

Change-type: patch
@kb2ma kb2ma mentioned this pull request Nov 7, 2023
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.

buildImage() issues with readable stream in v3.3.4
2 participants