Merge branch 'pin-chutney' into 'main'

CI: use a fixed version of chutney

See merge request tpo/core/tor!843
This commit is contained in:
David Goulet 2024-10-30 17:36:28 +00:00
commit 6c8238f313
2 changed files with 9 additions and 1 deletions

View File

@ -108,7 +108,12 @@ variables:
# TODO: This next line should not be debian-only. # TODO: This next line should not be debian-only.
- | - |
if [ "$CHUTNEY" = yes ]; then if [ "$CHUTNEY" = yes ]; then
git clone --depth 1 https://gitlab.torproject.org/tpo/core/chutney.git # Use a fixed version of chutney to avoid surprise breakage.
CHUTNEY_SHALLOW_SINCE=2024-10-28
CHUTNEY_COMMIT=be881a1e7c4bc8038fa13fde4a7b24e5c56349c4
git clone --shallow-since "$CHUTNEY_SHALLOW_SINCE" https://gitlab.torproject.org/tpo/core/chutney.git
git -C ./chutney checkout "$CHUTNEY_COMMIT"
export CHUTNEY_PATH="$(pwd)/chutney" export CHUTNEY_PATH="$(pwd)/chutney"
# Have pip install chutney's python dependencies by installing chutney # Have pip install chutney's python dependencies by installing chutney
# itself. # itself.

3
changes/ci-pin-chutney Normal file
View File

@ -0,0 +1,3 @@
o Minor feature (testing, CI):
- Use a fixed version of chutney (be881a1e) instead of its current HEAD.
This version should also be preferred when testing locally.