mozilla / release-services

Mozilla Release Engineering Services
https://docs.mozilla-releng.net
Mozilla Public License 2.0
49 stars 93 forks source link

move most of the configuration from secrets to code #1005

Closed garbas closed 5 years ago

garbas commented 6 years ago

needs #977 and #992 first

currently we (ab)use secrets to also configure our projects. it would be nice to have layered solution where most of the configuration will actually be in code while still have the possibility to adjust it after deployment via taskcluster secrets.

How this layer configuration will work?

How would be configuration in layers merged?

In each layer configuration for a project-A will be evaluated. Merging would happen in order which is in-repository, in-tasklcuster-secrets. Giving above example an end configuration would be:

{
  "option-A": "value-B",
  "option-B": "very-secret",
  "option-C": "value-A"
}
La0 commented 6 years ago

Looks good, but we should use YAML as Taskcluster is now using it for secrets.