-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Vincent Demeester <[email protected]>
- Loading branch information
1 parent
172a793
commit 883ad60
Showing
5 changed files
with
30 additions
and
8 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
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,24 @@ | ||
#!/usr/bin/env bats | ||
|
||
source ./test/helper/helper.sh | ||
|
||
# E2E tests parameters for the test pipeline | ||
|
||
# Testing the maven task, | ||
@test "[e2e] openshift task" { | ||
[ -n "${E2E_OPENSHIFT_PARAMS_SCRIPT}" ] | ||
|
||
run tkn task start openshift-client \ | ||
--param="SCRIPT=${E2E_OPENSHIFT_PARAMS_SCRIPT}" \ | ||
--param="VERBOSE=true" \ | ||
--use-param-defaults \ | ||
--skip-optional-workspace \ | ||
--showlog | ||
assert_success | ||
|
||
# waiting a few seconds before asserting results | ||
sleep 30 | ||
|
||
# assering the taskrun status, making sure all steps have been successful | ||
assert_tekton_resource "taskrun" | ||
} |
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