mirror of
https://github.com/containers/podman.git
synced 2025-10-14 09:45:59 +08:00

Unfortunately on a number of occasions, Podman has been released officially with a `-dev` suffix in the version number. Assist in catching this mistake at release time by the addition of a simple conditional test. Note that it must be positively enabled by a magic env. var. before executing the system tests. Also (thanks to @lsm5) update the TMT test to trigger the new condition for future Fedora releases. Signed-off-by: Chris Evich <cevich@redhat.com>
52 lines
1.1 KiB
Plaintext
52 lines
1.1 KiB
Plaintext
require:
|
|
- podman-tests
|
|
- psmisc
|
|
|
|
environment:
|
|
# PODMAN_TESTING envvar is set in system.sh
|
|
PODMAN: /usr/bin/podman
|
|
QUADLET: /usr/libexec/podman/quadlet
|
|
ROOTLESS_USER: "fedora"
|
|
adjust+:
|
|
- when: distro == centos-stream
|
|
environment+:
|
|
ROOTLESS_USER: "ec2-user"
|
|
- when: distro == rhel
|
|
environment+:
|
|
ROOTLESS_USER: "cloud-user"
|
|
- when: initiator != "packit"
|
|
environment+:
|
|
RELEASE_TESTING: true
|
|
|
|
/local-root:
|
|
tag: [ local, root ]
|
|
summary: local rootful test
|
|
test: bash ./system.sh
|
|
duration: 30m
|
|
|
|
/local-rootless:
|
|
tag: [ local, rootless ]
|
|
summary: rootless test
|
|
test: bash ./system.sh rootless
|
|
duration: 30m
|
|
|
|
/remote-root:
|
|
tag: [ remote, root ]
|
|
summary: remote rootful test
|
|
test: bash ./system.sh
|
|
duration: 30m
|
|
environment+:
|
|
PODMAN: /usr/bin/podman-remote
|
|
require+:
|
|
- podman-remote
|
|
|
|
/remote-rootless:
|
|
tag: [ remote, rootless ]
|
|
summary: remote rootless test
|
|
test: bash ./system.sh rootless
|
|
duration: 30m
|
|
environment+:
|
|
PODMAN: /usr/bin/podman-remote
|
|
require+:
|
|
- podman-remote
|