[master] 68fb50186 vtest/cci: Adjust to vtest submodule
Nils Goroll
nils.goroll at uplex.de
Tue May 27 07:06:05 UTC 2025
commit 68fb5018622f675ede5853473f57b042935e15e4
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Tue May 27 09:03:59 2025 +0200
vtest/cci: Adjust to vtest submodule
diff --git a/.circleci/config.yml b/.circleci/config.yml
index ce11e78cc..3262f515a 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -110,7 +110,7 @@ jobs:
mkdir -p ~/.ssh
ssh-keyscan -H github.com >> ~/.ssh/known_hosts
echo ${CIRCLE_REPOSITORY_URL}
- git clone https://github.com/varnishcache/pkg-varnish-cache.git .
+ git clone -r https://github.com/varnishcache/pkg-varnish-cache.git .
git checkout << pipeline.parameters.pkg-commit >>
tar cvzf debian.tar.gz debian --dereference
tar cvzf redhat.tar.gz redhat --dereference
diff --git a/tools/vtest.sh b/tools/vtest.sh
index cc617b592..a1837ac0d 100755
--- a/tools/vtest.sh
+++ b/tools/vtest.sh
@@ -76,9 +76,11 @@ chown varnish "${TMPDIR}" > /dev/null 2>&1 || true
# Establish the SRCDIR we build/run/test
if ! (cd varnish-cache 2>/dev/null) ; then
- git clone \
+ git clone -r \
https://github.com/varnishcache/varnish-cache.git \
varnish-cache
+else
+ git submodule update --init || true
fi
export SRCDIR=`pwd`/varnish-cache
More information about the varnish-commit
mailing list