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