Skip to content

Commit

Permalink
openshift: have the pr_check script "dry run" a build
Browse files Browse the repository at this point in the history
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
  • Loading branch information
hdonnay committed Jul 16, 2024
1 parent 3d3c03c commit 5f36fc1
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions contrib/openshift/pr_check.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 5f36fc1

Please sign in to comment.