Skip to content

Commit

Permalink
tests: switch quadlet test to use :latest fedora tag
Browse files Browse the repository at this point in the history
This test is just sleeping so failure risk is minimal on a
major container update. Let's just use latest.

Since the container definition is in the butane config it's harder
to dynamically update this so let's just use a moving tag. As
mentioned above the risk is minimal.
  • Loading branch information
dustymabe committed Dec 4, 2024
1 parent 9b476c7 commit 292f504
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/kola/containers/quadlet/config.bu
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ storage:
Description=A minimal container

[Container]
Image=quay.io/fedora/fedora-minimal:40
Image=quay.io/fedora/fedora-minimal:latest
Exec=sleep 60
Volume=test.volume:/data
Network=test.network
Expand Down
2 changes: 1 addition & 1 deletion tests/kola/containers/quadlet/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ if ! is_service_active test.service; then
fatal "test-network.service failed to start"
fi
container_info=$(podman container inspect systemd-test)
if [[ "$(jq -r '.[0].ImageName' <<< "$container_info")" != "quay.io/fedora/fedora-minimal:40" ]]; then
if [[ "$(jq -r '.[0].ImageName' <<< "$container_info")" != "quay.io/fedora/fedora-minimal:latest" ]]; then
fatal "Container not using the correct image"
fi
if [[ "$(jq -r '.[0].NetworkSettings.Networks[].NetworkID' <<< "$container_info")" != "systemd-test" ]]; then
Expand Down

0 comments on commit 292f504

Please sign in to comment.