| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
I found the lines in .dockerignore were wrong. The largesubdir has not been excluded, I fixed that. Scan finishes in just something under 3 seconds repeatedly. I am a bit disappointed, because this does not match my observation in #1409. I am going to revisit the original case. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This PR adds a test case for a build Dockerfile scan, when the context root contains a large directory tree.
The context root directory contains one subdirectory with 140 subdirectories and 70 files each (9,800 files in total).
The .dockerignore file ignores the subdirectory with except of one file.
The test assertions require the build scan to finish in under 3 seconds and add 3 files (Dockerfile, .dockerignore and the excepted file).
This test currently fails. The test fixture should approximate the situation described in #1409. I restricted the test fixture to 9,800 files, because 70,000 files have a very negative impact on project build and test executions.
Please give some feedback on the given test assertions. I chose 3 seconds to finish randomly. The build scan of my local Docker CLI finishes in under 1 second. I added 2 seconds because I assume there is some overhead?