Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
5d9905f4
Commit
5d9905f4
authored
Mar 03, 2017
by
Konstantinos Tsakalozos
Committed by
George Kraft
Apr 13, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fail test action when test suite fails. Minor README update.
parent
d3428ef3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
README.md
cluster/juju/layers/kubernetes-e2e/README.md
+1
-1
test
cluster/juju/layers/kubernetes-e2e/actions/test
+4
-0
No files found.
cluster/juju/layers/kubernetes-e2e/README.md
View file @
5d9905f4
...
@@ -73,7 +73,7 @@ a deployed cluster. The following example will skip the `Flaky`, `Slow`, and
...
@@ -73,7 +73,7 @@ a deployed cluster. The following example will skip the `Flaky`, `Slow`, and
`Feature`
labeled tests:
`Feature`
labeled tests:
```
shell
```
shell
juju run-action kubernetes-e2e/0
skip
=
'\[(Flaky|Slow|Feature:.*)\]'
juju run-action kubernetes-e2e/0
test
skip
=
'\[(Flaky|Slow|Feature:.*)\]'
```
```
> Note: the escaping of the regex due to how bash handles brackets.
> Note: the escaping of the regex due to how bash handles brackets.
...
...
cluster/juju/layers/kubernetes-e2e/actions/test
View file @
5d9905f4
...
@@ -45,3 +45,7 @@ tar -czf $ACTION_LOG_TGZ ${JUJU_ACTION_UUID}.log
...
@@ -45,3 +45,7 @@ tar -czf $ACTION_LOG_TGZ ${JUJU_ACTION_UUID}.log
action-set
log
=
"
$ACTION_LOG_TGZ
"
action-set
log
=
"
$ACTION_LOG_TGZ
"
action-set
junit
=
"
$ACTION_JUNIT_TGZ
"
action-set
junit
=
"
$ACTION_JUNIT_TGZ
"
if
tail
${
JUJU_ACTION_UUID
}
.log |
grep
-q
"Test Suite Failed"
;
then
action-fail
"Failure detected in the logs"
fi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment