Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/build-egg-multirunner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,18 @@ jobs:
just export
echo "image_ref=${{ env.IMAGE_NAME }}:latest" >> "$GITHUB_OUTPUT"

- name: Prune BuildStream artifact cache
env:
BST_FLAGS: --no-interactive --config /src/buildstream-ci.conf
run: |
echo "=== Disk before prune ==="
df -h /
just bst artifact delete --deps all oci/bluefin.bst
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be handled automatically by bst when its running low on disk space. Does it make a difference to do it manually here? Or is it to make space for the rest of the build?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was running out of space for some reason on the final assemble

echo "=== Disk after prune ==="
df -h /



- name: Verify image loaded
run: sudo podman images

Expand Down
2 changes: 1 addition & 1 deletion Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ chunkify image_ref:
# Note: We need --privileged for some podman-in-podman/mount scenarios or just standard access
LOADED=$($SUDO_CMD podman run --rm \
--security-opt label=type:unconfined_t \
--mount=type=image,src="{{image_ref}}",dest=/chunkah \
--mount=type=image,src="{{image_ref}}",destination=/chunkah \
-e "CHUNKAH_CONFIG_STR=$CONFIG" \
quay.io/jlebon/chunkah:latest build | $SUDO_CMD podman load)

Expand Down