Skip to content

Commit

Permalink
TMP: make squash test local
Browse files Browse the repository at this point in the history
Signed-off-by: Michael McCracken <[email protected]>
  • Loading branch information
mikemccracken committed Jan 11, 2025
1 parent 2d25ad0 commit bc09e19
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions test/squashfs.bats
Original file line number Diff line number Diff line change
Expand Up @@ -227,18 +227,23 @@ EOF
}

@test "build squashfs then tar" {
echo "x" > x
cat > stacker.yaml <<"EOF"
install-base:
build_only: true
from:
type: docker
url: "docker://zothub.io/machine/bootkit/rootfs:v0.0.17.231018-squashfs"
from:
type: oci
url: ${{BUSYBOX_OCI}}
run: |
touch /1
EOF
stacker build --layer-type=squashfs --substitute BUSYBOX_OCI=${BUSYBOX_OCI}
mv oci oci-import

echo "x" > x
cat > stacker.yaml <<"EOF"
install-rootfs-pkg:
from:
type: built
tag: install-base
type: oci
url: oci-import:install-base-squashfs
build_only: true
run: |
#!/bin/sh -ex
Expand Down

0 comments on commit bc09e19

Please sign in to comment.