3030 # renovate: datasource=github-releases depName=helm-unittest/helm-unittest
3131 HELM_PLUGIN_UNITTEST_VERSION : " 1.0.3"
3232 # renovate: datasource=github-releases depName=go-task/task
33- TASK_VERSION : " v3 .49.1"
33+ TASK_VERSION : " 3 .49.1"
3434
3535jobs :
3636 test-nodejs-scanner-test-helpers :
5050 working-directory : tests/integration
5151 run : bun test helpers.test.js
5252 k8s-setup :
53- name : " Setup Kind & Kubectl & Helm & Task "
53+ name : " Setup Kind & Kubectl & Helm"
5454 runs-on : ubuntu-24.04
5555 steps :
5656 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
7171 tar -xzf ./helm.tar.gz
7272 chmod +x ./linux-amd64/helm
7373
74- - name : Install Task
75- run : |
76- curl -Lo ./task.tar.gz https://github.com/go-task/task/releases/download/${{ env.TASK_VERSION }}/task_linux_amd64.tar.gz
77- tar -xzf ./task.tar.gz
78- chmod +x ./task
79-
8074 - name : Archive Kind
8175 uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
8276 with :
9589 name : helm
9690 path : ./linux-amd64/helm
9791
98- - name : Archive Task
99- uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
100- with :
101- name : task
102- path : ./task
103-
10492 # ---- Unit-Test ----
10593
10694 # ---- Unit-Test | Java ----
@@ -112,6 +100,10 @@ jobs:
112100 - k8s-setup
113101 steps :
114102 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
103+
104+ - name : Install Task
105+ uses : go-task/setup-task@3be4020d41929789a01026e0e427a4321ce0ad44 # v2.0.0
106+
115107 - name : Download Helm
116108 uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
117109 with :
@@ -128,17 +120,7 @@ jobs:
128120
129121 - name : Install Helm Unit Test Plugin
130122 run : |
131- helm plugin install https://github.com/helm-unittest/helm-unittest.git --version ${{ env.HELM_PLUGIN_UNITTEST_VERSION }} --verify=false
132-
133- - name : Download Task
134- uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
135- with :
136- name : task
137- path : ./task
138-
139- - name : Make Task globally available
140- run : |
141- chmod +x ./task/task && sudo mv ./task/task /usr/local/bin/task
123+ helm plugin install https://github.com/helm-unittest/helm-unittest.git --version ${{ env.HELM_PLUGIN_UNITTEST_VERSION }} --verify=false
142124
143125 - name : Helm-Chart Unit Tests
144126 run : task test:helm:all
@@ -193,6 +175,9 @@ jobs:
193175 - name : Checkout
194176 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
195177
178+ - name : Install Task
179+ uses : go-task/setup-task@3be4020d41929789a01026e0e427a4321ce0ad44 # v2.0.0
180+
196181 - name : Go Setup
197182 uses : actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
198183 with :
@@ -206,15 +191,15 @@ jobs:
206191
207192 - name : Test
208193 working-directory : ./operator
209- run : make test
194+ run : task test
210195
211196 - name : Build Container Image
212197 working-directory : ./operator
213- run : make docker-build
198+ run : task docker-build
214199
215200 - name : Export Container Image
216201 working-directory : ./operator
217- run : make docker-export-${{ matrix.component }}
202+ run : task docker-export-${{ matrix.component }}
218203
219204 - name : Upload Image As Artifact
220205 uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
@@ -232,6 +217,9 @@ jobs:
232217 - name : Checkout
233218 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
234219
220+ - name : Install Task
221+ uses : go-task/setup-task@3be4020d41929789a01026e0e427a4321ce0ad44 # v2.0.0
222+
235223 - name : Go Setup
236224 uses : actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
237225 with :
@@ -245,15 +233,15 @@ jobs:
245233
246234 - name : Test
247235 working-directory : ./auto-discovery/kubernetes/
248- run : make test
236+ run : task test
249237
250238 - name : Build Container Image
251239 working-directory : ./auto-discovery/kubernetes/
252- run : make docker-build
240+ run : task docker-build
253241
254242 - name : Export Container Image
255243 working-directory : ./auto-discovery/kubernetes/
256- run : make docker-export
244+ run : task docker-export
257245
258246 - name : Upload Image As Artifact
259247 uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
@@ -283,15 +271,8 @@ jobs:
283271 go fmt ./...
284272 go vet ./...
285273
286- - name : Download Task
287- uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
288- with :
289- name : task
290- path : ./task
291-
292- - name : Make Task globally available
293- run : |
294- chmod +x ./task/task && sudo mv ./task/task /usr/local/bin/task
274+ - name : Install Task
275+ uses : go-task/setup-task@3be4020d41929789a01026e0e427a4321ce0ad44 # v2.0.0
295276
296277 - name : Download Kind
297278 uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
@@ -365,6 +346,9 @@ jobs:
365346 - name : Checkout
366347 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
367348
349+ - name : Install Task
350+ uses : go-task/setup-task@3be4020d41929789a01026e0e427a4321ce0ad44 # v2.0.0
351+
368352 - name : Go Setup
369353 uses : actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
370354 with :
@@ -378,15 +362,15 @@ jobs:
378362
379363 - name : Test
380364 working-directory : ./auto-discovery/cloud-aws/
381- run : make test
365+ run : task test
382366
383367 - name : Build Container Image
384368 working-directory : ./auto-discovery/cloud-aws/
385- run : make docker-build
369+ run : task docker-build
386370
387371 - name : Export Container Image
388372 working-directory : ./auto-discovery/cloud-aws/
389- run : make docker-export
373+ run : task docker-export
390374
391375 - name : Upload Image As Artifact
392376 uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
@@ -409,13 +393,16 @@ jobs:
409393 - name : Checkout
410394 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
411395
396+ - name : Install Task
397+ uses : go-task/setup-task@3be4020d41929789a01026e0e427a4321ce0ad44 # v2.0.0
398+
412399 - name : Build Image
413400 working-directory : ./${{ matrix.sdk }}/nodejs
414- run : make docker-build-sdk
401+ run : task docker-build
415402
416403 - name : Export Image
417404 working-directory : ./${{ matrix.sdk }}/nodejs
418- run : make docker-export-sdk
405+ run : task docker-export
419406
420407 - name : Upload Artifact
421408 uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
@@ -462,15 +449,8 @@ jobs:
462449 - name : Install bun
463450 uses : oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
464451
465- - name : Download Task
466- uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
467- with :
468- name : task
469- path : ./task
470-
471- - name : Make Task globally available
472- run : |
473- chmod +x ./task/task && sudo mv ./task/task /usr/local/bin/task
452+ - name : Install Task
453+ uses : go-task/setup-task@3be4020d41929789a01026e0e427a4321ce0ad44 # v2.0.0
474454
475455 - name : Download Kind
476456 uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
@@ -621,15 +601,8 @@ jobs:
621601 - name : Install bun
622602 uses : oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
623603
624- - name : Download Task
625- uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
626- with :
627- name : task
628- path : ./task
629-
630- - name : Make Task globally available
631- run : |
632- chmod +x ./task/task && sudo mv ./task/task /usr/local/bin/task
604+ - name : Install Task
605+ uses : go-task/setup-task@3be4020d41929789a01026e0e427a4321ce0ad44 # v2.0.0
633606
634607 - name : Download Kind
635608 uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
0 commit comments