-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test composefs on rawhide #22425
test composefs on rawhide #22425
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -266,11 +266,6 @@ func PodmanTestCreateUtil(tempDir string, remote bool) *PodmanTestIntegration { | |
} | ||
} | ||
|
||
storageOptions := os.Getenv("STORAGE_OPTIONS") | ||
if storageOptions == "" { | ||
storageOptions = STORAGE_OPTIONS | ||
} | ||
|
||
cgroupManager := os.Getenv("CGROUP_MANAGER") | ||
if cgroupManager == "" { | ||
cgroupManager = CGROUP_MANAGER | ||
|
@@ -313,9 +308,17 @@ func PodmanTestCreateUtil(tempDir string, remote bool) *PodmanTestIntegration { | |
if isRootless() { | ||
storageFs = ROOTLESS_STORAGE_FS | ||
} | ||
|
||
storageOptions := STORAGE_OPTIONS | ||
if os.Getenv("STORAGE_FS") != "" { | ||
storageFs = os.Getenv("STORAGE_FS") | ||
storageOptions = "--storage-driver " + storageFs | ||
|
||
// Look for STORAGE_OPTIONS_OVERLAY / STORAGE_OPTIONS_VFS | ||
extraOptions := os.Getenv("STORAGE_OPTIONS_" + strings.ToUpper(storageFs)) | ||
if extraOptions != "" { | ||
storageOptions += " --storage-opt " + extraOptions | ||
} | ||
Comment on lines
+317
to
+321
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. New behavior. I think it makes sense to require separate envariables for each storage fs, but please shoot down if you disagree. |
||
} | ||
|
||
p := &PodmanTestIntegration{ | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
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 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ROOTLESS_STORAGE_OPTIONS was nuked in #18544. (The rest of this block is whitespace-only. Same with the next two config_xxx.go files). |
||
CACHE_IMAGES = []string{ALPINE, BB, NGINX_IMAGE, REDIS_IMAGE, REGISTRY_IMAGE, INFRA_IMAGE, CITEST_IMAGE, HEALTHCHECK_IMAGE, SYSTEMD_IMAGE} //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 | ||
STORAGE_FS = "overlay" //nolint:revive,stylecheck | ||
STORAGE_OPTIONS = "--storage-driver overlay" //nolint:revive,stylecheck | ||
ROOTLESS_STORAGE_FS = "overlay" //nolint:revive,stylecheck | ||
CACHE_IMAGES = []string{ALPINE, BB, NGINX_IMAGE, REDIS_IMAGE, REGISTRY_IMAGE, INFRA_IMAGE, CITEST_IMAGE, HEALTHCHECK_IMAGE, SYSTEMD_IMAGE} //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 | ||
) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
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} //nolint:revive,stylecheck | ||
NGINX_IMAGE = "quay.io/lsm5/alpine_nginx-aarch64: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 | ||
STORAGE_FS = "overlay" //nolint:revive,stylecheck | ||
STORAGE_OPTIONS = "--storage-driver overlay" //nolint:revive,stylecheck | ||
ROOTLESS_STORAGE_FS = "overlay" //nolint:revive,stylecheck | ||
CACHE_IMAGES = []string{ALPINE, BB, fedoraMinimal, NGINX_IMAGE, REDIS_IMAGE, REGISTRY_IMAGE, INFRA_IMAGE, CITEST_IMAGE, HEALTHCHECK_IMAGE, SYSTEMD_IMAGE} //nolint:revive,stylecheck | ||
NGINX_IMAGE = "quay.io/lsm5/alpine_nginx-aarch64: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 | ||
) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
package integration | ||
|
||
var ( | ||
STORAGE_FS = "overlay" | ||
STORAGE_OPTIONS = "--storage-driver overlay" | ||
ROOTLESS_STORAGE_FS = "overlay" | ||
ROOTLESS_STORAGE_OPTIONS = "--storage-driver overlay" | ||
CACHE_IMAGES = []string{ALPINE, BB, fedoraMinimal, NGINX_IMAGE, REDIS_IMAGE, INFRA_IMAGE, CITEST_IMAGE} | ||
NGINX_IMAGE = "quay.io/libpod/alpine_nginx-ppc64le:latest" | ||
BB_GLIBC = "docker.io/ppc64le/busybox:glibc" | ||
CITEST_IMAGE = "quay.io/libpod/testimage:20240123" | ||
REGISTRY_IMAGE string | ||
STORAGE_FS = "overlay" | ||
STORAGE_OPTIONS = "--storage-driver overlay" | ||
ROOTLESS_STORAGE_FS = "overlay" | ||
CACHE_IMAGES = []string{ALPINE, BB, fedoraMinimal, NGINX_IMAGE, REDIS_IMAGE, INFRA_IMAGE, CITEST_IMAGE} | ||
NGINX_IMAGE = "quay.io/libpod/alpine_nginx-ppc64le:latest" | ||
BB_GLIBC = "docker.io/ppc64le/busybox:glibc" | ||
CITEST_IMAGE = "quay.io/libpod/testimage:20240123" | ||
REGISTRY_IMAGE string | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Completely unrelated to my PR, I'm just sneaking this in as a drive-by fix