mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-10-02 04:46:50 +03:00
Reserve other volumes (#24538)
CI / AMD64 Build (push) Waiting to run
CI / AMD64 Smoke Test (push) Blocked by required conditions
CI / ARM Build (push) Waiting to run
CI / Jetson Jetpack 6 (push) Waiting to run
CI / AMD64 Extra Build (push) Blocked by required conditions
CI / ARM Extra Build (push) Blocked by required conditions
CI / Synaptics Build (push) Blocked by required conditions
CI / Assemble and push default build (push) Blocked by required conditions
CI / AMD64 Build (push) Waiting to run
CI / AMD64 Smoke Test (push) Blocked by required conditions
CI / ARM Build (push) Waiting to run
CI / Jetson Jetpack 6 (push) Waiting to run
CI / AMD64 Extra Build (push) Blocked by required conditions
CI / ARM Extra Build (push) Blocked by required conditions
CI / Synaptics Build (push) Blocked by required conditions
CI / Assemble and push default build (push) Blocked by required conditions
This commit is contained in:
@@ -11,20 +11,20 @@ outputs:
|
|||||||
runs:
|
runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
steps:
|
steps:
|
||||||
# Prune preinstalled images, then stop docker so we can mount more space at
|
# Stop docker so we can mount more space at /var/lib/docker
|
||||||
# /var/lib/docker
|
|
||||||
- name: Stop docker
|
- name: Stop docker
|
||||||
run: |
|
run: sudo systemctl stop docker
|
||||||
sudo docker image prune --all --force
|
|
||||||
sudo systemctl stop docker
|
|
||||||
shell: bash
|
shell: bash
|
||||||
# This creates a virtual volume at /var/lib/docker to maximize the size
|
# This creates a virtual volume at /var/lib/docker to maximize the size
|
||||||
# As of 2/14/2024, this results in 97G for docker images
|
# As of 2/14/2024, this results in 97G for docker images
|
||||||
# Keep 4G on root for setup-qemu/buildx caches in ~/.docker and the tool cache
|
# Runners no longer have a separate /mnt disk, so the temp PV is also carved
|
||||||
|
# from root and temp-reserve-mb is what actually stays free on root. Keep 4G
|
||||||
|
# there for setup-qemu/buildx caches in ~/.docker and the tool cache
|
||||||
- name: Maximize build space
|
- name: Maximize build space
|
||||||
uses: easimon/maximize-build-space@master
|
uses: easimon/maximize-build-space@master
|
||||||
with:
|
with:
|
||||||
root-reserve-mb: 4096
|
root-reserve-mb: 8192
|
||||||
|
temp-reserve-mb: 4096
|
||||||
remove-dotnet: 'true'
|
remove-dotnet: 'true'
|
||||||
remove-android: 'true'
|
remove-android: 'true'
|
||||||
remove-haskell: 'true'
|
remove-haskell: 'true'
|
||||||
|
|||||||
Reference in New Issue
Block a user