config_merger

command
v0.0.67 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

README

Config Merger

The config merger combines two or more configurations into a single TestGrid configuration.

Configuration List

The config merger requires a YAML file containing:

  • a list of the configurations its trying to merge
  • a location to put the final configuration

The --config-list flag should point to a file like this:

target: "gs://path/to/write/config"         # Final result goes here
sources:
- name: "red"                               # Used in renaming
  location: "gs://example/red-team/config"  
  contact: "red-admin@example.com"          # Used for cross-team communication, not yet by config_merger
- name: "blue"
  location: "gs://example/blue-team/config"
  contact: "blue.team.contact@example.com"
Renaming

Test Groups, Dashboards, and Dashboard Groups may be renamed to prevent duplicates in the final config. In this case, the name in the config list is added as a prefix, giving precedence by alphabetical order.

For example, if both configurations in the example above contain a dashboard named "foo", the red dashboard will be renamed to "red-foo".

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL