Skip to content

Commit

Permalink
ci: Place container storage inside work volume
Browse files Browse the repository at this point in the history
This commit updates the CI workflow to explicitly configure the Podman
container storage to be inside the runner work volume (`__w`), which is
guaranteed to have at least 100GB available.

The default container storage path is `/var/lib/containers/storage`,
which resides in the Docker storage volume that has no free space
guarantees.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
  • Loading branch information
stephanosio committed May 30, 2024
1 parent 0e26968 commit d9bdf4b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ jobs:
builder: zephyr-runner-v2-linux-arm64-4xlarge

steps:
- name: Configure container storage
run: |
sed -i 's/graphroot = .*/graphroot = "\/__w\/container_storage"/' /etc/containers/storage.conf
mkdir -p /__w/container_storage
- name: Checkout
uses: actions/checkout@v4

Expand Down

0 comments on commit d9bdf4b

Please sign in to comment.