Skip to content

Commit

Permalink
fix(decision): add --no-cache to uv pip install commands
Browse files Browse the repository at this point in the history
Using a cache here will create a root owned cache directory which
prevents containers / task users from using the uv cache.
  • Loading branch information
ahal committed Oct 15, 2024
1 parent 09a34d6 commit 82677d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions taskcluster/docker/decision/system-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ apt-get install -y --force-yes --no-install-recommends \

pushd /setup/taskgraph
uv export --no-dev > /setup/requirements.txt
uv pip install --system --break-system-packages -r /setup/requirements.txt
uv pip install --system --break-system-packages --no-deps .
uv pip install --no-cache --system --break-system-packages -r /setup/requirements.txt
uv pip install --no-cache --system --break-system-packages --no-deps .
popd

apt-get clean
Expand Down

0 comments on commit 82677d8

Please sign in to comment.