aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCecylia Bocovich <cohosh@torproject.org>2024-02-14 14:27:34 -0500
committerCecylia Bocovich <cohosh@torproject.org>2024-02-27 13:41:43 -0500
commit7b47a7d94b1d61904808c0322a7e969a9e302b70 (patch)
treef6fc6c159e0331de223687340db22337e55514f3
parent810f1fcc00b5f18811875c12f719a5330fb8edf0 (diff)
downloadsnowflake-7b47a7d94b1d61904808c0322a7e969a9e302b70.tar.gz
snowflake-7b47a7d94b1d61904808c0322a7e969a9e302b70.zip
Use known working version of shadow
-rw-r--r--.gitlab-ci.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ba4570a..52b53c7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -157,7 +157,7 @@ debian-testing:
shadow-integration:
image: golang:1.21-$DEBIAN_STABLE
variables:
- SHADOW_VERSION: "v3.1.0"
+ SHADOW_VERSION: "193924aae0dab30ffda0abe29467f552949849fa"
TGEN_VERSION: "v1.1.2"
cache:
key: sf-integration-$SHADOW_VERSION-$TGEN_VERSION
@@ -180,8 +180,9 @@ shadow-integration:
if [ ! -f opt/shadow/bin/shadow ]
then
echo "The required version of shadow was not cached, building from source"
- git clone --branch $SHADOW_VERSION --depth 1 https://github.com/shadow/shadow.git
+ git clone --shallow-since=2021-08-01 https://github.com/shadow/shadow.git
pushd shadow/
+ git checkout $SHADOW_VERSION
CONTAINER=debian:stable-slim ci/container_scripts/install_deps.sh
CC=gcc CONTAINER=debian:stable-slim ci/container_scripts/install_extra_deps.sh
export PATH="$HOME/.cargo/bin:${PATH}"