From bfd3b5f272129bbebb98e51a8c8ce44d977fd70d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Be=C3=B1at=20Gartzia=20Arruabarrena?= Date: Mon, 6 Oct 2025 17:56:30 +0200 Subject: [PATCH 1/2] justfile: rm oci-archive as soon as it's loaded MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Beñat Gartzia Arruabarrena --- justfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/justfile b/justfile index d92794a..6ab72ef 100644 --- a/justfile +++ b/justfile @@ -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 @@ -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 From 6a4744aed9a607189e7b20fdf7cdaa7369e0894a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Be=C3=B1at=20Gartzia=20Arruabarrena?= Date: Mon, 6 Oct 2025 17:57:23 +0200 Subject: [PATCH 2/2] justfile: s/reveals/retrieves MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Beñat Gartzia Arruabarrena --- justfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/justfile b/justfile index 6ab72ef..c9a2f25 100644 --- a/justfile +++ b/justfile @@ -45,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 \ @@ -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 \ @@ -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 \ @@ -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 \