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

Fix docker init under linux #2836

Closed
wants to merge 1 commit into from
Closed

Fix docker init under linux #2836

wants to merge 1 commit into from

Conversation

igieon
Copy link

@igieon igieon commented Mar 21, 2024

Fixing #2835

File remotePathFile = new File(remotePath);
String command = String.join(" ", DOCKER_EXECUTABLE, EXEC, INTERACTIVELY, containerName,
"tar", "hCcF", remotePathFile.getParent(), "-", remotePathFile.getName(),
"|", "tar", "Cxf", localPathFile.getParent(), "-");
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is a separate feature, separate commit please with proper explanation.
Also needs test.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Again, why do we need to have interactivity here?

Copy link
Author

Choose a reason for hiding this comment

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

Interactively I mention in previous comment.
For test i dont know where are located tests for docker interaction can you point me where to add it.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Dam, this may be tricky. Current integration tests supposed to be run with any interpreter - local, wsl or docker. And this is docker-specific test, so probably should be a separate class with unit test.
I have no example for this yet. You may describe the set up and I figure out the test later.

@igieon igieon closed this Mar 21, 2024
@igieon
Copy link
Author

igieon commented Mar 21, 2024

Pls provide where is the test for docker integration in project thanks

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