diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2020-11-17 15:21:50 +0100 |
---|---|---|
committer | Valentin Rothberg <rothberg@redhat.com> | 2020-11-17 15:21:50 +0100 |
commit | c2c7dd8ff30ad5b623ab5a4311e659244657fda8 (patch) | |
tree | b81132deb8daf4cea218c20a6450d2055a6b7de2 /contrib/gate/entrypoint.sh | |
parent | 42ec4cf87f8d0a84301594a4fc5cf05f0a10bd7f (diff) | |
download | podman-c2c7dd8ff30ad5b623ab5a4311e659244657fda8.tar.gz podman-c2c7dd8ff30ad5b623ab5a4311e659244657fda8.tar.bz2 podman-c2c7dd8ff30ad5b623ab5a4311e659244657fda8.zip |
remove contrib/gate
Remove references on contrib/gate. The gating image is currently not
maintained and was replaced in the CI rewrite. We can disable builds
in Quay once the change is merged.
Note that running `make validate` in a container is still desired.
A similar approach may be re-added in the future.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'contrib/gate/entrypoint.sh')
-rwxr-xr-x | contrib/gate/entrypoint.sh | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/contrib/gate/entrypoint.sh b/contrib/gate/entrypoint.sh deleted file mode 100755 index 102d012e5..000000000 --- a/contrib/gate/entrypoint.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/usr/bin/env bash - -set -e - -die() { - echo "${2:-FATAL ERROR (but no message given!)} (gate container entrypoint)" - exit ${1:-1} -} - -[[ -n "$SRCPATH" ]] || die 1 "ERROR: \$SRCPATH must be non-empty" -[[ -n "$GOPATH" ]] || die 2 "ERROR: \$GOPATH must be non-empty" -[[ -n "$GOSRC" ]] || die 3 "ERROR: \$GOSRC must be non-empty" -[[ -r "${SRCPATH}/contrib/gate/Dockerfile" ]] || \ - die 4 "ERROR: Expecting libpod repository root at $SRCPATH" - -# Working from a copy avoids needing to perturb the actual source files -# if/when developers use gate container for local testing -echo "Copying $SRCPATH to $GOSRC" -mkdir -vp "$GOSRC" -/usr/bin/rsync --recursive --links --quiet --safe-links \ - --perms --times --delete "${SRCPATH}/" "${GOSRC}/" -cd "$GOSRC" -exec make "$@" |