Skip to content

Commit

Permalink
Some indentation...
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Demeester <[email protected]>
  • Loading branch information
vdemeester committed Nov 29, 2023
1 parent 5abe265 commit b7ce164
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions hack/install-osp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function rollout_status() {
local deployment="${2}"

if ! kubectl --namespace="${namespace}" --timeout=${DEPLOYMENT_TIMEOUT} \
rollout status deployment "${deployment}"; then
rollout status deployment "${deployment}"; then
fail "'${namespace}/${deployment}' is not deployed as expected!"
fi
}
Expand All @@ -28,16 +28,17 @@ shift
CHANNEL=""

case "$OSP_VERSION" in
nightly)
echo "Not supporting nightly just yet"
exit 1
;;
latest)
CHANNEL="latest"
;;
*)
CHANNEL="pipelines-$OSP_VERSION"
;;
nightly)
echo "Not supporting nightly just yet"
# FIXME add support for it
exit 0
;;
latest)
CHANNEL="latest"
;;
*)
CHANNEL="pipelines-$OSP_VERSION"
;;
esac

echo "Installing OpenShift Pipelines from channel ${CHANNEL}"
Expand Down

0 comments on commit b7ce164

Please sign in to comment.