Skip to content

Commit 014e2b5

Browse files
committed
small change with build_run
1 parent 035a381 commit 014e2b5

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

src/datasmith/docker/docker_build_run.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/usr/bin/env bash
2-
# set -x
32
set -euo pipefail
43

54
cd /workspace/repo || exit 1
@@ -60,7 +59,7 @@ for d in pkgs:
6059
print(f"{d['name']}=={d['version']}")
6160
PY
6261
export PIP_CONSTRAINT="$CONSTRAINTS_FILE"
63-
62+
export CONF_NAME="$CONF_NAME"
6463
# 2) Collect matrix packages and append explicit pins
6564
PKG_LIST_FILE="$(mktemp)"
6665
python - <<'PY' | tee "$PKG_LIST_FILE" >/dev/null
@@ -95,8 +94,8 @@ INSTALLED=()
9594
while IFS= read -r pkg; do
9695
[ -z "$pkg" ] && continue
9796
echo ">> checking $pkg"
98-
# Use GNU timeout (60s) around the dry-run check
99-
if timeout 60 python -m pip install --no-cache-dir \
97+
# Use GNU timeout (600s) around the dry-run check
98+
if timeout 600 python -m pip install --no-cache-dir \
10099
--upgrade-strategy only-if-needed -c "$CONSTRAINTS_FILE" \
101100
--dry-run "$pkg" >/dev/null 2>&1; then
102101
# If the dry run succeeds, do the real install (no timeout here, or add another timeout if desired)

0 commit comments

Comments
 (0)