#4 make sure rpmdirs are created
Closed 7 years ago by kparal. Opened 7 years ago by kparal.

file modified
+6
@@ -13,6 +13,12 @@ 

          - 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

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

Actually, scratch this. It's better when we implement this in libtaskotron rather than each task handling this case. Patch provided here:
https://phab.qa.fedoraproject.org/D1175

So, sorry for bothering, no action needed :-)

Pull-Request has been closed by kparal

7 years ago
Metadata