From 8371504eacdb1002f2aac87727f419af91687f17 Mon Sep 17 00:00:00 2001 From: "Vipul Gupta (@vipulgupta2048)" Date: Thu, 3 Oct 2024 18:57:28 +0530 Subject: [PATCH] Update meta-balena to 41a79d9 Signed-off-by: Vipul Gupta (@vipulgupta2048) --- .github/workflows/astro-tx2.yml | 20 +++++-- .github/workflows/blackboard-tx2.yml | 19 ++++-- .github/workflows/cnx100-xavier-nx.yml | 20 ++++--- .github/workflows/floyd-nano.yml | 19 ++++-- .github/workflows/jetson-nano-2gb-devkit.yml | 19 ++++-- .github/workflows/jetson-nano-emmc.yml | 19 ++++-- .github/workflows/jetson-nano.yml | 19 ++++-- .github/workflows/jetson-tx1.yml | 19 ++++-- .github/workflows/jetson-tx2-nx-devkit.yml | 19 ++++-- .github/workflows/jetson-tx2.yml | 19 ++++-- .../jetson-xavier-nx-devkit-emmc.yml | 50 ---------------- ...jetson-xavier-nx-devkit-seeed-2mic-hat.yml | 19 ++++-- .github/workflows/jetson-xavier-nx-devkit.yml | 58 ------------------- .github/workflows/jetson-xavier.yml | 58 ------------------- .github/workflows/jn30b-nano.yml | 19 ++++-- .github/workflows/n310-tx2.yml | 19 ++++-- .github/workflows/n510-tx2.yml | 19 ++++-- .github/workflows/orbitty-tx2.yml | 19 ++++-- .github/workflows/photon-nano.yml | 19 ++++-- .github/workflows/photon-tx2-nx.yml | 19 ++++-- .github/workflows/photon-xavier-nx.yml | 18 ++++-- .github/workflows/spacely-tx2.yml | 19 ++++-- layers/meta-balena | 2 +- 23 files changed, 248 insertions(+), 282 deletions(-) delete mode 100644 .github/workflows/jetson-xavier-nx-devkit-emmc.yml delete mode 100644 .github/workflows/jetson-xavier-nx-devkit.yml delete mode 100644 .github/workflows/jetson-xavier.yml diff --git a/.github/workflows/astro-tx2.yml b/.github/workflows/astro-tx2.yml index b01fe97a6..af1c7fde0 100644 --- a/.github/workflows/astro-tx2.yml +++ b/.github/workflows/astro-tx2.yml @@ -9,10 +9,10 @@ on: - master # ESR branches glob pattern #- 20[0-9][0-9].[0-1]?[1470].x - # pull_request_target: - # branches: - # - main - # - master + pull_request_target: + branches: + - main + - master push: tags: # Semver tags glob pattern (includes ESR in format v20YY.MM.PATCH) @@ -30,12 +30,17 @@ on: required: false type: string default: balena-staging.com + meta-balena-ref: + description: meta-balena ref if not the currently pinned version + required: false + type: string + default: '' jobs: yocto: name: Yocto - uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@v1.25.47 + uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@master # Prevent duplicate workflow executions for pull_request (PR) and pull_request_target (PRT) events. # Both PR and PRT will be triggered for the same pull request, whether it is internal or from a fork. # This condition will prevent the workflow from running twice for the same pull request while @@ -47,4 +52,7 @@ jobs: # Allow manual workflow runs to force finalize without checking previous test runs force-finalize: ${{ inputs.force-finalize || false }} # Default to balena-staging.com for workflow dispatch, but balena-cloud.com for other events - deploy-environment: ${{ inputs.deploy-environment || 'balena-cloud.com' }} \ No newline at end of file + deploy-environment: ${{ inputs.deploy-environment || 'balena-cloud.com' }} + meta-balena-ref: ${{ inputs.meta-balena-ref || '' }} + + \ No newline at end of file diff --git a/.github/workflows/blackboard-tx2.yml b/.github/workflows/blackboard-tx2.yml index 827d8c6b5..ccecff917 100644 --- a/.github/workflows/blackboard-tx2.yml +++ b/.github/workflows/blackboard-tx2.yml @@ -9,10 +9,10 @@ on: - master # ESR branches glob pattern #- 20[0-9][0-9].[0-1]?[1470].x - # pull_request_target: - # branches: - # - main - # - master + pull_request_target: + branches: + - main + - master push: tags: # Semver tags glob pattern (includes ESR in format v20YY.MM.PATCH) @@ -30,12 +30,17 @@ on: required: false type: string default: balena-staging.com + meta-balena-ref: + description: meta-balena ref if not the currently pinned version + required: false + type: string + default: '' jobs: yocto: name: Yocto - uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@v1.25.47 + uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@master # Prevent duplicate workflow executions for pull_request (PR) and pull_request_target (PRT) events. # Both PR and PRT will be triggered for the same pull request, whether it is internal or from a fork. # This condition will prevent the workflow from running twice for the same pull request while @@ -47,4 +52,6 @@ jobs: # Allow manual workflow runs to force finalize without checking previous test runs force-finalize: ${{ inputs.force-finalize || false }} # Default to balena-staging.com for workflow dispatch, but balena-cloud.com for other events - deploy-environment: ${{ inputs.deploy-environment || 'balena-cloud.com' }} \ No newline at end of file + deploy-environment: ${{ inputs.deploy-environment || 'balena-cloud.com' }} + meta-balena-ref: ${{ inputs.meta-balena-ref || '' }} + \ No newline at end of file diff --git a/.github/workflows/cnx100-xavier-nx.yml b/.github/workflows/cnx100-xavier-nx.yml index 24adcf9cd..156034a8e 100644 --- a/.github/workflows/cnx100-xavier-nx.yml +++ b/.github/workflows/cnx100-xavier-nx.yml @@ -9,10 +9,10 @@ on: - master # ESR branches glob pattern #- 20[0-9][0-9].[0-1]?[1470].x - # pull_request_target: - # branches: - # - main - # - master + pull_request_target: + branches: + - main + - master push: tags: # Semver tags glob pattern (includes ESR in format v20YY.MM.PATCH) @@ -30,12 +30,16 @@ on: required: false type: string default: balena-staging.com - + meta-balena-ref: + description: meta-balena ref if not the currently pinned version + required: false + type: string + default: '' jobs: yocto: name: Yocto - uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@v1.25.47 + uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@master # Prevent duplicate workflow executions for pull_request (PR) and pull_request_target (PRT) events. # Both PR and PRT will be triggered for the same pull request, whether it is internal or from a fork. # This condition will prevent the workflow from running twice for the same pull request while @@ -47,4 +51,6 @@ jobs: # Allow manual workflow runs to force finalize without checking previous test runs force-finalize: ${{ inputs.force-finalize || false }} # Default to balena-staging.com for workflow dispatch, but balena-cloud.com for other events - deploy-environment: ${{ inputs.deploy-environment || 'balena-cloud.com' }} \ No newline at end of file + deploy-environment: ${{ inputs.deploy-environment || 'balena-cloud.com' }} + meta-balena-ref: ${{ inputs.meta-balena-ref || '' }} + \ No newline at end of file diff --git a/.github/workflows/floyd-nano.yml b/.github/workflows/floyd-nano.yml index 60615757f..efb8e3826 100644 --- a/.github/workflows/floyd-nano.yml +++ b/.github/workflows/floyd-nano.yml @@ -9,10 +9,10 @@ on: - master # ESR branches glob pattern #- 20[0-9][0-9].[0-1]?[1470].x - # pull_request_target: - # branches: - # - main - # - master + pull_request_target: + branches: + - main + - master push: tags: # Semver tags glob pattern (includes ESR in format v20YY.MM.PATCH) @@ -30,12 +30,17 @@ on: required: false type: string default: balena-staging.com + meta-balena-ref: + description: meta-balena ref if not the currently pinned version + required: false + type: string + default: '' jobs: yocto: name: Yocto - uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@v1.25.47 + uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@master # Prevent duplicate workflow executions for pull_request (PR) and pull_request_target (PRT) events. # Both PR and PRT will be triggered for the same pull request, whether it is internal or from a fork. # This condition will prevent the workflow from running twice for the same pull request while @@ -47,4 +52,6 @@ jobs: # Allow manual workflow runs to force finalize without checking previous test runs force-finalize: ${{ inputs.force-finalize || false }} # Default to balena-staging.com for workflow dispatch, but balena-cloud.com for other events - deploy-environment: ${{ inputs.deploy-environment || 'balena-cloud.com' }} \ No newline at end of file + deploy-environment: ${{ inputs.deploy-environment || 'balena-cloud.com' }} + meta-balena-ref: ${{ inputs.meta-balena-ref || '' }} + \ No newline at end of file diff --git a/.github/workflows/jetson-nano-2gb-devkit.yml b/.github/workflows/jetson-nano-2gb-devkit.yml index d73570819..806a2ab55 100644 --- a/.github/workflows/jetson-nano-2gb-devkit.yml +++ b/.github/workflows/jetson-nano-2gb-devkit.yml @@ -9,10 +9,10 @@ on: - master # ESR branches glob pattern #- 20[0-9][0-9].[0-1]?[1470].x - # pull_request_target: - # branches: - # - main - # - master + pull_request_target: + branches: + - main + - master push: tags: # Semver tags glob pattern (includes ESR in format v20YY.MM.PATCH) @@ -30,12 +30,17 @@ on: required: false type: string default: balena-staging.com + meta-balena-ref: + description: meta-balena ref if not the currently pinned version + required: false + type: string + default: '' jobs: yocto: name: Yocto - uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@v1.25.47 + uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@master # Prevent duplicate workflow executions for pull_request (PR) and pull_request_target (PRT) events. # Both PR and PRT will be triggered for the same pull request, whether it is internal or from a fork. # This condition will prevent the workflow from running twice for the same pull request while @@ -47,4 +52,6 @@ jobs: # Allow manual workflow runs to force finalize without checking previous test runs force-finalize: ${{ inputs.force-finalize || false }} # Default to balena-staging.com for workflow dispatch, but balena-cloud.com for other events - deploy-environment: ${{ inputs.deploy-environment || 'balena-cloud.com' }} \ No newline at end of file + deploy-environment: ${{ inputs.deploy-environment || 'balena-cloud.com' }} + meta-balena-ref: ${{ inputs.meta-balena-ref || '' }} + \ No newline at end of file diff --git a/.github/workflows/jetson-nano-emmc.yml b/.github/workflows/jetson-nano-emmc.yml index 05c6798c4..430078c43 100644 --- a/.github/workflows/jetson-nano-emmc.yml +++ b/.github/workflows/jetson-nano-emmc.yml @@ -9,10 +9,10 @@ on: - master # ESR branches glob pattern #- 20[0-9][0-9].[0-1]?[1470].x - # pull_request_target: - # branches: - # - main - # - master + pull_request_target: + branches: + - main + - master push: tags: # Semver tags glob pattern (includes ESR in format v20YY.MM.PATCH) @@ -30,12 +30,17 @@ on: required: false type: string default: balena-staging.com + meta-balena-ref: + description: meta-balena ref if not the currently pinned version + required: false + type: string + default: '' jobs: yocto: name: Yocto - uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@v1.25.47 + uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@master # Prevent duplicate workflow executions for pull_request (PR) and pull_request_target (PRT) events. # Both PR and PRT will be triggered for the same pull request, whether it is internal or from a fork. # This condition will prevent the workflow from running twice for the same pull request while @@ -47,4 +52,6 @@ jobs: # Allow manual workflow runs to force finalize without checking previous test runs force-finalize: ${{ inputs.force-finalize || false }} # Default to balena-staging.com for workflow dispatch, but balena-cloud.com for other events - deploy-environment: ${{ inputs.deploy-environment || 'balena-cloud.com' }} \ No newline at end of file + deploy-environment: ${{ inputs.deploy-environment || 'balena-cloud.com' }} + meta-balena-ref: ${{ inputs.meta-balena-ref || '' }} + \ No newline at end of file diff --git a/.github/workflows/jetson-nano.yml b/.github/workflows/jetson-nano.yml index 743ed84a7..8253f49b5 100644 --- a/.github/workflows/jetson-nano.yml +++ b/.github/workflows/jetson-nano.yml @@ -9,10 +9,10 @@ on: - master # ESR branches glob pattern #- 20[0-9][0-9].[0-1]?[1470].x - # pull_request_target: - # branches: - # - main - # - master + pull_request_target: + branches: + - main + - master push: tags: # Semver tags glob pattern (includes ESR in format v20YY.MM.PATCH) @@ -30,12 +30,17 @@ on: required: false type: string default: balena-staging.com + meta-balena-ref: + description: meta-balena ref if not the currently pinned version + required: false + type: string + default: '' jobs: yocto: name: Yocto - uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@v1.25.47 + uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@master # Prevent duplicate workflow executions for pull_request (PR) and pull_request_target (PRT) events. # Both PR and PRT will be triggered for the same pull request, whether it is internal or from a fork. # This condition will prevent the workflow from running twice for the same pull request while @@ -47,4 +52,6 @@ jobs: # Allow manual workflow runs to force finalize without checking previous test runs force-finalize: ${{ inputs.force-finalize || false }} # Default to balena-staging.com for workflow dispatch, but balena-cloud.com for other events - deploy-environment: ${{ inputs.deploy-environment || 'balena-cloud.com' }} \ No newline at end of file + deploy-environment: ${{ inputs.deploy-environment || 'balena-cloud.com' }} + meta-balena-ref: ${{ inputs.meta-balena-ref || '' }} + \ No newline at end of file diff --git a/.github/workflows/jetson-tx1.yml b/.github/workflows/jetson-tx1.yml index f1de91569..c93c57fec 100644 --- a/.github/workflows/jetson-tx1.yml +++ b/.github/workflows/jetson-tx1.yml @@ -9,10 +9,10 @@ on: - master # ESR branches glob pattern #- 20[0-9][0-9].[0-1]?[1470].x - # pull_request_target: - # branches: - # - main - # - master + pull_request_target: + branches: + - main + - master push: tags: # Semver tags glob pattern (includes ESR in format v20YY.MM.PATCH) @@ -30,12 +30,17 @@ on: required: false type: string default: balena-staging.com + meta-balena-ref: + description: meta-balena ref if not the currently pinned version + required: false + type: string + default: '' jobs: yocto: name: Yocto - uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@v1.25.47 + uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@master # Prevent duplicate workflow executions for pull_request (PR) and pull_request_target (PRT) events. # Both PR and PRT will be triggered for the same pull request, whether it is internal or from a fork. # This condition will prevent the workflow from running twice for the same pull request while @@ -47,4 +52,6 @@ jobs: # Allow manual workflow runs to force finalize without checking previous test runs force-finalize: ${{ inputs.force-finalize || false }} # Default to balena-staging.com for workflow dispatch, but balena-cloud.com for other events - deploy-environment: ${{ inputs.deploy-environment || 'balena-cloud.com' }} \ No newline at end of file + deploy-environment: ${{ inputs.deploy-environment || 'balena-cloud.com' }} + meta-balena-ref: ${{ inputs.meta-balena-ref || '' }} + \ No newline at end of file diff --git a/.github/workflows/jetson-tx2-nx-devkit.yml b/.github/workflows/jetson-tx2-nx-devkit.yml index 2add4f56e..86300e3f5 100644 --- a/.github/workflows/jetson-tx2-nx-devkit.yml +++ b/.github/workflows/jetson-tx2-nx-devkit.yml @@ -9,10 +9,10 @@ on: - master # ESR branches glob pattern #- 20[0-9][0-9].[0-1]?[1470].x - # pull_request_target: - # branches: - # - main - # - master + pull_request_target: + branches: + - main + - master push: tags: # Semver tags glob pattern (includes ESR in format v20YY.MM.PATCH) @@ -30,12 +30,17 @@ on: required: false type: string default: balena-staging.com + meta-balena-ref: + description: meta-balena ref if not the currently pinned version + required: false + type: string + default: '' jobs: yocto: name: Yocto - uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@v1.25.47 + uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@master # Prevent duplicate workflow executions for pull_request (PR) and pull_request_target (PRT) events. # Both PR and PRT will be triggered for the same pull request, whether it is internal or from a fork. # This condition will prevent the workflow from running twice for the same pull request while @@ -47,4 +52,6 @@ jobs: # Allow manual workflow runs to force finalize without checking previous test runs force-finalize: ${{ inputs.force-finalize || false }} # Default to balena-staging.com for workflow dispatch, but balena-cloud.com for other events - deploy-environment: ${{ inputs.deploy-environment || 'balena-cloud.com' }} \ No newline at end of file + deploy-environment: ${{ inputs.deploy-environment || 'balena-cloud.com' }} + meta-balena-ref: ${{ inputs.meta-balena-ref || '' }} + \ No newline at end of file diff --git a/.github/workflows/jetson-tx2.yml b/.github/workflows/jetson-tx2.yml index ceef55a71..8364ec616 100644 --- a/.github/workflows/jetson-tx2.yml +++ b/.github/workflows/jetson-tx2.yml @@ -9,10 +9,10 @@ on: - master # ESR branches glob pattern - 20[0-9][0-9].[0-1]?[1470].x - # pull_request_target: - # branches: - # - main - # - master + pull_request_target: + branches: + - main + - master push: tags: # Semver tags glob pattern (includes ESR in format v20YY.MM.PATCH) @@ -30,12 +30,17 @@ on: required: false type: string default: balena-staging.com + meta-balena-ref: + description: meta-balena ref if not the currently pinned version + required: false + type: string + default: '' jobs: yocto: name: Yocto - uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@v1.25.47 + uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@master # Prevent duplicate workflow executions for pull_request (PR) and pull_request_target (PRT) events. # Both PR and PRT will be triggered for the same pull request, whether it is internal or from a fork. # This condition will prevent the workflow from running twice for the same pull request while @@ -55,4 +60,6 @@ jobs: # Allow manual workflow runs to force finalize without checking previous test runs force-finalize: ${{ inputs.force-finalize || false }} # Default to balena-staging.com for workflow dispatch, but balena-cloud.com for other events - deploy-environment: ${{ inputs.deploy-environment || 'balena-cloud.com' }} \ No newline at end of file + deploy-environment: ${{ inputs.deploy-environment || 'balena-cloud.com' }} + meta-balena-ref: ${{ inputs.meta-balena-ref || '' }} + \ No newline at end of file diff --git a/.github/workflows/jetson-xavier-nx-devkit-emmc.yml b/.github/workflows/jetson-xavier-nx-devkit-emmc.yml deleted file mode 100644 index e5fbe9234..000000000 --- a/.github/workflows/jetson-xavier-nx-devkit-emmc.yml +++ /dev/null @@ -1,50 +0,0 @@ -name: Nvidia Jetson Xavier NX Devkit eMMC - -on: - # https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#onpushbranchestagsbranches-ignoretags-ignore - # https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet - pull_request: - branches: - - main - - master - # ESR branches glob pattern - #- 20[0-9][0-9].[0-1]?[1470].x - # pull_request_target: - # branches: - # - main - # - master - push: - tags: - # Semver tags glob pattern (includes ESR in format v20YY.MM.PATCH) - - v[0-9]+.[0-9]+.[0-9]+\+?r?e?v?* - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: - inputs: - force-finalize: - description: Force finalize of the build (implicitly enables hostapp and S3 deployments) - required: false - type: boolean - default: false - deploy-environment: - description: Environment to use for build and deploy - required: false - type: string - default: balena-staging.com - - -jobs: - yocto: - name: Yocto - uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@v1.25.47 - # Prevent duplicate workflow executions for pull_request (PR) and pull_request_target (PRT) events. - # Both PR and PRT will be triggered for the same pull request, whether it is internal or from a fork. - # This condition will prevent the workflow from running twice for the same pull request while - # still allowing it to run for all other event types. - if: (github.event.pull_request.head.repo.full_name == github.repository) == (github.event_name == 'pull_request') - secrets: inherit - with: - machine: jetson-xavier-nx-devkit-emmc - # Allow manual workflow runs to force finalize without checking previous test runs - force-finalize: ${{ inputs.force-finalize || false }} - # Default to balena-staging.com for workflow dispatch, but balena-cloud.com for other events - deploy-environment: ${{ inputs.deploy-environment || 'balena-cloud.com' }} \ No newline at end of file diff --git a/.github/workflows/jetson-xavier-nx-devkit-seeed-2mic-hat.yml b/.github/workflows/jetson-xavier-nx-devkit-seeed-2mic-hat.yml index b7cc3a920..8bb93c75d 100644 --- a/.github/workflows/jetson-xavier-nx-devkit-seeed-2mic-hat.yml +++ b/.github/workflows/jetson-xavier-nx-devkit-seeed-2mic-hat.yml @@ -9,10 +9,10 @@ on: - master # ESR branches glob pattern #- 20[0-9][0-9].[0-1]?[1470].x - # pull_request_target: - # branches: - # - main - # - master + pull_request_target: + branches: + - main + - master push: tags: # Semver tags glob pattern (includes ESR in format v20YY.MM.PATCH) @@ -30,12 +30,17 @@ on: required: false type: string default: balena-staging.com + meta-balena-ref: + description: meta-balena ref if not the currently pinned version + required: false + type: string + default: '' jobs: yocto: name: Yocto - uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@v1.25.47 + uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@master # Prevent duplicate workflow executions for pull_request (PR) and pull_request_target (PRT) events. # Both PR and PRT will be triggered for the same pull request, whether it is internal or from a fork. # This condition will prevent the workflow from running twice for the same pull request while @@ -47,4 +52,6 @@ jobs: # Allow manual workflow runs to force finalize without checking previous test runs force-finalize: ${{ inputs.force-finalize || false }} # Default to balena-staging.com for workflow dispatch, but balena-cloud.com for other events - deploy-environment: ${{ inputs.deploy-environment || 'balena-cloud.com' }} \ No newline at end of file + deploy-environment: ${{ inputs.deploy-environment || 'balena-cloud.com' }} + meta-balena-ref: ${{ inputs.meta-balena-ref || '' }} + \ No newline at end of file diff --git a/.github/workflows/jetson-xavier-nx-devkit.yml b/.github/workflows/jetson-xavier-nx-devkit.yml deleted file mode 100644 index 51a3da2ad..000000000 --- a/.github/workflows/jetson-xavier-nx-devkit.yml +++ /dev/null @@ -1,58 +0,0 @@ -name: Nvidia Jetson Xavier NX Devkit SD-CARD - -on: - # https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#onpushbranchestagsbranches-ignoretags-ignore - # https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet - pull_request: - branches: - - main - - master - # ESR branches glob pattern - #- 20[0-9][0-9].[0-1]?[1470].x - # pull_request_target: - # branches: - # - main - # - master - push: - tags: - # Semver tags glob pattern (includes ESR in format v20YY.MM.PATCH) - - v[0-9]+.[0-9]+.[0-9]+\+?r?e?v?* - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: - inputs: - force-finalize: - description: Force finalize of the build (implicitly enables hostapp and S3 deployments) - required: false - type: boolean - default: false - deploy-environment: - description: Environment to use for build and deploy - required: false - type: string - default: balena-staging.com - - -jobs: - yocto: - name: Yocto - uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@v1.25.47 - # Prevent duplicate workflow executions for pull_request (PR) and pull_request_target (PRT) events. - # Both PR and PRT will be triggered for the same pull request, whether it is internal or from a fork. - # This condition will prevent the workflow from running twice for the same pull request while - # still allowing it to run for all other event types. - if: (github.event.pull_request.head.repo.full_name == github.repository) == (github.event_name == 'pull_request') - secrets: inherit - with: - machine: jetson-xavier-nx-devkit - # worker_type defaults to testbot - # worker_fleets defaults to balena/testbot-rig,balena/testbot-rig-partners,balena/testbot-rig-x86,balena/testbot-rig-partners-x86 - test_matrix: > - { - "test_suite": ["os","cloud","hup"], - "environment": ["bm.balena-dev.com"], - "runs_on": [["ubuntu-latest"]] - } - # Allow manual workflow runs to force finalize without checking previous test runs - force-finalize: ${{ inputs.force-finalize || false }} - # Default to balena-staging.com for workflow dispatch, but balena-cloud.com for other events - deploy-environment: ${{ inputs.deploy-environment || 'balena-cloud.com' }} \ No newline at end of file diff --git a/.github/workflows/jetson-xavier.yml b/.github/workflows/jetson-xavier.yml deleted file mode 100644 index f4a67e994..000000000 --- a/.github/workflows/jetson-xavier.yml +++ /dev/null @@ -1,58 +0,0 @@ -name: Nvidia Jetson Xavier AGX - -on: - # https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#onpushbranchestagsbranches-ignoretags-ignore - # https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet - pull_request: - branches: - - main - - master - # ESR branches glob pattern - #- 20[0-9][0-9].[0-1]?[1470].x - # pull_request_target: - # branches: - # - main - # - master - push: - tags: - # Semver tags glob pattern (includes ESR in format v20YY.MM.PATCH) - - v[0-9]+.[0-9]+.[0-9]+\+?r?e?v?* - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: - inputs: - force-finalize: - description: Force finalize of the build (implicitly enables hostapp and S3 deployments) - required: false - type: boolean - default: false - deploy-environment: - description: Environment to use for build and deploy - required: false - type: string - default: balena-staging.com - - -jobs: - yocto: - name: Yocto - uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@v1.25.47 - # Prevent duplicate workflow executions for pull_request (PR) and pull_request_target (PRT) events. - # Both PR and PRT will be triggered for the same pull request, whether it is internal or from a fork. - # This condition will prevent the workflow from running twice for the same pull request while - # still allowing it to run for all other event types. - if: (github.event.pull_request.head.repo.full_name == github.repository) == (github.event_name == 'pull_request') - secrets: inherit - with: - machine: jetson-xavier - # worker_type defaults to testbot - # worker_fleets defaults to balena/testbot-rig,balena/testbot-rig-partners,balena/testbot-rig-x86,balena/testbot-rig-partners-x86 - test_matrix: > - { - "test_suite": ["os","cloud","hup"], - "environment": ["bm.balena-dev.com"], - "runs_on": [["ubuntu-latest"]] - } - # Allow manual workflow runs to force finalize without checking previous test runs - force-finalize: ${{ inputs.force-finalize || false }} - # Default to balena-staging.com for workflow dispatch, but balena-cloud.com for other events - deploy-environment: ${{ inputs.deploy-environment || 'balena-cloud.com' }} \ No newline at end of file diff --git a/.github/workflows/jn30b-nano.yml b/.github/workflows/jn30b-nano.yml index 481d05ba7..dfc8c24ca 100644 --- a/.github/workflows/jn30b-nano.yml +++ b/.github/workflows/jn30b-nano.yml @@ -9,10 +9,10 @@ on: - master # ESR branches glob pattern #- 20[0-9][0-9].[0-1]?[1470].x - # pull_request_target: - # branches: - # - main - # - master + pull_request_target: + branches: + - main + - master push: tags: # Semver tags glob pattern (includes ESR in format v20YY.MM.PATCH) @@ -30,12 +30,17 @@ on: required: false type: string default: balena-staging.com + meta-balena-ref: + description: meta-balena ref if not the currently pinned version + required: false + type: string + default: '' jobs: yocto: name: Yocto - uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@v1.25.47 + uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@master # Prevent duplicate workflow executions for pull_request (PR) and pull_request_target (PRT) events. # Both PR and PRT will be triggered for the same pull request, whether it is internal or from a fork. # This condition will prevent the workflow from running twice for the same pull request while @@ -47,4 +52,6 @@ jobs: # Allow manual workflow runs to force finalize without checking previous test runs force-finalize: ${{ inputs.force-finalize || false }} # Default to balena-staging.com for workflow dispatch, but balena-cloud.com for other events - deploy-environment: ${{ inputs.deploy-environment || 'balena-cloud.com' }} \ No newline at end of file + deploy-environment: ${{ inputs.deploy-environment || 'balena-cloud.com' }} + meta-balena-ref: ${{ inputs.meta-balena-ref || '' }} + \ No newline at end of file diff --git a/.github/workflows/n310-tx2.yml b/.github/workflows/n310-tx2.yml index 1aa51f51a..f6ab9a7a0 100644 --- a/.github/workflows/n310-tx2.yml +++ b/.github/workflows/n310-tx2.yml @@ -9,10 +9,10 @@ on: - master # ESR branches glob pattern #- 20[0-9][0-9].[0-1]?[1470].x - # pull_request_target: - # branches: - # - main - # - master + pull_request_target: + branches: + - main + - master push: tags: # Semver tags glob pattern (includes ESR in format v20YY.MM.PATCH) @@ -30,12 +30,17 @@ on: required: false type: string default: balena-staging.com + meta-balena-ref: + description: meta-balena ref if not the currently pinned version + required: false + type: string + default: '' jobs: yocto: name: Yocto - uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@v1.25.47 + uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@master # Prevent duplicate workflow executions for pull_request (PR) and pull_request_target (PRT) events. # Both PR and PRT will be triggered for the same pull request, whether it is internal or from a fork. # This condition will prevent the workflow from running twice for the same pull request while @@ -47,4 +52,6 @@ jobs: # Allow manual workflow runs to force finalize without checking previous test runs force-finalize: ${{ inputs.force-finalize || false }} # Default to balena-staging.com for workflow dispatch, but balena-cloud.com for other events - deploy-environment: ${{ inputs.deploy-environment || 'balena-cloud.com' }} \ No newline at end of file + deploy-environment: ${{ inputs.deploy-environment || 'balena-cloud.com' }} + meta-balena-ref: ${{ inputs.meta-balena-ref || '' }} + \ No newline at end of file diff --git a/.github/workflows/n510-tx2.yml b/.github/workflows/n510-tx2.yml index b6a3772fa..9f5973361 100644 --- a/.github/workflows/n510-tx2.yml +++ b/.github/workflows/n510-tx2.yml @@ -9,10 +9,10 @@ on: - master # ESR branches glob pattern #- 20[0-9][0-9].[0-1]?[1470].x - # pull_request_target: - # branches: - # - main - # - master + pull_request_target: + branches: + - main + - master push: tags: # Semver tags glob pattern (includes ESR in format v20YY.MM.PATCH) @@ -30,12 +30,17 @@ on: required: false type: string default: balena-staging.com + meta-balena-ref: + description: meta-balena ref if not the currently pinned version + required: false + type: string + default: '' jobs: yocto: name: Yocto - uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@v1.25.47 + uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@master # Prevent duplicate workflow executions for pull_request (PR) and pull_request_target (PRT) events. # Both PR and PRT will be triggered for the same pull request, whether it is internal or from a fork. # This condition will prevent the workflow from running twice for the same pull request while @@ -47,4 +52,6 @@ jobs: # Allow manual workflow runs to force finalize without checking previous test runs force-finalize: ${{ inputs.force-finalize || false }} # Default to balena-staging.com for workflow dispatch, but balena-cloud.com for other events - deploy-environment: ${{ inputs.deploy-environment || 'balena-cloud.com' }} \ No newline at end of file + deploy-environment: ${{ inputs.deploy-environment || 'balena-cloud.com' }} + meta-balena-ref: ${{ inputs.meta-balena-ref || '' }} + \ No newline at end of file diff --git a/.github/workflows/orbitty-tx2.yml b/.github/workflows/orbitty-tx2.yml index 571d85fa2..b50e26a70 100644 --- a/.github/workflows/orbitty-tx2.yml +++ b/.github/workflows/orbitty-tx2.yml @@ -9,10 +9,10 @@ on: - master # ESR branches glob pattern #- 20[0-9][0-9].[0-1]?[1470].x - # pull_request_target: - # branches: - # - main - # - master + pull_request_target: + branches: + - main + - master push: tags: # Semver tags glob pattern (includes ESR in format v20YY.MM.PATCH) @@ -30,12 +30,17 @@ on: required: false type: string default: balena-staging.com + meta-balena-ref: + description: meta-balena ref if not the currently pinned version + required: false + type: string + default: '' jobs: yocto: name: Yocto - uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@v1.25.47 + uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@master # Prevent duplicate workflow executions for pull_request (PR) and pull_request_target (PRT) events. # Both PR and PRT will be triggered for the same pull request, whether it is internal or from a fork. # This condition will prevent the workflow from running twice for the same pull request while @@ -47,4 +52,6 @@ jobs: # Allow manual workflow runs to force finalize without checking previous test runs force-finalize: ${{ inputs.force-finalize || false }} # Default to balena-staging.com for workflow dispatch, but balena-cloud.com for other events - deploy-environment: ${{ inputs.deploy-environment || 'balena-cloud.com' }} \ No newline at end of file + deploy-environment: ${{ inputs.deploy-environment || 'balena-cloud.com' }} + meta-balena-ref: ${{ inputs.meta-balena-ref || '' }} + \ No newline at end of file diff --git a/.github/workflows/photon-nano.yml b/.github/workflows/photon-nano.yml index 43013d5d6..d23db4e59 100644 --- a/.github/workflows/photon-nano.yml +++ b/.github/workflows/photon-nano.yml @@ -9,10 +9,10 @@ on: - master # ESR branches glob pattern #- 20[0-9][0-9].[0-1]?[1470].x - # pull_request_target: - # branches: - # - main - # - master + pull_request_target: + branches: + - main + - master push: tags: # Semver tags glob pattern (includes ESR in format v20YY.MM.PATCH) @@ -30,12 +30,17 @@ on: required: false type: string default: balena-staging.com + meta-balena-ref: + description: meta-balena ref if not the currently pinned version + required: false + type: string + default: '' jobs: yocto: name: Yocto - uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@v1.25.47 + uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@master # Prevent duplicate workflow executions for pull_request (PR) and pull_request_target (PRT) events. # Both PR and PRT will be triggered for the same pull request, whether it is internal or from a fork. # This condition will prevent the workflow from running twice for the same pull request while @@ -47,4 +52,6 @@ jobs: # Allow manual workflow runs to force finalize without checking previous test runs force-finalize: ${{ inputs.force-finalize || false }} # Default to balena-staging.com for workflow dispatch, but balena-cloud.com for other events - deploy-environment: ${{ inputs.deploy-environment || 'balena-cloud.com' }} \ No newline at end of file + deploy-environment: ${{ inputs.deploy-environment || 'balena-cloud.com' }} + meta-balena-ref: ${{ inputs.meta-balena-ref || '' }} + \ No newline at end of file diff --git a/.github/workflows/photon-tx2-nx.yml b/.github/workflows/photon-tx2-nx.yml index 16da989de..299dfd8b0 100644 --- a/.github/workflows/photon-tx2-nx.yml +++ b/.github/workflows/photon-tx2-nx.yml @@ -9,10 +9,10 @@ on: - master # ESR branches glob pattern #- 20[0-9][0-9].[0-1]?[1470].x - # pull_request_target: - # branches: - # - main - # - master + pull_request_target: + branches: + - main + - master push: tags: # Semver tags glob pattern (includes ESR in format v20YY.MM.PATCH) @@ -30,12 +30,17 @@ on: required: false type: string default: balena-staging.com + meta-balena-ref: + description: meta-balena ref if not the currently pinned version + required: false + type: string + default: '' jobs: yocto: name: Yocto - uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@v1.25.47 + uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@master # Prevent duplicate workflow executions for pull_request (PR) and pull_request_target (PRT) events. # Both PR and PRT will be triggered for the same pull request, whether it is internal or from a fork. # This condition will prevent the workflow from running twice for the same pull request while @@ -47,4 +52,6 @@ jobs: # Allow manual workflow runs to force finalize without checking previous test runs force-finalize: ${{ inputs.force-finalize || false }} # Default to balena-staging.com for workflow dispatch, but balena-cloud.com for other events - deploy-environment: ${{ inputs.deploy-environment || 'balena-cloud.com' }} \ No newline at end of file + deploy-environment: ${{ inputs.deploy-environment || 'balena-cloud.com' }} + meta-balena-ref: ${{ inputs.meta-balena-ref || '' }} + \ No newline at end of file diff --git a/.github/workflows/photon-xavier-nx.yml b/.github/workflows/photon-xavier-nx.yml index 58dcb595f..728d370a6 100644 --- a/.github/workflows/photon-xavier-nx.yml +++ b/.github/workflows/photon-xavier-nx.yml @@ -9,10 +9,10 @@ on: - master # ESR branches glob pattern #- 20[0-9][0-9].[0-1]?[1470].x - # pull_request_target: - # branches: - # - main - # - master + pull_request_target: + branches: + - main + - master push: tags: # Semver tags glob pattern (includes ESR in format v20YY.MM.PATCH) @@ -30,12 +30,17 @@ on: required: false type: string default: balena-staging.com + meta-balena-ref: + description: meta-balena ref if not the currently pinned version + required: false + type: string + default: '' jobs: yocto: name: Yocto - uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@v1.25.47 + uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@master # Prevent duplicate workflow executions for pull_request (PR) and pull_request_target (PRT) events. # Both PR and PRT will be triggered for the same pull request, whether it is internal or from a fork. # This condition will prevent the workflow from running twice for the same pull request while @@ -47,4 +52,5 @@ jobs: # Allow manual workflow runs to force finalize without checking previous test runs force-finalize: ${{ inputs.force-finalize || false }} # Default to balena-staging.com for workflow dispatch, but balena-cloud.com for other events - deploy-environment: ${{ inputs.deploy-environment || 'balena-cloud.com' }} \ No newline at end of file + deploy-environment: ${{ inputs.deploy-environment || 'balena-cloud.com' }} + meta-balena-ref: ${{ inputs.meta-balena-ref || '' }} \ No newline at end of file diff --git a/.github/workflows/spacely-tx2.yml b/.github/workflows/spacely-tx2.yml index 8c19cc3ed..b48fbe092 100644 --- a/.github/workflows/spacely-tx2.yml +++ b/.github/workflows/spacely-tx2.yml @@ -9,10 +9,10 @@ on: - master # ESR branches glob pattern #- 20[0-9][0-9].[0-1]?[1470].x - # pull_request_target: - # branches: - # - main - # - master + pull_request_target: + branches: + - main + - master push: tags: # Semver tags glob pattern (includes ESR in format v20YY.MM.PATCH) @@ -30,12 +30,17 @@ on: required: false type: string default: balena-staging.com + meta-balena-ref: + description: meta-balena ref if not the currently pinned version + required: false + type: string + default: '' jobs: yocto: name: Yocto - uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@v1.25.47 + uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@master # Prevent duplicate workflow executions for pull_request (PR) and pull_request_target (PRT) events. # Both PR and PRT will be triggered for the same pull request, whether it is internal or from a fork. # This condition will prevent the workflow from running twice for the same pull request while @@ -47,4 +52,6 @@ jobs: # Allow manual workflow runs to force finalize without checking previous test runs force-finalize: ${{ inputs.force-finalize || false }} # Default to balena-staging.com for workflow dispatch, but balena-cloud.com for other events - deploy-environment: ${{ inputs.deploy-environment || 'balena-cloud.com' }} \ No newline at end of file + deploy-environment: ${{ inputs.deploy-environment || 'balena-cloud.com' }} + meta-balena-ref: ${{ inputs.meta-balena-ref || '' }} + \ No newline at end of file diff --git a/layers/meta-balena b/layers/meta-balena index f95917dab..41a79d918 160000 --- a/layers/meta-balena +++ b/layers/meta-balena @@ -1 +1 @@ -Subproject commit f95917dab4a9e2f6b7e6830c22ba26d461fac816 +Subproject commit 41a79d918e5a8b62b88b9e137ce7e47122ca6b28