-
Notifications
You must be signed in to change notification settings - Fork 345
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new data from k8s releases for e2e command
Signed-off-by: John Schnake <[email protected]>
- Loading branch information
1 parent
78cd688
commit 0ab80f7
Showing
4 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
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,12 +1,16 @@ | ||
#!/bin/sh | ||
set -ex | ||
|
||
# Note: I've experienced flakiness here before where the files came over but had 0 data; so I think it was a small race | ||
# between some of these commands somehow. If necessary, you can run them manually and confirm they have the expected data. | ||
sonobuoy run -p ./gathere2e/gathere2e.yaml --wait | ||
sonobuoy retrieve -x tmpoutput | ||
cp -f tmpoutput/plugins/gathere2e/results/global/* ../cmd/sonobuoy/app/e2e/testLists | ||
( | ||
cd ../cmd/sonobuoy/app/e2e/testLists/ | ||
find . -regex '.*[0-9]$' -exec gzip -f {} \; | ||
) | ||
sonobuoy delete | ||
rm -rf tmpoutput | ||
|
||
# Uncomment if you want cleanup to automatically occur rather than be manual. | ||
#sonobuoy delete | ||
#rm -rf tmpoutput |