Skip to content
Snippets Groups Projects
Verified Commit cb6952a7 authored by David Hoese's avatar David Hoese
Browse files

More CI test fixes

parent 044c6e50
No related branches found
No related tags found
No related merge requests found
...@@ -10,9 +10,10 @@ error() { ...@@ -10,9 +10,10 @@ error() {
} }
check_and_uninstall() { check_and_uninstall() {
release_name=$1 release_name="$1"
if [[ -z ${release_name} ]]; then if [[ -z "${release_name}" ]]; then
# the chart was never created # the chart was never created
debug "Release doesn't exist"
return return
fi fi
debug "Uninstalling ${release_name}" debug "Uninstalling ${release_name}"
...@@ -20,4 +21,4 @@ check_and_uninstall() { ...@@ -20,4 +21,4 @@ check_and_uninstall() {
} }
source ./ci_tests/get_release_names.sh source ./ci_tests/get_release_names.sh
check_and_uninstall ${GRB_RELEASE_NAME} check_and_uninstall "${GRB_RELEASE_NAME}"
\ No newline at end of file \ No newline at end of file
...@@ -12,8 +12,9 @@ error() { ...@@ -12,8 +12,9 @@ error() {
set -e set -e
ns=$(./helpers/get_namespace.sh) ns=$(./helpers/get_namespace.sh)
pushd geosphere-grb/chart
source ci_tests/get_release_names.sh source ci_tests/get_release_names.sh
pushd geosphere-grb/chart
helm upgrade -v 2 --install --namespace $ns -f ../../ci_tests/values-grb-g16.yaml ${GRB_RELEASE_NAME} cspp-geo-grb/ helm upgrade -v 2 --install --namespace $ns -f ../../ci_tests/values-grb-g16.yaml ${GRB_RELEASE_NAME} cspp-geo-grb/
popd popd
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment