Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce disk usage on bootstrap cache miss #29799

Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/actions/checkout-submodules-and-bootstrap/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@ runs:
uses: ./.github/actions/bootstrap
with:
platform: ${{ inputs.platform }}
- name: Remove CIPD cache directory
# If there is a bootstrap-cache miss, and bootstrap installs CIPD itself,
# there is roughly 1.4GB that remains in this cache that is useless from
# this point onwards.
run: |
du -sh $HOME/.cipd-cache-dir/
rm -rf $HOME/.cipd-cache-dir/
tehampson marked this conversation as resolved.
Show resolved Hide resolved
- name: Dump disk info after checkout submodule & Bootstrap
shell: bash
run: scripts/dump_diskspace_info.sh
Expand Down
2 changes: 1 addition & 1 deletion scripts/setup/environment.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"cipd_package_files": [
"third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/cipd_setup/arm.json",
"pigweed.json",
"scripts/setup/pigweed.json",
"scripts/setup/python.json",
"scripts/setup/zap.json"
],
Expand Down
File renamed without changes.