Skip to content

Commit

Permalink
DO NOT LAND: set a bunch of max capacities to 1 to test out caching
Browse files Browse the repository at this point in the history
  • Loading branch information
ahal committed Jan 8, 2025
1 parent 84b2999 commit 79bafe8
Show file tree
Hide file tree
Showing 5 changed files with 100 additions and 651 deletions.
1 change: 1 addition & 0 deletions .taskcluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ tasks:
FXCI_HEAD_REV: '${head_sha}'
FXCI_REPOSITORY_TYPE: git
FXCI_PIP_REQUIREMENTS: taskcluster/requirements.txt
PIP_DISABLE_REQUIRE_HASHES: 1
REPOSITORIES: {$json: {fxci: "Firefox-CI Config"}}
- $if: 'tasks_for == "action"'
then:
Expand Down
9 changes: 6 additions & 3 deletions taskcluster/docker/python/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@
FROM python:$PYTHON_VERSION
LABEL maintainer="Mozilla Release Engineering <[email protected]>"

VOLUME /builds/worker/checkouts
VOLUME /builds/worker/.cache/cargo
VOLUME /builds/worker/.cache/uv
VOLUME /builds/worker/.cache/npm
VOLUME $HOME/.cache/pip

# Add worker user
RUN mkdir -p /builds && \
useradd -d /builds/worker -s /bin/bash -m worker && \
Expand All @@ -21,8 +27,5 @@ ENV SHELL=/bin/bash \
HOME=/builds/worker \
PATH=/builds/worker/.local/bin:$PATH

VOLUME /builds/worker/checkouts
VOLUME /builds/worker/.cache

# Set a default command useful for debugging
CMD ["/bin/bash", "--login"]
1 change: 1 addition & 0 deletions taskcluster/requirements.in
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
taskcluster
taskcluster-taskgraph@git+https://github.com/taskcluster/taskgraph@refs/pull/623/head
Loading

0 comments on commit 79bafe8

Please sign in to comment.