| Index: deploytool/cmd/luci_deploy/layout.go
|
| diff --git a/deploytool/cmd/luci_deploy/layout.go b/deploytool/cmd/luci_deploy/layout.go
|
| index 7d7275a9277b670090ba0e16a8711ed9e2623cb0..5b8bcf47ee5a453d040af716262c51cccf5224eb 100644
|
| --- a/deploytool/cmd/luci_deploy/layout.go
|
| +++ b/deploytool/cmd/luci_deploy/layout.go
|
| @@ -231,6 +231,18 @@ func (comp *layoutDeploymentComponent) loadSourceComponent(reg componentRegistra
|
| module.Handlers.Handler = append(module.Handlers.Handler, msg.Handler...)
|
| }
|
|
|
| + // If the module specifies a direct "index.yaml" path, load index entries
|
| + // from there and translate them to resources.
|
| + if p := module.IndexYamlPath; p != "" {
|
| + path := module.comp.pathTo(p)
|
| + res, err := loadIndexYAMLResource(path)
|
| + if err != nil {
|
| + return errors.Annotate(err).Reason("failed to load 'index.yaml' from [%(path)s]").
|
| + D("path", path).Err()
|
| + }
|
| + dep.cloudProject.appendResources(res, &module)
|
| + }
|
| +
|
| // Append GAE Resources.
|
| if r := module.Resources; r != nil {
|
| dep.cloudProject.appendResources(r, &module)
|
|
|