mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-14 05:11:19 -04:00
Use known working version of shadow
This commit is contained in:
parent
810f1fcc00
commit
7b47a7d94b
1 changed files with 3 additions and 2 deletions
|
@ -157,7 +157,7 @@ debian-testing:
|
||||||
shadow-integration:
|
shadow-integration:
|
||||||
image: golang:1.21-$DEBIAN_STABLE
|
image: golang:1.21-$DEBIAN_STABLE
|
||||||
variables:
|
variables:
|
||||||
SHADOW_VERSION: "v3.1.0"
|
SHADOW_VERSION: "193924aae0dab30ffda0abe29467f552949849fa"
|
||||||
TGEN_VERSION: "v1.1.2"
|
TGEN_VERSION: "v1.1.2"
|
||||||
cache:
|
cache:
|
||||||
key: sf-integration-$SHADOW_VERSION-$TGEN_VERSION
|
key: sf-integration-$SHADOW_VERSION-$TGEN_VERSION
|
||||||
|
@ -180,8 +180,9 @@ shadow-integration:
|
||||||
if [ ! -f opt/shadow/bin/shadow ]
|
if [ ! -f opt/shadow/bin/shadow ]
|
||||||
then
|
then
|
||||||
echo "The required version of shadow was not cached, building from source"
|
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/
|
pushd shadow/
|
||||||
|
git checkout $SHADOW_VERSION
|
||||||
CONTAINER=debian:stable-slim ci/container_scripts/install_deps.sh
|
CONTAINER=debian:stable-slim ci/container_scripts/install_deps.sh
|
||||||
CC=gcc CONTAINER=debian:stable-slim ci/container_scripts/install_extra_deps.sh
|
CC=gcc CONTAINER=debian:stable-slim ci/container_scripts/install_extra_deps.sh
|
||||||
export PATH="$HOME/.cargo/bin:${PATH}"
|
export PATH="$HOME/.cargo/bin:${PATH}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue