Skip to content

Commit

Permalink
Give the build job a unique name with the machine and environment
Browse files Browse the repository at this point in the history
This allows us to mark specific build-only jobs as required.

Specifically for cases where tests are defined, but those tests may
not be marked as required for an ESR branch to merge, so marking
'Yocto / All jobs' as required for that device is not ideal.

Change-type: patch
Signed-off-by: Kyle Harding <[email protected]>
  • Loading branch information
klutchell committed Oct 3, 2024
1 parent 654f5cf commit 5f430f4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/yocto-build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,13 @@ jobs:
runs-on: ${{ fromJSON(inputs.build-runs-on) }}
environment: ${{ inputs.deploy-environment }}

strategy:
fail-fast: true
matrix:
include:
- machine: ${{ inputs.machine }}
environment: ${{ inputs.deploy-environment }}

env:
automation_dir: "${{ github.workspace }}/balena-yocto-scripts/automation"
BALENARC_BALENA_URL: ${{ vars.BALENA_HOST || inputs.deploy-environment || 'balena-cloud.com' }}
Expand Down

0 comments on commit 5f430f4

Please sign in to comment.