diff options
author | Neil Williams <neil.williams@linaro.org> | 2016-04-28 19:39:55 +0100 |
---|---|---|
committer | Neil Williams <neil.williams@linaro.org> | 2016-04-28 19:39:55 +0100 |
commit | 3025b82d00175514fa1277eb7cd990941b87d59d (patch) | |
tree | 7f69923ce6bd5b8bcfc9d57704bad0816bb96442 | |
parent | 06945e97fc2c5830854fc37f72b25c3fd40b853b (diff) |
add install tests and add script to update git repos.
Change-Id: Ifba6c9f10088c0318a084575444f23f2ef25ddf3
-rwxr-xr-x | bin/server-submit.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/bin/server-submit.py b/bin/server-submit.py index 93c32d0..ea3e218 100755 --- a/bin/server-submit.py +++ b/bin/server-submit.py @@ -22,3 +22,17 @@ with open("/home/buildd/refactoring/functional/qemu-server-pipeline.yaml") as f: config = yaml.load(f) server = xmlrpclib.ServerProxy("http://lavabuildd:%s@staging.validation.linaro.org/RPC2/" % staging_token) job_id = server.scheduler.submit_job(yaml.dump(config)) + +# install tests +install = "/home/buildd/refactoring/functional/server-staging-install.yaml" +upgrade = "/home/buildd/refactoring/functional/server-jessie-stretch-upgrade.yaml" + +with open(upgrade) as f: + config = yaml.load(f) + server = xmlrpclib.ServerProxy("http://lavabuildd:%s@staging.validation.linaro.org/RPC2/" % staging_token) + job_id = server.scheduler.submit_job(yaml.dump(config)) + +with open(install) as f: + config = yaml.load(f) + server = xmlrpclib.ServerProxy("http://lavabuildd:%s@staging.validation.linaro.org/RPC2/" % staging_token) + job_id = server.scheduler.submit_job(yaml.dump(config)) |