-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separated NROP uninstall from install script
Invoking make test-install-e2e currently handles both the installation and uninstallation of NROP and its components. We propose separating this into two distinct suites, introducing a dedicated script for the uninstallation process. This separation would be beneficial in scenarios where we need to install and test the operator, upgrade it, and only then proceed with its deletion. Signed-off-by: Ronny Baturov <[email protected]>
- Loading branch information
Showing
3 changed files
with
21 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/usr/bin/env bash | ||
|
||
source hack/common.sh | ||
|
||
NO_COLOR="" | ||
if ! which tput &> /dev/null 2>&1 || [[ $(tput -T$TERM colors) -lt 8 ]]; then | ||
echo "Terminal does not seem to support colored output, disabling it" | ||
NO_COLOR="-ginkgo.no-color" | ||
fi | ||
|
||
setupreport | ||
|
||
# Run uninstall test suite | ||
echo "Running NRO uninstall test suite"; | ||
if ! "${BIN_DIR}"/e2e-nrop-uninstall.test ${NO_COLOR} --ginkgo.v --ginkgo.timeout=5h --ginkgo.junit-report=${REPORT_DIR}/uninstall.xml; then | ||
echo "Failed to run NRO uninstall test suite" | ||
exit 2 | ||
fi |