1111jobs :
1212 build :
1313 runs-on : ubuntu-18.04
14- container :
15- image : replicated/troubleshoot-builder:18.04
16- credentials :
17- username : repldeploy2
18- password : ${{ secrets.DOCKERHUB_PASSWORD }}
1914 steps :
2015 - uses : actions/setup-go@v1
2116 with :
@@ -28,15 +23,11 @@ jobs:
2823 shell : bash
2924
3025 - uses : actions/checkout@v2
31- - run : make
26+
27+ - run : make
3228
3329 compile-preflight :
34- runs-on : ubuntu-18.04
35- container :
36- image : replicated/troubleshoot-builder:18.04
37- credentials :
38- username : repldeploy2
39- password : ${{ secrets.DOCKERHUB_PASSWORD }}
30+ runs-on : ubuntu-latest
4031 needs : build
4132 steps :
4233 - uses : actions/setup-go@v1
@@ -55,25 +46,20 @@ jobs:
5546 path : bin/preflight
5647
5748 validate-preflight :
58- runs-on : ubuntu-18.04
49+ runs-on : ubuntu-latest
5950 needs : compile-preflight
6051 steps :
6152 - name : Download preflight binary
6253 uses : actions/download-artifact@v1
6354 with :
6455 name : preflight
6556 path : bin/
66- - uses : engineerd/setup-kind@v0.4 .0
57+ - uses : engineerd/setup-kind@v0.2 .0
6758 - run : chmod +x bin/preflight
6859 - run : ./bin/preflight --interactive=false --format=json https://preflight.replicated.com
6960
7061 compile-supportbundle :
71- runs-on : ubuntu-18.04
72- container :
73- image : replicated/troubleshoot-builder:18.04
74- credentials :
75- username : repldeploy2
76- password : ${{ secrets.DOCKERHUB_PASSWORD }}
62+ runs-on : ubuntu-latest
7763 needs : build
7864 steps :
7965 - uses : actions/setup-go@v1
@@ -92,28 +78,23 @@ jobs:
9278 path : bin/support-bundle
9379
9480 validate-supportbundle :
95- runs-on : ubuntu-18.04
81+ runs-on : ubuntu-latest
9682 needs : compile-supportbundle
9783 steps :
98- - uses : actions/checkout@master
84+ - uses : actions/checkout@v1
9985 - name : Download support-bundle binary
10086 uses : actions/download-artifact@v1
10187 with :
10288 name : support-bundle
10389 path : bin/
104- - uses : engineerd/setup-kind@v0.4 .0
90+ - uses : engineerd/setup-kind@v0.2 .0
10591 - run : chmod +x bin/support-bundle
10692 - run : ./bin/support-bundle ./examples/support-bundle/sample-collectors.yaml
10793 - run : ./bin/support-bundle ./examples/support-bundle/sample-supportbundle.yaml
10894 - run : ./bin/support-bundle https://kots.io
10995
11096 goreleaser :
111- runs-on : ubuntu-18.04
112- container :
113- image : replicated/troubleshoot-builder:18.04
114- credentials :
115- username : repldeploy2
116- password : ${{ secrets.DOCKERHUB_PASSWORD }}
97+ runs-on : ubuntu-latest
11798 needs :
11899 - validate-preflight
119100 if : startsWith(github.ref, 'refs/tags/v')
@@ -128,7 +109,7 @@ jobs:
128109
129110 - name : Unshallow
130111 run : git fetch --prune --unshallow
131-
112+
132113 - uses : actions/setup-go@v1
133114 with :
134115 go-version : " 1.14"
@@ -149,4 +130,4 @@ jobs:
149130 - name : Update new support-bundle version in krew-index
150131 uses :
rajatjindal/[email protected] 151132 with :
152- krew_template_file : deploy/krew/support-bundle.yaml
133+ krew_template_file : deploy/krew/support-bundle.yaml
0 commit comments