Merge "only validate modified deliverable files"

This commit is contained in:
Jenkins
2016-12-05 12:19:40 +00:00
committed by Gerrit Code Review

View File

@@ -20,7 +20,6 @@ from __future__ import print_function
import argparse
import atexit
import glob
import os
import os.path
import re
@@ -506,9 +505,9 @@ def main():
filenames = args.input or gitutils.find_modified_deliverable_files()
if not filenames:
print('no modified deliverable files, validating all releases from %s'
% defaults.RELEASE)
filenames = glob.glob('deliverables/' + defaults.RELEASE + '/*.yaml')
print('no modified deliverable files and no arguments, '
'skipping validation')
return 0
zuul_layout = project_config.get_zuul_layout_data()