Skip to content

Instantly share code, notes, and snippets.

@mffiedler
Created April 15, 2021 17:59
Show Gist options
  • Save mffiedler/5222fe5b8126f20ff7f18fe8b7f04a51 to your computer and use it in GitHub Desktop.
Save mffiedler/5222fe5b8126f20ff7f18fe8b7f04a51 to your computer and use it in GitHub Desktop.
1. Pull the origin-tests image
podman pull quay.io/openshift/origin-tests
.
<snip>
.
Writing manifest to image destination
Storing signatures
0b30a9e03d14b0152319438abcac4ebb14f967675aab66dc8da0a8f011132c42
2. Run the image - nothing will happen but you'll get a pod filesystem you can mount
podman run 0b30a9e03d
podman ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
6e708d5f0756 quay.io/openshift/origin-tests:latest /usr/bin/bash 6 seconds ago Exited (0) 5 seconds ago stupefied_goodall
3. Mount the filesystem and copy the openshift-tests binary to /usr/local/bin or whereever
podman mount 6e708d5f0756
cp /var/lib/containers/storage/overlay/31e45e7a57accc4e73061a2aa5dd2cb6f2d6d101988007b8ab6eda4b7eec289e/merged/usr/bin/openshift-tests /usr/local/bin/.
openshift-tests run openshift/conformance/parallel or just do "openshift-tests run" to see more options
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment