blob: 6b5cfc30ea0ace07f3869612c3db7c524a290d5a [file] [log] [blame]
#!/usr/bin/env lucicfg
# Tell lucicfg what files it is allowed to touch
lucicfg.config(
config_dir = 'generated',
tracked_files = [
'cr-buildbucket-dev.cfg',
'luci-logdog-dev.cfg',
'luci-milo-dev.cfg',
'luci-scheduler-dev.cfg',
],
fail_on_warnings = True,
)
# Copy the not-yet migrated files to the generated outputs
# TODO(https://crbug.com/1011908) Migrate the configuration in these files to starlark
[lucicfg.emit(dest = f, data = io.read_file(f)) for f in (
'cr-buildbucket-dev.cfg',
'luci-logdog-dev.cfg',
'luci-milo-dev.cfg',
'luci-scheduler-dev.cfg',
)]