madecoste / swarming

Automatically exported from code.google.com/p/swarming
Apache License 2.0
0 stars 1 forks source link

Self-host run_isolated.zip/.exe on isolate server #173

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Goal:
- Stop archiving run_isolated.zip for swarming task request. It's silly.

AI:
The same way swarming_bot.zip is generated by the server itself, the isolate 
server should have the code to run an isolated task available for download.

- ln -s ../../client appengine/isolate/client
- Add code to generate run_isolated.zip
- Add urlendpoint to download the code, similar to /get_slave_code on swarming.

It'd be good to add /<cpu_arch>/<os_type>/ in the url so we can future proof 
ourselves for pre-compiled binaries (e.g. golang). It would just default to the 
python implementation when no precompiled binary is available. I think it's the 
best design.

Future:
To enable compile-client-on-upload, tools/update.py will have to be updated 
accordingly.

Original issue reported on code.google.com by maruel@chromium.org on 14 Nov 2014 at 12:36

GoogleCodeExporter commented 9 years ago

Original comment by maruel@chromium.org on 9 Jan 2015 at 8:08