summaryrefslogtreecommitdiff
path: root/hack/get_ci_vm.sh
diff options
context:
space:
mode:
authorChris Evich <cevich@redhat.com>2019-05-10 10:19:55 -0400
committerChris Evich <cevich@redhat.com>2019-05-22 12:44:38 -0400
commit53a2994a227c3b00f3b382477718dca18b6a5547 (patch)
tree889502a5934cb180c175d3d714c32906d927febf /hack/get_ci_vm.sh
parent99bd1d31c7ba69fd38bcbbf9b7b33732ff7f57ca (diff)
downloadpodman-53a2994a227c3b00f3b382477718dca18b6a5547.tar.gz
podman-53a2994a227c3b00f3b382477718dca18b6a5547.tar.bz2
podman-53a2994a227c3b00f3b382477718dca18b6a5547.zip
hack: shrink xfer tarball size
Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'hack/get_ci_vm.sh')
-rwxr-xr-xhack/get_ci_vm.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/hack/get_ci_vm.sh b/hack/get_ci_vm.sh
index 82e304d74..1d9282c05 100755
--- a/hack/get_ci_vm.sh
+++ b/hack/get_ci_vm.sh
@@ -231,10 +231,10 @@ then
"$HOME/.config/gcloud/configurations/config_default"
fi
-# Couldn't make rsync work with gcloud's ssh wrapper :(
+# Couldn't make rsync work with gcloud's ssh wrapper: ssh-keys generated on the fly
TARBALL=$VMNAME.tar.bz2
-echo -e "\n${YEL}Packing up repository into a tarball $VMNAME.${NOR}"
-showrun --background tar cjf $TMPDIR/$TARBALL --warning=no-file-changed -C $LIBPODROOT .
+echo -e "\n${YEL}Packing up local repository into a tarball.${NOR}"
+showrun --background tar cjf $TMPDIR/$TARBALL --warning=no-file-changed --exclude=.git --exclude=bin -C $LIBPODROOT .
trap delvm INT # Allow deleting VM if CTRL-C during create
# This fails if VM already exists: permit this usage to re-init