podman/contrib/cirrus/unit_test.sh
Chris Evich 370b1a887c
Cirrus: Reimplement release archive + upload
The initial implementation was far more complicated than necessary.
Strip out the complexities in favor of a simpler and more direct
approach.

Signed-off-by: Chris Evich <cevich@redhat.com>
2019-08-28 11:54:06 -04:00

22 lines
279 B
Bash
Executable file

#!/bin/bash
set -e
source $(dirname $0)/lib.sh
req_env_var GOSRC
cd "$GOSRC"
make install.tools
make localunit
case "$SPECIALMODE" in
in_podman) ;&
rootless) ;&
none)
make
;;
*)
die 109 "Unsupported \$SPECIAL_MODE: $SPECIALMODE"
esac