Skip to content
Merged
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
10 changes: 5 additions & 5 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ pull-target-container-image:
if ! podman image exists {{target_container_name}}; then
curl --skip-existing -o {{target_container_ociarchive_path}} {{image}}
image_id=$(podman load -i {{target_container_ociarchive_path}} 2>/dev/null | awk -F ':' '{print $NF}')
rm {{target_container_ociarchive_path}}
podman tag $image_id {{target_container_name}}
fi

Expand Down Expand Up @@ -44,7 +45,7 @@ test-container: prepare-test-deps
#!/bin/bash
set -euo pipefail
# set -x
# It reveals the ID, VERSION_ID and OSTREE_VERSION environment variables
# It retrieves the ID, VERSION_ID and OSTREE_VERSION environment variables
source {{target_container_osinfo_path}}
podman run --rm \
--security-opt label=disable \
Expand Down Expand Up @@ -85,7 +86,6 @@ clean-tests:
# set -x
rm -rf test-data test
podman image rm {{target_container_name}}
rm {{target_container_ociarchive_path}}
rm {{target_container_osinfo_path}}

test-vmlinuz: prepare-test-deps
Expand Down Expand Up @@ -116,7 +116,7 @@ test-secureboot-enabled: prepare-test-deps
#!/bin/bash
set -euo pipefail
# set -x
# It reveals the ID, VERSION_ID and OSTREE_VERSION environment variables
# It retrieves the ID, VERSION_ID and OSTREE_VERSION environment variables
source {{target_container_osinfo_path}}
podman run --rm \
--security-opt label=disable \
Expand All @@ -134,7 +134,7 @@ test-secureboot-disabled: prepare-test-deps
#!/bin/bash
set -euo pipefail
# set -x
# It reveals the ID, VERSION_ID and OSTREE_VERSION environment variables
# It retrieves the ID, VERSION_ID and OSTREE_VERSION environment variables
source {{target_container_osinfo_path}}
mkdir -p test-data/efivars/qemu-ovmf/${ID}-${VERSION_ID}-sb-disabled
podman run --rm \
Expand All @@ -154,7 +154,7 @@ test-default-mok-keys: prepare-test-deps
#!/bin/bash
set -euo pipefail
# set -x
# It reveals the ID, VERSION_ID and OSTREE_VERSION environment variables
# It retrieves the ID, VERSION_ID and OSTREE_VERSION environment variables
source {{target_container_osinfo_path}}
podman run --rm \
--security-opt label=disable \
Expand Down
Loading