tree: 32116c8a2e38d9354cdeb4ed7ff6e5ec6a2bc427 [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. cloudbuild.yaml
  14. cloudbuild_dev.yaml
  15. cloudbuild_version.yaml
  16. common.py
  17. cron.yaml
  18. gitiles_import.py
  19. gitiles_import_test.py
  20. handlers.py
  21. handlers_test.py
  22. main.py
  23. Makefile
  24. module-backend.yaml
  25. notifications.py
  26. notifications_test.py
  27. OWNERS
  28. PRESUBMIT.py
  29. projects.py
  30. projects_test.py
  31. queue.yaml
  32. README.md
  33. services.py
  34. services_test.py
  35. storage.py
  36. storage_test.py
  37. test_archive.tar.gz
  38. test_env.py
  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,