forked from tektoncd/pipeline
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fail upgrade tests when test script fails
Prior to this commit, if any lines in the upgrade testing script that didn't have special error handling failed, the script would continue to run, making it very hard to debug. This commit fails the script if any lines fail, and doesn't prevent lines with special error handling (i.e. `fail_test`) from performing their own cleanup steps. In addition, prior to this commit, lines deleting Tekton CRDs were run after the pipelines webhook and CRD definitions were deleted. This commit moves deletion of resources to happen before Tekton is uninstalled, so deletion can happen successfully. Lastly, this commit handles cases where the variable PIPELINE_FEATURE_GATE is not set, and causes the script to fail if any unbound variables are referenced.
- Loading branch information
1 parent
7d6c086
commit a22c093
Showing
2 changed files
with
9 additions
and
12 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