-
Notifications
You must be signed in to change notification settings - Fork 32
Move e2e image pulling to setup phase #358
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
Move e2e image pulling to setup phase #358
Conversation
…eout Signed-off-by: IrvingMg <[email protected]>
Signed-off-by: IrvingMg <[email protected]>
✅ Deploy Preview for urunc ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
I think this is a "false positive". SonarQube is detecting the test case struct definitions as duplicated code because they share the same fields ( |
|
Thank you a lot @IrvingMg for this PR.
Yeah, feel free to ignore SonarQube. Just make sure that the tests run correctly. If there is any comment about the code, we will let you know. Edit: Looking a bit in the failed tests (I might be totally wrong, so ignore me in that case). I think we will need to use each tool's pull method to pull the images, because |
|
I've looked into the failed tests, and one issue was caused by the cspell linter, while the second was related to the new filterTestCases function I introduced to filter which images to pull. Both issues should now be fixed. |
cmainas
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @IrvingMg ,
I do not have any comment for the code, It looks very good. However, I think that the filterTestCases function needs a small change. Currently, we are able to run specific test cases for a specific unikernel / monitor / rootfs etc. (e.g. make test_ctr_mirage runs all ctr tests for the MirageOS unikernel). With these changes, we are only able to match only based on the prefix of the subtest and hence make test_ctr_mirage will not work.
If this gets fixed, the PR is good to go.
|
Hello @IrvingMg , everything looks good. Just a small request to merge this without any CI failures. Would it be possible to add yourself in this file https://github.com/urunc-dev/urunc/blob/main/.github/contributors.yaml ? This is the file that our CI reads to check and add git trailers in the commits. Optional: Also, if you want feel free to squash the last 3 commits. |
Signed-off-by: IrvingMg <[email protected]>
8fad81d to
632760d
Compare
|
@cmainas Thanks for reviewing! I’ve squashed the last three commits and added myself to the contributors file. |
Signed-off-by: IrvingMg <[email protected]>
632760d to
13f8c8c
Compare
|
cmainas
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @IrvingMg
…eout PR: #358 Signed-off-by: IrvingMg <[email protected]> Reviewed-by: Charalampos Mainas <[email protected]> Approved-by: Charalampos Mainas <[email protected]>
PR: #358 Signed-off-by: IrvingMg <[email protected]> Reviewed-by: Charalampos Mainas <[email protected]> Approved-by: Charalampos Mainas <[email protected]>
PR: #358 Signed-off-by: IrvingMg <[email protected]> Reviewed-by: Charalampos Mainas <[email protected]> Approved-by: Charalampos Mainas <[email protected]>
PR: #358 Signed-off-by: IrvingMg <[email protected]> Reviewed-by: Charalampos Mainas <[email protected]> Approved-by: Charalampos Mainas <[email protected]>
…eout PR: #358 Signed-off-by: IrvingMg <[email protected]> Reviewed-by: Charalampos Mainas <[email protected]> Approved-by: Charalampos Mainas <[email protected]>
PR: #358 Signed-off-by: IrvingMg <[email protected]> Reviewed-by: Charalampos Mainas <[email protected]> Approved-by: Charalampos Mainas <[email protected]>
PR: #358 Signed-off-by: IrvingMg <[email protected]> Reviewed-by: Charalampos Mainas <[email protected]> Approved-by: Charalampos Mainas <[email protected]>
PR: #358 Signed-off-by: IrvingMg <[email protected]> Reviewed-by: Charalampos Mainas <[email protected]> Approved-by: Charalampos Mainas <[email protected]>


Moves image pulling to TestMain so it runs before the test timeout starts.
Fixes #325