File tree Expand file tree Collapse file tree 3 files changed +42
-0
lines changed Expand file tree Collapse file tree 3 files changed +42
-0
lines changed Original file line number Diff line number Diff line change 5858 - run : chmod +x bin/preflight
5959 - run : bin/preflight --interactive=false --format=json https://preflight.replicated.com
6060
61+ compile-supportbundle :
62+ runs-on : ubuntu-latest
63+ needs : build
64+ steps :
65+ - uses : actions/setup-go@v1
66+ with :
67+ go-version : ' 1.14'
68+ - name : setup env
69+ run : |
70+ echo "::set-env name=GOPATH::$(go env GOPATH)"
71+ echo "::add-path::$(go env GOPATH)/bin"
72+ shell : bash
73+ - uses : actions/checkout@master
74+ - run : make support-bundle
75+ - uses : actions/upload-artifact@v1
76+ with :
77+ name : support-bundle
78+ path : bin/support-bundle
79+
80+ validate-supportbundle :
81+ runs-on : ubuntu-latest
82+ needs : compile-support-bundle
83+ steps :
84+ - name : Download support-bundle binary
85+ uses : actions/download-artifact@v1
86+ with :
87+ name : support-bundle
88+ path : bin/
89+ -
uses :
engineerd/[email protected] 90+ - run : chmod +x bin/support-bundle
91+ - uses : actions/checkout@v1
92+ - run : bin/support-bundle ./examples/troubleshoot/sample-collectors.yaml
93+ - run : bin/support-bundle ./examples/troubleshoot/sample-supportbundle.yaml
94+ - run : bin/support-bundle https://kots.io
95+
6196 goreleaser :
6297 runs-on : ubuntu-latest
6398 needs :
File renamed without changes.
Original file line number Diff line number Diff line change 1+ apiVersion : troubleshoot.replicated.com/v1beta1
2+ kind : SupportBundle
3+ metadata :
4+ name : supportbundle-sample
5+ spec :
6+ collectors : []
7+ analyzers : []
You can’t perform that action at this time.
0 commit comments