imfreedom/k8s-cluster

Add rehook.imfreedom.org

14 months ago, Gary Kramlich
7afc7575d513
file isExecutable
Add rehook.imfreedom.org

This is an nginx container the proxy_pass's to keel for webhooks with anonymous
urls. This way we don't need to expose keel and everything is super fast
#!/bin/sh
POPEYE=$(which popeye)
if [ -z "${POPEYE}" ] ; then
echo "failed to find popeye executable, please make sure it's on your path" >&2
echo "or download it from https://github.com/derailed/popeye" >&2
exit 1
fi
mkdir -p reports
POPEYE_REPORT_DIR=$(pwd)/reports "${POPEYE}" --save --out html ${@}
exit ${?}