diff options
author | Neil Williams <neil.williams@linaro.org> | 2018-04-03 13:00:46 +0100 |
---|---|---|
committer | Neil Williams <neil.williams@linaro.org> | 2018-04-03 13:00:46 +0100 |
commit | 5cb7e8eca03c49beb9e401c217800f897ddfa69e (patch) | |
tree | e40ce3f2e6e40cb967c69a31cf81d7c8389348d2 | |
parent | 1f187c238cdf07a69760af23f276dda3fa0cf7cf (diff) |
add a blacklist of documentation examples which do not run on staging
Change-Id: I4e8ba4e0ede6d4bedfd446af8274389c4a91d846
-rwxr-xr-x | bin/dispatcher-submit.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/bin/dispatcher-submit.py b/bin/dispatcher-submit.py index a241fe3..70ac2b6 100755 --- a/bin/dispatcher-submit.py +++ b/bin/dispatcher-submit.py @@ -39,12 +39,20 @@ for job_file in os.listdir(basedir): server = xmlrpclib.ServerProxy("http://lavabuildd:%s@staging.validation.linaro.org/RPC2/" % staging_token) server.scheduler.submit_job(data) +blacklist = [ + 'mustang-admin-example-job.yaml', + 'bbb-2serial.yaml', + 'standard-nbd-netboot-bbb.yaml', + 'multiple-serial-ports-lxc.yaml', + 'hikey-new-connection.yaml', +] + # documentation examples basedir = '/home/buildd/git/lava-server/doc/v2/examples/test-jobs/' for job_file in os.listdir(basedir): if not job_file.endswith('.yaml'): continue - if job_file.endswith('mustang-admin-example-job.yaml'): + if [True in set([job_file.endswith(item) for item in blacklist])][0]: continue with open(os.path.join(basedir, job_file), 'r') as job_data: data = job_data.read() |