Merge "Move remnants of environments/services-docker"

This commit is contained in:
Zuul 2018-04-25 18:23:02 +00:00 committed by Gerrit Code Review
commit 80b12bcbe9
5 changed files with 8 additions and 3 deletions

View File

@ -1,2 +0,0 @@
resource_registry:
OS::TripleO::Services::TripleoUI: ../../docker/services/tripleo-ui.yaml

View File

@ -1093,8 +1093,15 @@ for base_path in path_args:
if '.tox' in dirs:
dirs.remove('.tox')
for f in files:
if f.endswith('.yaml') and not f.endswith('.j2.yaml'):
file_path = os.path.join(subdir, f)
if 'environments/services-docker' in file_path:
print("ERROR: environments/services-docker should not be used "
"any more, use environments/services instead: %s " %
file_path)
failed_files.append(file_path)
exit_val |= 1
if f.endswith('.yaml') and not f.endswith('.j2.yaml'):
failed = validate(file_path, param_map)
if failed:
failed_files.append(file_path)