Skip to content

Commit

Permalink
Add new data from k8s releases for e2e command
Browse files Browse the repository at this point in the history
Signed-off-by: John Schnake <[email protected]>
  • Loading branch information
johnSchnake committed Aug 18, 2022
1 parent 78cd688 commit 0ab80f7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
Binary file added cmd/sonobuoy/app/e2e/testLists/v1.22.13.gz
Binary file not shown.
Binary file added cmd/sonobuoy/app/e2e/testLists/v1.23.10.gz
Binary file not shown.
Binary file added cmd/sonobuoy/app/e2e/testLists/v1.24.4.gz
Binary file not shown.
8 changes: 6 additions & 2 deletions scripts/gather_e2e_data.sh
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

0 comments on commit 0ab80f7

Please sign in to comment.