Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
12 changes: 11 additions & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,19 @@ jobs:
# hosted Github Actions runners don't offer much space. Clean up unused
# dependencies so that we don't run out of disk. Borrowed from
# https://carlosbecker.com/posts/github-actions-disk-space.
#
# Note: deleting these directories can be very slow, so we only remove
# enough to allow the build to complete. We'll drop this workaround and
# get better build times once we switch to self-hosted runners with
# persistent storage and more disk.
Comment on lines +40 to +43
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need the extra space just to build the image, or is the image itself so big that we can't even run it? If this only needed for build, then we can probably live with slow rm once we publish the image to a registry.

- name: "cleanup"
run: |
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /opt/hostedtoolcache/CodeQL
time du -sh /usr/share/dotnet
time du -sh /opt/hostedtoolcache/CodeQL

time sudo rm -rf /usr/share/dotnet
time sudo rm -rf /opt/hostedtoolcache/CodeQL

sudo docker image prune --all --force
sudo docker builder prune -a
- uses: actions/checkout@v5
Expand Down
7 changes: 5 additions & 2 deletions acctest/nexus-config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,16 @@ metrics_producer_gc.period_secs = 60
external_endpoints.period_secs = 60
nat_cleanup.period_secs = 30
bfd_manager.period_secs = 30
# How frequently to check for a new inventory collection (made by any Nexus).
# This is cheap, so we should check frequently.
inventory.period_secs_load = 15
# How frequently to collect hardware/software inventory from the whole system
# (even if we don't have reason to believe anything has changed).
inventory.period_secs = 600
inventory.period_secs_collect = 600
# Maximum number of past collections to keep in the database
inventory.nkeep = 5
# Disable inventory collection altogether (for emergencies)
inventory.disable = false
inventory.disable_collect = false
phantom_disks.period_secs = 30
physical_disk_adoption.period_secs = 30
support_bundle_collector.period_secs = 30
Expand Down
Loading