-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
32 changed files
with
457 additions
and
200 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,15 @@ | ||
#!/bin/bash | ||
|
||
NS=${1:-tektontutorial} | ||
|
||
kubectl delete pods --field-selector=status.phase=Succeeded | ||
kubectl delete pods --field-selector=status.phase=Failed | ||
|
||
kubectl delete -n tektontutorial tasks --all | ||
kubectl delete -n tektontutorial tr --all | ||
kubectl delete -n tektontutorial pipelines --all | ||
kubectl delete -n tektontutorial pr --all | ||
kubectl delete -n tektontutorial pipelineresources | ||
kubectl delete -n "$NS" pipeline --all | ||
kubectl delete -n "$NS" pr --all | ||
kubectl delete -n "$NS" tr --all | ||
kubectl delete -n "$NS" deploy,svc demo-greeter 2>/dev/null | ||
kubectl delete -n "$NS" httpproxy demo-greeter 2>/dev/null | ||
kubectl delete -n "$NS" deploy,svc greeter 2>/dev/null | ||
kubectl delete -n "$NS" httpproxy greeter 2>/dev/null | ||
kubectl delete -n "$NS" ksvc greeter 2>/dev/null |
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
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
Oops, something went wrong.