From 1bf622a0ea5ab24af4aeb9f2065952376ee7fb0f Mon Sep 17 00:00:00 2001 From: Chris Evich Date: Thu, 16 May 2019 13:18:22 -0400 Subject: hack: ignore from all VCS files when tarballing Signed-off-by: Chris Evich --- hack/get_ci_vm.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/get_ci_vm.sh b/hack/get_ci_vm.sh index 1d9282c05..aed0042fb 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: ssh-keys generated on the fly +# Couldn't make rsync work with gcloud's ssh wrapper because ssh-keys generated on the fly TARBALL=$VMNAME.tar.bz2 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 . +showrun --background tar cjf $TMPDIR/$TARBALL --warning=no-file-changed --exclude-vcs-ignores -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 -- cgit v1.2.3-54-g00ecf