Skip tests we can't run in the build container
@@ -47,19 +47,22 @@ test:
commands:
- buildah --help
- buildah --version
+
+ # NOTE: Our build container is not set up to handle subuids etc., hence we
+ # can't run any extended tests during builds in that container.
+
# We cannot really test buildah's functionality here because we'd need to
# run it as root and/or in a build container with more capabilities.
# Instead, let's see if it's a least able to find and download an image.
- - |
- # We use mktemp instead of a path in the test work directory to avoid
- # "Error: the specified runroot is longer than 50 characters".
- tmp="$( mktemp -d )"
- trap 'rm -r "${tmp}" ; trap - EXIT ; exit' EXIT INT HUP
- buildah --storage-driver=vfs \
- --root="${tmp}/root" --runroot="${tmp}/runroot" \
- pull busybox 2>&1 \
- | grep .
- # -qF 'Writing manifest to image destination'
+ # - |
+ # # We use mktemp instead of a path in the test work directory to avoid
+ # # "Error: the specified runroot is longer than 50 characters".
+ # tmp="$( mktemp -d )"
+ # trap 'rm -r "${tmp}" ; trap - EXIT ; exit' EXIT INT HUP
+ # buildah --storage-driver=vfs \
+ # --root="${tmp}/root" --runroot="${tmp}/runroot" \
+ # pull busybox 2>&1 \
+ # | grep -qF 'Writing manifest to image destination'
about:
home: https://buildah.io
