summaryrefslogtreecommitdiff
path: root/contrib/cirrus/rootless_test.sh
diff options
context:
space:
mode:
authorChris Evich <cevich@redhat.com>2019-03-13 15:13:17 -0400
committerChris Evich <cevich@redhat.com>2019-05-21 08:44:01 -0400
commit51a95e6ef1b4616f308d0a7a5507c2ece74a9f0f (patch)
treefc90cfd09731d180663cb47c38cf09de402d96ac /contrib/cirrus/rootless_test.sh
parent191a08ae43fcb2b846e6118073f852e4eb875d5d (diff)
downloadpodman-51a95e6ef1b4616f308d0a7a5507c2ece74a9f0f.tar.gz
podman-51a95e6ef1b4616f308d0a7a5507c2ece74a9f0f.tar.bz2
podman-51a95e6ef1b4616f308d0a7a5507c2ece74a9f0f.zip
Cirrus: Run tests on test-built cache-images
Also, add jq and catatonit installs to images. Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'contrib/cirrus/rootless_test.sh')
-rwxr-xr-xcontrib/cirrus/rootless_test.sh12
1 files changed, 7 insertions, 5 deletions
diff --git a/contrib/cirrus/rootless_test.sh b/contrib/cirrus/rootless_test.sh
index 13386bb09..d4cc6965e 100755
--- a/contrib/cirrus/rootless_test.sh
+++ b/contrib/cirrus/rootless_test.sh
@@ -1,12 +1,10 @@
#!/bin/bash
-set -ex
+set -e
-source "$HOME/.bash_profile"
-source $GOSRC/$SCRIPT_BASE/lib.sh
-cd $GOSRC
+source $(dirname $0)/lib.sh
-req_env_var GOSRC OS_RELEASE_ID OS_RELEASE_VER
+req_env_var GOSRC ROOTLESS_USER
if [[ "$UID" == "0" ]]
then
@@ -17,6 +15,10 @@ fi
echo "."
echo "Hello, my name is $USER and I live in $PWD can I be your friend?"
+show_env_vars
+
+export PODMAN_VARLINK_ADDRESS=unix:/tmp/podman-$(id -u)
+
cd "$GOSRC"
make
make varlink_generate