Skip to content

Commit 07a054d

Browse files
committed
ci: Place container storage inside work volume
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]>
1 parent c899835 commit 07a054d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ jobs:
3434
builder: zephyr-runner-v2-linux-arm64-4xlarge
3535

3636
steps:
37+
- name: Configure container storage
38+
run: |
39+
sed -i 's/graphroot = .*/graphroot = "\/__w\/container_storage"/' /etc/containers/storage.conf
40+
mkdir -p /__w/container_storage
41+
3742
- name: Checkout
3843
uses: actions/checkout@v4
3944

@@ -83,6 +88,11 @@ jobs:
8388
if: ${{ github.event_name != 'pull_request' }}
8489

8590
steps:
91+
- name: Configure container storage
92+
run: |
93+
sed -i 's/graphroot = .*/graphroot = "\/__w\/container_storage"/' /etc/containers/storage.conf
94+
mkdir -p /__w/container_storage
95+
8696
- name: Login to GitHub Container Registry
8797
uses: redhat-actions/podman-login@v1
8898
with:

0 commit comments

Comments
 (0)