Skip to content

Commit 20f99d1

Browse files
renner0egithub-actions[bot]
authored andcommitted
chore(ci): use container-storage-action again (#2408)
I did some light testing regarding the variation of allocated space on / and /mnt if present the other day and sadly there is still a very low single-digit chance where our image build is just gonna fail because we got the worst possible disk configuration with 20GB free and no (additional) space on /mnt. This would at least address the cases where we do have /mnt. This came up again because we are using chunkah now which produces an image where none of the layers with the base image are shared. xref: #2337 (cherry picked from commit fefad58)
1 parent 4b53afa commit 20f99d1

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/reusable-build.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,20 @@ jobs:
6969
- name: Checkout
7070
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
7171

72+
# FIXME: We need both actions as we run out of space on /var/tmp, however this
73+
# will still fail sometimes as even the smallest 72G runners have a
74+
# chance of not having /mnt and only 20GB free. Please investigate this
75+
# in the future
76+
77+
- name: Mount BTRFS for podman storage
78+
id: container-storage-action
79+
uses: ublue-os/container-storage-action@25e05be4948f77746938687877829d15c5038036
80+
continue-on-error: true
81+
with:
82+
target-dir: /var/lib/containers
83+
mount-opts: compress-force=zstd:2
84+
loopback-free: '1'
85+
7286
- name: Free Up Space
7387
id: remove-unwanted-software
7488
uses: ublue-os/remove-unwanted-software@695eb75bc387dbcd9685a8e72d23439d8686cba6

0 commit comments

Comments
 (0)