An AppEngine service to do task scheduling on highly hetegeneous fleets at medium (10000s) scale. It is focused to survive network with low reliability, high latency while still having low bot maintenance, and no server maintenance at all since it's running on AppEngine.
Swarming is purely a task scheduler service.
Visit http://console.cloud.google.com and create a project. Replace <appid>
below with your project id.
Visit Google Cloud Console
Add Member
and add someone else so you can safely be hit by a bus.https://<appid>.appspot.com
is an authorized JavaScript origin and https://<appid>.appspot.com/oauth2callback
is an authorized redirect URL. Replace <client_id> below with the created client id.Enable API
.Upload the code with: ./tools/gae upl -x -A <appid>
Visit https://<appid>.appspot.com/auth/bootstrap and click Proceed
.
If you plan to use a config service,
If you are not using a config service, see Configuring using FS mode. You'll need to add an entry to settings.cfg like ui_client_id: "<client_id>"
If you plan to use an auth_service,
Visit “https://<appid>.appspot.com/auth/groups”:
Visit “https://<appid>.appspot.com/auth/oauth_config”:
Configure bot_config.py and bootstrap.py as desired. Both are optional.
If using machine_provider,
Visit “https://<appid>.appspot.com” and follow the instructions to start a bot.
Visit “https://<appid>.appspot.com/restricted/bots” to ensure the bot is alive.
Run one of the examples in the client code.
Tweak settings:
Change
:Edit
:You can run a swarming+isolate local setup with:
./tools/start_servers.py
Then run a bot with:
./tools/start_bot.py http://localhost:9050