From 1e8171d8cab273b24eabfc48f611b6542110b1df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Thu, 26 Jan 2017 12:13:50 +0100 Subject: [PATCH] download testing files only to devel instance --- roles/copr/mbs/tasks/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/roles/copr/mbs/tasks/main.yml b/roles/copr/mbs/tasks/main.yml index cbeadd9abc..3efe525dad 100644 --- a/roles/copr/mbs/tasks/main.yml +++ b/roles/copr/mbs/tasks/main.yml @@ -145,14 +145,16 @@ # Use it as: python submit_build.py 127.0.0.1:5000 - name: Download submit_build.py get_url: url=https://pagure.io/fm-orchestrator/raw/master/f/contrib/submit_build.py dest=./ + when: devel - name: Download submit-build.json get_url: url=https://pagure.io/fm-orchestrator/raw/master/f/contrib/submit-build.json dest=./ + when: devel # A slightly modified submit_build.py to work with our httpd configuration - name: Download submit_build_copr.py get_url: url=https://gist.githubusercontent.com/FrostyX/ba15f60b4b4c8d2dfae6e3eaba56df61/raw/28d50f9c419bf925f88ebd91aba6d6f7e0e64672/submit_build_copr.py dest=./ - + when: devel # In this point personal information needs to be manually set, as described in @TODO at the beggining of the file