tree: 96e27cd23b0b891b3af47cd4c1739619f59add95 [path history] [tgz]
  1. access/
  2. legacy/
  3. test/
  4. tools/
  5. .coveragerc
  6. .expect_tests.cfg
  7. .gitignore
  8. .style.yapf
  9. .vpython
  10. app.yaml
  11. appengine_config.py
  12. apps.py
  13. bbutil.py
  14. bq.py
  15. buildtags.py
  16. bulkproc.py
  17. config.py
  18. creation.py
  19. default_field_masks.py
  20. dispatch.yaml
  21. errors.py
  22. events.py
  23. experiments.py
  24. go.readme.md
  25. handlers.py
  26. index.yaml
  27. main.py
  28. Makefile
  29. metrics.py
  30. model.py
  31. module-backend.yaml
  32. notifications.py
  33. OWNERS
  34. README.md
  35. resultdb.py
  36. search.py
  37. sequence.py
  38. service.py
  39. swarming.py
  40. swarmingcfg.py
  41. tokens.py
  42. tq.py
  43. user.py
  44. validation.py
appengine/cr-buildbucket/README.md

Buildbucket

Buildbucket is a generic build queue. A build requester can schedule a build and wait for a result. A building system, such as Swarming, can lease it, build it and report a result back.

Rewrite

Currently Buildbucket is in the middle of a service rewrite in Go. The new code is found under luci-go and is intended to support an in-place migration from the Python service located here.

Deployment

The service configuration for Buildbucket is located in this directory, but the cron job and task queue configs are found in luci-go. All Python and Go GAE services must be uploaded for Buildbucket to function. dispatch.yaml defines which HTTP routes are served by the Go AppEngine service (known as default-go).

Deployment of cr-buildbucket requires gae.py similar to other LUCI services whose deployment has not yet been automated. The Buildbucket Python services (default, backend) are deployed from this directory. To deploy the Go service (default-go), see the dummy app.yaml file for instructions. Note that cr-buildbucket-dev has its Python services automatically deployed.

  • In this dir: gae.py upload -A cr-buildbucket{,-dev}
  • In luci-go: gae.py upload -A cr-buildbucket{,-dev} default-go