Verified Commit f59cca0c authored by tr's avatar tr

Test podman and skopeo too.

parent fcc778f5
Pipeline #3187 passed with stages
in 9 minutes and 52 seconds
......@@ -73,7 +73,9 @@ build_centos_8:
- . "$DISTRO-$RELEASE.version" ; export VERSION
- echo "$VERSION"
- skopeo copy "docker-archive:$(pwd)/$DISTRO-$RELEASE.tar" "containers-storage:localhost/buildah/$DISTRO:$VERSION"
- podman run --net=host -it --rm "localhost/buildah/$DISTRO:$VERSION" podman --version
- podman run --net=host -it --rm "localhost/buildah/$DISTRO:$VERSION" buildah --version
- podman run --net=host -it --rm "localhost/buildah/$DISTRO:$VERSION" skopeo --version
test_fedora_31:
dependencies:
......@@ -89,7 +91,9 @@ test_fedora_31:
- . "$DISTRO-$RELEASE.version" ; export VERSION
- echo "$VERSION"
- skopeo copy "docker-archive:$(pwd)/$DISTRO-$RELEASE.tar" "containers-storage:localhost/buildah/$DISTRO:$VERSION"
- podman run -it --rm "localhost/buildah/$DISTRO:$VERSION" podman --version || exit_code="$?"
- podman run -it --rm "localhost/buildah/$DISTRO:$VERSION" buildah --version || exit_code="$?"
- podman run -it --rm "localhost/buildah/$DISTRO:$VERSION" skopeo --version || exit_code="$?"
- if [ "$exit_code" -ne 0 ]; then echo "Previous command is expected to fail, due to podman bug"; else echo "Podman seems fixed?!" && exit 1; fi;
needs: ["build_fedora_31"]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment