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 <[email protected]>
  • Loading branch information
stephanosio committed May 31, 2024
1 parent c899835 commit 07a054d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,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 Expand Up @@ -83,6 +88,11 @@ jobs:
if: ${{ github.event_name != 'pull_request' }}

steps:
- name: Configure container storage
run: |
sed -i 's/graphroot = .*/graphroot = "\/__w\/container_storage"/' /etc/containers/storage.conf
mkdir -p /__w/container_storage
- name: Login to GitHub Container Registry
uses: redhat-actions/podman-login@v1
with:
Expand Down

0 comments on commit 07a054d

Please sign in to comment.