From 7b9a5f0302648a1567fc506d64c94b1937ba018f Mon Sep 17 00:00:00 2001 From: Kamil Páral Date: Mar 22 2017 14:28:41 +0000 Subject: make sure rpmdirs are created If there were no rpms to download, the dirs were not created and run_abipkgdiff crashed. Just a note: For this fully working, we will also need this libtaskotron patch deployed, which should be part of libtaskotron 0.4.20: https://phab.qa.fedoraproject.org/D1174 --- diff --git a/runtask.yml b/runtask.yml index 31f74f1..46d0749 100755 --- a/runtask.yml +++ b/runtask.yml @@ -13,6 +13,12 @@ environment: - yum actions: + - name: "make sure rpm dirs are created, because if the koji directives turn out to not + download anything, they won't exist and our script would crash on that" + shell: + - [mkdir, '${workdir}/stable'] + - [mkdir, '${workdir}/update'] + - name: download latest stable rpms for the package koji: action: download_latest_stable