madecoste / swarming

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

Single command deployment #110

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Basically, make swarming hipster. Since python is a hard requirement on the 
client, this removes the need to have curl or bash on the client, which is 
problematic on Windows.

In short, it would look like:
python -m "import urllib; 
eval(urllib.urlopen('https://chromium-swarm.appspot.com/swarming/api/v1/bot/boot
strap'))"

This would:
1. Create a directory tree according to server defined rules.
2. Download the server-specific swarming_bot.zip into the predefined location.
3. Run 'swarming_bot.zip setup_bot' (currently named 'start_slave') to set it 
up according to server's rules.
4. Run the bot itself 'swarming_bot.zip start_bot', no need to reboot on the 
first execution as it is currently done.

Original issue reported on code.google.com by maruel@chromium.org on 29 May 2014 at 1:59

GoogleCodeExporter commented 9 years ago

Original comment by maruel@chromium.org on 29 May 2014 at 2:37

GoogleCodeExporter commented 9 years ago
Added /bootstrap which does exactly it.

Original comment by maruel@chromium.org on 5 Jun 2014 at 4:13