mirror of
https://github.com/containers/skopeo.git
synced 2025-04-28 11:14:08 +00:00
Cirrus: Fix c/image CI testing
The containers/image CI setup reuses the runner script from this repo to execute the skopeo tests. However, an env. var. is being taken out of context in that environment, leading to failure. Fix this by hard-coding an image-name which will always be available in both environments. Signed-off-by: Chris Evich <cevich@redhat.com>
This commit is contained in:
parent
9d65de7d61
commit
67a8bef6ea
@ -115,19 +115,15 @@ _run_unit() {
|
||||
_podman_reset() {
|
||||
# Ensure we start with a clean-slate
|
||||
showrun podman system reset --force
|
||||
# Don't pollute the CI environment
|
||||
(
|
||||
source $CIRRUS_WORKING_DIR/systemtest/helpers.bash
|
||||
# WARNING WARNING WARNING WARNING
|
||||
# Without running a container, the system tests will inexplicably
|
||||
# fail with obscure errors/warning messages. I have no idea why
|
||||
# running a container after a `system reset` fixes/prevents the
|
||||
# problem. The failures do not reproduce when tests are run manually.
|
||||
# So unless or until /until somebody develops a better understanding,
|
||||
# this fix is JFM.
|
||||
# this fix is JFM - just fakking magic.
|
||||
# WARNING WARNING WARNING WARNING
|
||||
showrun podman run -it --rm --entrypoint /bin/true $REGISTRY_FQIN
|
||||
)
|
||||
showrun podman run -it --rm --entrypoint /bin/true quay.io/libpod/alpine:latest
|
||||
}
|
||||
|
||||
_run_integration() {
|
||||
|
Loading…
Reference in New Issue
Block a user