-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21356 from edsantiago/new_testimages
new testimage and systemd-image
- Loading branch information
Showing
15 changed files
with
109 additions
and
145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
package integration | ||
|
||
var ( | ||
STORAGE_FS = "overlay" //nolint:revive,stylecheck | ||
STORAGE_OPTIONS = "--storage-driver overlay" //nolint:revive,stylecheck | ||
ROOTLESS_STORAGE_FS = "overlay" //nolint:revive,stylecheck | ||
ROOTLESS_STORAGE_OPTIONS = "--storage-driver overlay" //nolint:revive,stylecheck | ||
CACHE_IMAGES = []string{ALPINE, BB, fedoraMinimal, NGINX_IMAGE, REDIS_IMAGE, REGISTRY_IMAGE, INFRA_IMAGE, CITEST_IMAGE, HEALTHCHECK_IMAGE, SYSTEMD_IMAGE, fedoraToolbox} //nolint:revive,stylecheck | ||
NGINX_IMAGE = "quay.io/libpod/alpine_nginx:latest" //nolint:revive,stylecheck | ||
BB_GLIBC = "docker.io/library/busybox:glibc" //nolint:revive,stylecheck | ||
REGISTRY_IMAGE = "quay.io/libpod/registry:2.8.2" //nolint:revive,stylecheck | ||
CITEST_IMAGE = "quay.io/libpod/testimage:20221018" //nolint:revive,stylecheck | ||
SYSTEMD_IMAGE = "quay.io/libpod/systemd-image:20230106" //nolint:revive,stylecheck | ||
CIRROS_IMAGE = "quay.io/libpod/cirros:latest" //nolint:revive,stylecheck | ||
STORAGE_FS = "overlay" //nolint:revive,stylecheck | ||
STORAGE_OPTIONS = "--storage-driver overlay" //nolint:revive,stylecheck | ||
ROOTLESS_STORAGE_FS = "overlay" //nolint:revive,stylecheck | ||
ROOTLESS_STORAGE_OPTIONS = "--storage-driver overlay" //nolint:revive,stylecheck | ||
CACHE_IMAGES = []string{ALPINE, BB, NGINX_IMAGE, REDIS_IMAGE, REGISTRY_IMAGE, INFRA_IMAGE, CITEST_IMAGE, HEALTHCHECK_IMAGE, SYSTEMD_IMAGE, fedoraToolbox} //nolint:revive,stylecheck | ||
NGINX_IMAGE = "quay.io/libpod/alpine_nginx:latest" //nolint:revive,stylecheck | ||
BB_GLIBC = "docker.io/library/busybox:glibc" //nolint:revive,stylecheck | ||
REGISTRY_IMAGE = "quay.io/libpod/registry:2.8.2" //nolint:revive,stylecheck | ||
CITEST_IMAGE = "quay.io/libpod/testimage:20240123" //nolint:revive,stylecheck | ||
SYSTEMD_IMAGE = "quay.io/libpod/systemd-image:20240124" //nolint:revive,stylecheck | ||
CIRROS_IMAGE = "quay.io/libpod/cirros:latest" //nolint:revive,stylecheck | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -324,16 +324,13 @@ LISTEN_FDNAMES=listen_fdnames" | sort) | |
} | ||
|
||
@test "podman create --health-on-failure=kill" { | ||
img="healthcheck_i" | ||
_build_health_check_image $img | ||
|
||
cname=c_$(random_string) | ||
run_podman create --name $cname \ | ||
--health-cmd /healthcheck \ | ||
--health-on-failure=kill \ | ||
--health-retries=1 \ | ||
--restart=on-failure \ | ||
$img | ||
run_podman create --name $cname \ | ||
--health-cmd /home/podman/healthcheck \ | ||
--health-on-failure=kill \ | ||
--health-retries=1 \ | ||
--restart=on-failure \ | ||
$IMAGE /home/podman/pause | ||
|
||
# run container in systemd unit | ||
service_setup | ||
|
@@ -376,7 +373,6 @@ LISTEN_FDNAMES=listen_fdnames" | sort) | |
|
||
# stop systemd container | ||
service_cleanup | ||
run_podman rmi -f $img | ||
} | ||
|
||
@test "[email protected] template" { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.