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