-
Notifications
You must be signed in to change notification settings - Fork 38
[Testing] Test SSH file transfer with images. #208
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
Merged
Merged
Changes from 62 commits
Commits
Show all changes
68 commits
Select commit
Hold shift + click to select a range
5dc9cf0
lots of changes, sort out.
JoeZiminski 01691a2
still working, needs a bit more tidying up.
JoeZiminski fa01259
Continue working.
JoeZiminski 2c2b8ee
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] abda5c1
Tidy ups.
JoeZiminski 2a5f7c8
Fix linting.
JoeZiminski 518223e
Tidy ups and documentation.
JoeZiminski 23bc818
Add documentation.
JoeZiminski 981b1d9
Try different Dockerfile for linux.
JoeZiminski 56b311e
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 2435965
Fix issue after rebase.
JoeZiminski a0bf3af
Remove breakpoint.
JoeZiminski 73bd6c8
Don't use singularity, docker or nothing.
JoeZiminski 0679992
Rework ssh setup.
JoeZiminski 29ed32a
Fix connection refused issue.
JoeZiminski 9848b3e
Use run not POpen for actions.
JoeZiminski 2e9132c
try in detachted state.
JoeZiminski b71f3c9
Add error messages on docker setup.
JoeZiminski 99d9392
run linting.
JoeZiminski 0225359
update connection failed error message.
JoeZiminski c8d0118
Test version working locally on linux but only can connect with sudo.
JoeZiminski a19212a
Try freeing up and using the free port.
JoeZiminski 687bea3
Test sudo service only on linux.
JoeZiminski 767a832
Add sudo to docker setup commands.
JoeZiminski 9d287de
test with auto add policy.
JoeZiminski 5dd2b21
Really restrict to the connect call.
JoeZiminski a9af048
restrict to tests of interest temporarily.
JoeZiminski 197e051
Fix to port 3306 in tests and for paramiko.
JoeZiminski 4b0b765
Extend port to rclone.
JoeZiminski aa6dfd4
Use environment variable to set port.
JoeZiminski 4ae1c08
Add all OS back.
JoeZiminski c9dbe70
try remove tag for windows.
JoeZiminski 8196aa9
Update docker commands for windows.
JoeZiminski c4bfe46
Fix nonsense docker build command.
JoeZiminski 941f506
Only run when docker running and on ubuntu on runners.
JoeZiminski 372407b
Try build and run docker only once per session.
JoeZiminski fa83eec
Teardown image at end of ssh tests, factor out ssh tests.
JoeZiminski 1975226
SPlit ssh tests.
JoeZiminski 81e4668
Add sudo to the docker teardown commands for Linux.
JoeZiminski a6d4446
try class scope of setup ssh container.
JoeZiminski 01e0301
Try move ssh fixture to classes.
JoeZiminski 6ea3034
Try a different command to shutdown on linux.
JoeZiminski 8481bda
Tidy ups and some docs.
JoeZiminski 5317eee
Extend to macOS.
JoeZiminski 8c3d9d0
Finish tidying up docstrings.
JoeZiminski c7b4907
Change ssh test image name and fix docstring.
JoeZiminski 7db2a14
Small tidy ups.
JoeZiminski d1db67e
Small fixes after rebase.
JoeZiminski 54d25dc
More fix.es
JoeZiminski c03fa62
Fix CI.
JoeZiminski dab447f
Skip tests on macOS.
JoeZiminski 4074295
Refactor transfer tests.
JoeZiminski d0f4aa4
Continue refactoring.
JoeZiminski ba8a5a6
Fix tests again.
JoeZiminski 87c09b8
Update CI script.
JoeZiminski 8e91179
Update CI.
JoeZiminski 1958363
Fix imports after rebase.
JoeZiminski 1d2d745
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] c2406cb
Merge branch 'main' into test_ssh_with_image
JoeZiminski 33881f6
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 1bb5f6c
Delete config to fix tests.
JoeZiminski 25ba932
Remove test module that was accidentally readded by git.
JoeZiminski c8363cf
Delete now unused file.
JoeZiminski 4a1fbdb
Do not append por with : if it is default (22).
JoeZiminski 745887a
Move test setup_rclone_config_for_ssh into setup_ssh_connection.
JoeZiminski acaf9a9
Extend SSH tests not run message.
JoeZiminski 669d050
Improve test skipped message.
JoeZiminski 9991bda
Fix duplicate if / else statement.
JoeZiminski File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,8 @@ | ||
| import warnings | ||
|
|
||
| import pytest | ||
| import test_utils | ||
|
|
||
| from . import test_utils | ||
|
|
||
| TEST_PROJECT_NAME = "test_project" | ||
|
|
||
|
|
||
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.