Skip to content

Commit 6b6828e

Browse files
Internal change
PiperOrigin-RevId: 922850859
1 parent 9c09634 commit 6b6828e

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

release/kokoro/release_linux.cfg

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,9 @@
33

44
build_file: "cel-python/release/kokoro/release_linux.sh"
55
timeout_mins: 120
6+
7+
container_properties {
8+
docker_image: "us-central1-docker.pkg.dev/kokoro-container-bakery/kokoro/ubuntu/ubuntu2204/ktcb:current"
9+
docker_sibling_containers: true
10+
docker_privileged: true
11+
}

release/kokoro/release_linux.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ if [ -z "${KOKORO_BUILD_ID}" ]; then
88
fi
99
fi
1010

11-
pip install -U keyring keyrings.google-artifactregistry-auth twine cibuildwheel
11+
pip install --no-cache-dir -U keyring keyrings.google-artifactregistry-auth twine cibuildwheel
1212

1313
REPO_DIR=$(mktemp -d)
1414
echo "Created temporary directory: ${REPO_DIR}"
@@ -40,7 +40,10 @@ fi
4040
VERSION=${VERSION#v}
4141
echo "Building release for version: ${VERSION}"
4242

43-
TMP_DIR=$(mktemp -d)
43+
# Explicitly create a normal directory in the workspace instead of using mktemp.
44+
TMP_DIR="${KOKORO_ARTIFACTS_DIR:-.}/cel-python-build"
45+
mkdir -p "${TMP_DIR}"
46+
export TMPDIR="${TMP_DIR}"
4447
echo "Build directory: ${TMP_DIR}"
4548

4649
# Add trap cleanup for TMP_DIR as well

0 commit comments

Comments
 (0)