From 21373b826a6a390f2ee05cafa8aba2ba0c1e52ab Mon Sep 17 00:00:00 2001 From: Stephanos Ioannidis Date: Fri, 31 May 2024 02:31:48 +0900 Subject: [PATCH] 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 --- .github/workflows/ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 63fb93b..33211b6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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: