diff --git a/contrib/openshift/pr_check.sh b/contrib/openshift/pr_check.sh index 3cd0fd81ae..00ce878e30 100755 --- a/contrib/openshift/pr_check.sh +++ b/contrib/openshift/pr_check.sh @@ -1,4 +1,10 @@ -#!/bin/sh -set -e +#!/usr/bin/bash +set -euo pipefail +[ -n "${DEBUG-}" ] && set -x + +# This should be run from the repo root, but enforce that: +pushd "$(git rev-parse --show-toplevel)" +./contrib/openshift/build_and_deploy.sh "-n${-//[^x]}" +popd + # If anything specific for the quay.io Clair instance needs to happen, add that here. -exit 0