-
Notifications
You must be signed in to change notification settings - Fork 82
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
Finish creating project before downloading image. #410
Comments
I completely agree. Large images (including huge VM or Docker images that can routinely be 30 to 50GB big) are problematic.
Which ones would be the better way? @cco3 what's your take there? |
I'm not sure I get the distinctions in the options, but returning immediately with a project created seems to make the most sense...the download could just be the first stage in the pipeline. |
I think 3rd option is best - fetching is already a pipe and it would make scaling amount of workers easier based on amount of runs to process |
See also #372 |
Signed-off-by: Thomas Druez <tdruez@nexb.com>
Signed-off-by: Thomas Druez <tdruez@nexb.com>
Signed-off-by: Thomas Druez <tdruez@nexb.com>
Signed-off-by: Thomas Druez <tdruez@nexb.com>
Signed-off-by: Thomas Druez <tdruez@nexb.com>
…#410 Signed-off-by: Thomas Druez <tdruez@nexb.com>
Signed-off-by: Thomas Druez <tdruez@nexb.com>
Signed-off-by: Thomas Druez <tdruez@nexb.com>
Signed-off-by: Thomas Druez <tdruez@nexb.com>
Signed-off-by: Thomas Druez <tdruez@nexb.com>
Signed-off-by: Thomas Druez <tdruez@nexb.com>
Signed-off-by: Thomas Druez <tdruez@nexb.com>
Signed-off-by: Thomas Druez <tdruez@nexb.com>
Signed-off-by: Thomas Druez <tdruez@nexb.com>
* Add support for multiple from/to inputs in d2d pipeline #813 Signed-off-by: Thomas Druez <tdruez@nexb.com> * Display upload progress in browser tab #410 Signed-off-by: Thomas Druez <tdruez@nexb.com> * Add ability to delete project inputs #813 Signed-off-by: Thomas Druez <tdruez@nexb.com> * Add ability to download project inputs #813 Signed-off-by: Thomas Druez <tdruez@nexb.com>
Signed-off-by: tdruez <tdruez@nexb.com>
Signed-off-by: tdruez <tdruez@nexb.com>
Signed-off-by: tdruez <tdruez@nexb.com>
Signed-off-by: tdruez <tdruez@nexb.com>
Signed-off-by: tdruez <tdruez@nexb.com>
Signed-off-by: tdruez <tdruez@nexb.com>
Signed-off-by: tdruez <tdruez@nexb.com>
Signed-off-by: tdruez <tdruez@nexb.com>
Signed-off-by: tdruez <tdruez@nexb.com>
Signed-off-by: tdruez <tdruez@nexb.com>
Signed-off-by: tdruez <tdruez@nexb.com>
Signed-off-by: tdruez <tdruez@nexb.com>
Signed-off-by: tdruez <tdruez@nexb.com>
Signed-off-by: tdruez <tdruez@nexb.com>
Signed-off-by: tdruez <tdruez@nexb.com>
Signed-off-by: tdruez <tdruez@nexb.com>
Signed-off-by: tdruez <tdruez@nexb.com>
Signed-off-by: tdruez <tdruez@nexb.com>
Signed-off-by: tdruez <tdruez@nexb.com>
Signed-off-by: tdruez <tdruez@nexb.com>
Signed-off-by: tdruez <tdruez@nexb.com>
Signed-off-by: tdruez <tdruez@nexb.com>
Signed-off-by: tdruez <tdruez@nexb.com>
* Migrate the Project.input_sources field to its own model #410 Signed-off-by: tdruez <tdruez@nexb.com> * Fix part of failing tests #410 Signed-off-by: tdruez <tdruez@nexb.com> * Add check on URL availability #410 Signed-off-by: tdruez <tdruez@nexb.com> * Fix the model-related functions #410 Signed-off-by: tdruez <tdruez@nexb.com> * Migrate the check_for_missing_inputs logic #410 Signed-off-by: tdruez <tdruez@nexb.com> * Fix the input related templates #410 Signed-off-by: tdruez <tdruez@nexb.com> * Download missing inputs as a pipeline step #410 Signed-off-by: tdruez <tdruez@nexb.com> * Refine the reverse migration #410 Signed-off-by: tdruez <tdruez@nexb.com> * Fix part of the failing tests #410 Signed-off-by: tdruez <tdruez@nexb.com> * Fix part of the failing tests part2 #410 Signed-off-by: tdruez <tdruez@nexb.com> * Fix part of the failing tests part3 #410 Signed-off-by: tdruez <tdruez@nexb.com> * Fix part of the failing tests part4 #410 Signed-off-by: tdruez <tdruez@nexb.com> * Sort by filename for consistency across systems #410 Signed-off-by: tdruez <tdruez@nexb.com> * Add changelog entry #410 Signed-off-by: tdruez <tdruez@nexb.com> * Add unit test for the InputSource #410 Signed-off-by: tdruez <tdruez@nexb.com> * Add unit test for the InputSource fetch method #410 Signed-off-by: tdruez <tdruez@nexb.com> * Add unit test for the download_missing_inputs method #410 Signed-off-by: tdruez <tdruez@nexb.com> * Small change to the reverse migrations #410 Signed-off-by: tdruez <tdruez@nexb.com> * Add a tag field on the InputSource model #410 Signed-off-by: tdruez <tdruez@nexb.com> * Add the tag field to the InputSourceSerializer #410 Signed-off-by: tdruez <tdruez@nexb.com> * Fix failing CI tests #410 Signed-off-by: tdruez <tdruez@nexb.com> * Update the input_sources system in the API #410 Signed-off-by: tdruez <tdruez@nexb.com> --------- Signed-off-by: tdruez <tdruez@nexb.com>
The download of the Project's inputs now takes place in the pipeline run. |
Signed-off-by: tdruez <tdruez@nexb.com>
Currently when project is created a
POST
request is sent.Response for this request is sent after input is downloaded.
In my opinion it is wrong user experience as download can take long time (huge docker images). I propose that
web
container should return page with created project before image is downloaded.Current behavior breaks some nginx configuration as timeout occurs in nginx before it receives response from
web
container and it returns 504 error code (gateway timeout) as response.Furthermore when user hits refresh button request is resend and
web
re-downloads this input.The text was updated successfully, but these errors were encountered: