@@ -247,7 +247,7 @@ jobs:
247247 path : ./bin/kots
248248
249249
250- build-kotsadm- melange-packages :
250+ build-melange-packages :
251251 needs : [ can-run-ci, generate-tag ]
252252 strategy :
253253 fail-fast : false
@@ -264,24 +264,21 @@ jobs:
264264 repository : ${{github.event.pull_request.head.repo.full_name}}
265265 - uses : ./.github/actions/build-custom-melange-package
266266 with :
267- context : deploy
268- component : kotsadm
267+ melange-config : deploy/melange.yaml
269268 git-tag : ${{ needs.generate-tag.outputs.tag }}
270269 arch : ${{ matrix.runner.arch }}
271270
272271 build-kotsadm :
273272 runs-on : ubuntu-24.04
274- needs : [ can-run-ci, generate-tag, build-kotsadm- melange-packages ]
273+ needs : [ can-run-ci, generate-tag, build-melange-packages ]
275274 steps :
276275 - uses : actions/checkout@v7
277276 with :
278277 ref : ${{github.event.pull_request.head.ref}}
279278 repository : ${{github.event.pull_request.head.repo.full_name}}
280279 - uses : ./.github/actions/build-custom-image-with-apko
281280 with :
282- context : deploy
283- component : kotsadm
284- git-tag : ${{ needs.generate-tag.outputs.tag }}
281+ apko-config : deploy/apko.yaml
285282 image-name : ttl.sh/automated-${{ github.run_id }}/kotsadm:24h
286283
287284
@@ -345,79 +342,31 @@ jobs:
345342 path : e2e/bin/
346343
347344
348- build-kurl-proxy-melange-packages :
349- needs : [ can-run-ci, generate-tag ]
350- strategy :
351- fail-fast : true
352- matrix :
353- runner : [
354- {name: ubuntu-24.04, arch: amd64},
355- {name: arm64-runner-set, arch: arm64}
356- ]
357- runs-on : ${{ matrix.runner.name }}
358- steps :
359- - uses : actions/checkout@v7
360- with :
361- ref : ${{github.event.pull_request.head.ref}}
362- repository : ${{github.event.pull_request.head.repo.full_name}}
363- - uses : ./.github/actions/build-custom-melange-package
364- with :
365- context : kurl_proxy/deploy
366- component : kurl-proxy
367- git-tag : ${{ needs.generate-tag.outputs.tag }}
368- arch : ${{ matrix.runner.arch }}
369-
370345 build-kurl-proxy :
371346 runs-on : ubuntu-24.04
372- needs : [ can-run-ci, generate-tag, build-kurl-proxy- melange-packages ]
347+ needs : [ can-run-ci, generate-tag, build-melange-packages ]
373348 steps :
374349 - uses : actions/checkout@v7
375350 with :
376351 ref : ${{github.event.pull_request.head.ref}}
377352 repository : ${{github.event.pull_request.head.repo.full_name}}
378353 - uses : ./.github/actions/build-custom-image-with-apko
379354 with :
380- context : kurl_proxy/deploy
381- component : kurl-proxy
382- git-tag : ${{ needs.generate-tag.outputs.tag }}
355+ apko-config : kurl_proxy/deploy/apko.yaml
383356 image-name : ttl.sh/automated-${{ github.run_id }}/kurl-proxy:24h
384357
385358
386- build-migrations-melange-packages :
387- needs : [ can-run-ci, generate-tag ]
388- strategy :
389- fail-fast : true
390- matrix :
391- runner : [
392- {name: ubuntu-24.04, arch: amd64},
393- {name: arm64-runner-set, arch: arm64}
394- ]
395- runs-on : ${{ matrix.runner.name }}
396- steps :
397- - uses : actions/checkout@v7
398- with :
399- ref : ${{github.event.pull_request.head.ref}}
400- repository : ${{github.event.pull_request.head.repo.full_name}}
401- - uses : ./.github/actions/build-custom-melange-package
402- with :
403- context : migrations/deploy
404- component : kotsadm-migrations
405- git-tag : ${{ needs.generate-tag.outputs.tag }}
406- arch : ${{ matrix.runner.arch }}
407-
408359 build-migrations :
409360 runs-on : ubuntu-24.04
410- needs : [ can-run-ci, generate-tag, build-migrations- melange-packages ]
361+ needs : [ can-run-ci, generate-tag, build-melange-packages ]
411362 steps :
412363 - uses : actions/checkout@v7
413364 with :
414365 ref : ${{github.event.pull_request.head.ref}}
415366 repository : ${{github.event.pull_request.head.repo.full_name}}
416367 - uses : ./.github/actions/build-custom-image-with-apko
417368 with :
418- context : migrations/deploy
419- component : kotsadm-migrations
420- git-tag : ${{ needs.generate-tag.outputs.tag }}
369+ apko-config : migrations/deploy/apko.yaml
421370 image-name : ttl.sh/automated-${{ github.run_id }}/kotsadm-migrations:24h
422371
423372 push-minio :
0 commit comments