Skip to content

Commit 998d139

Browse files
authored
Merge pull request #4198 from apostasie/2025-05-workaround-gmj
[CI]: workaround gomodjail concurrency issue
2 parents 28d77b6 + 4039cfe commit 998d139

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

hack/test-integration.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,13 @@ if [[ "$(id -u)" = "0" ]]; then
2626
fi
2727
fi
2828

29+
# This is a temporary workaround for https://github.com/AkihiroSuda/gomodjail/issues/50
30+
# FIXME: remove this once above has been fixed.
31+
if command -v nerdctl.gomodjail >/dev/null 2>&1; then
32+
# We do not care that it fails or succeeds - just need gomodjail to unpack once.
33+
nerdctl.gomodjail info >/dev/null 2>&1 || true
34+
fi
35+
2936
readonly timeout="60m"
3037
readonly retries="2"
3138
readonly needsudo="${WITH_SUDO:-}"

0 commit comments

Comments
 (0)