tree: 8ed40850d5da8403e92268db3f0cb757e9a741ee [path history] [tgz]
  1. Makefile
  2. OWNERS
  3. PRESUBMIT.py
  4. README.md
  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. cloudbuild.yaml
  14. cloudbuild_dev.yaml
  15. cloudbuild_version.yaml
  16. common.py
  17. cron.yaml
  18. doc/
  19. gitiles_import.py
  20. gitiles_import_test.py
  21. handlers.py
  22. handlers_test.py
  23. main.py
  24. module-backend.yaml
  25. notifications.py
  26. notifications_test.py
  27. projects.py
  28. projects_test.py
  29. queue.yaml
  30. services.py
  31. services_test.py
  32. storage.py
  33. storage_test.py
  34. templates/
  35. test_archive.tar.gz
  36. test_env.py
  37. tools/
  38. ui/
  39. validation.py
  40. 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.
  • Follow the instructions in ui/README.md to build the UI.
  • 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,