tree: fb11dbab999e74951e28fbcea23deccf7c36336b [path history] [tgz]
  1. doc/
  2. templates/
  3. tools/
  4. ui/
  5. acl.py
  6. acl_test.py
  7. admin.py
  8. api.py
  9. api_test.py
  10. app.yaml
  11. appengine_config.py
  12. apps.py
  13. common.py
  14. cron.yaml
  15. gitiles_import.py
  16. gitiles_import_test.py
  17. handlers.py
  18. handlers_test.py
  19. main.py
  20. Makefile
  21. module-backend.yaml
  22. notifications.py
  23. notifications_test.py
  24. OWNERS
  25. projects.py
  26. projects_test.py
  27. README.md
  28. services.py
  29. services_test.py
  30. storage.py
  31. storage_test.py
  32. test_archive.tar.gz
  33. test_env.py
  34. validation.py
  35. validation_test.py
appengine/config_service/README.md

Configuration service

  • Stores and imports config files from repositories, such as Gitiles.
  • Provides read-only access to config files and encapsulates their location.
  • Stores a registry of LUCI services.
  • Stores a registry of projects that use LUCI services.

Documentation

Setting up

  • Visit http://console.cloud.google.com and create a project. Replace <appid> below with your project id.
  • Visit Google Cloud Console, IAM & Admin, click Add Member and add someone else so you can safely be hit by a bus.
  • Upload the code with: ./tools/gae upl -x -A <appid>
  • Ensure that the import location has been properly configured for access by the service account of the config service.
  • Visit https://<appid>.appspot.com/auth/bootstrap and click Proceed.
  • Set the import location and type using the Administration API's globalConfig setting call:
    • https://apis-explorer.appspot.com/apis-explorer/?base=https://<appid>.appspot.com/_ah/api#p/admin/v1/admin.globalConfig
    • services_config_location specifies the source location.
    • services_config_storage_type specifies the source type (e.g. GITILES).
  • If you plan to use an auth_service,