Skip to content

add dispatch workflow for debugging #1

add dispatch workflow for debugging

add dispatch workflow for debugging #1

# name: Yocto build
# # device repo example psuedo code for visualisation purposes
# on:
# pull_request:
# branches:
# - main
# - master
# push:
# tags:
# - v[0-9]+.[0-9]+.[0-9]+\+?r?e?v?*
# - v20[0-9][0-9].[0-1]?[1470].[0-9]+
# workflow_dispatch:
# inputs:
# device-repo-ref: # only required when testing from non-device repositories
# description: balenaOS device repository tag, branch, or commit to build
# required: false
# type: string
# default: master
# meta-balena-ref:
# description: meta-balena ref if not the currently pinned version
# required: false
# type: string
# yocto-scripts-ref:
# description: balena-yocto-scripts ref if not the currently pinned version
# required: false
# type: string
# machine:
# description: yocto board name
# required: true
# type: string
# environment:
# description: The GitHub Environment to use for the job(s) (production, staging, etc.)
# required: true
# type: choice
# options:
# - production
# - staging
# deploy-s3:
# description: Whether to deploy images to S3
# required: false
# type: boolean
# default: true
# deploy-hostapp:
# description: Whether to deploy a hostApp container image to a balena environment
# required: false
# type: boolean
# default: true
# deploy-esr:
# description: Enable to deploy ESR
# required: false
# type: boolean
# default: false
# finalize-hostapp:
# description: Whether to finalize a hostApp container image to a balena environment
# required: false
# type: choice
# options:
# - 'no'
# - 'yes'
# jobs:
# yocto-genericx86-64-ext:
# name: yocto-genericx86-64-ext
# uses: ./.github/workflows/yocto-build-deploy.yml
# secrets: inherit
# with:
# machine: genericx86-64-ext
# test-workers: qemu
# yocto-intel-nuc:
# name: yocto-intel-nuc
# uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build.yml@<tag>
# secrets: inherit
# with:
# machine: genericx86-64