We're going to rewrite the script completely, and getting the current implementation out of the way firts will make the diffs more reasonable. Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx> --- refresh | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100755 refresh diff --git a/refresh b/refresh deleted file mode 100755 index 701d2af..0000000 --- a/refresh +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/sh - -die() { - test "$1" && echo "$1" >&2 - exit 1 -} - -me="$0" -here=$(pwd) - -ci_repo="$1" - -cd "$ci_repo/guests/" >/dev/null 2>&1 || { - die "Usage: $me path/to/libvirt-jenkins-ci.git" -} - -for host in $(./lcitool hosts) -do - projects="libvirt" - dockerfile="$here/buildenv-${host#libvirt-}.Dockerfile" - - case "$host" in - libvirt-fedora-rawhide) projects="libvirt,libvirt+mingw*" ;; - libvirt-freebsd-*) continue ;; - esac - - ./lcitool dockerfile "$host" "$projects" >"$dockerfile" || { - die "$me: Failed to refresh Dockerfile for $host" - } -done -- 2.20.1 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list