Skip to content

Commit

Permalink
Add GHA workflow to enable manual staging deploys
Browse files Browse the repository at this point in the history
This commit adds the workflow files to enable manual builds + deploys to staging from a target branch only.

Changelog-entry:  Add GHA workflow to enable manual staging deploys
Signed-off-by: Ryan Cooke <[email protected]>
  • Loading branch information
rcooke-warwick committed Oct 4, 2024
1 parent f4684ca commit e141813
Show file tree
Hide file tree
Showing 4 changed files with 74 additions and 17 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/build_and_deploy.yml

This file was deleted.

25 changes: 25 additions & 0 deletions .github/workflows/jetson-xavier-nx-devkit-emmc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: "Jetson Xavier NX Devkit eMMC"

on:
# 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

jobs:
yocto:
name: Yocto
uses: balena-os/balena-yocto-scripts/.github/workflows/[email protected]
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 }}
# This workflow is just for building and then deploying to staging, nothing else
# This workflow is just for building and then deploying to staging, nothing else
deploy-environment: balena-staging.com

25 changes: 25 additions & 0 deletions .github/workflows/jetson-xavier-nx-devkit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: "Nvidia Jetson Xavier NX Devkit SD-CARD"

on:
# 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

jobs:
yocto:
name: Yocto
uses: balena-os/balena-yocto-scripts/.github/workflows/[email protected]
secrets: inherit
with:
machine: jetson-xavier-nx-devkit
# Allow manual workflow runs to force finalize without checking previous test runs
force-finalize: ${{ inputs.force-finalize || false }}
# This workflow is just for building and then deploying to staging, nothing else
# This workflow is just for building and then deploying to staging, nothing else
deploy-environment: balena-staging.com

24 changes: 24 additions & 0 deletions .github/workflows/jetson-xavier.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: "Nvidia Jetson Xavier"

on:
# 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

jobs:
yocto:
name: Yocto
uses: balena-os/balena-yocto-scripts/.github/workflows/[email protected]
secrets: inherit
with:
machine: jetson-xavier
# Allow manual workflow runs to force finalize without checking previous test runs
force-finalize: ${{ inputs.force-finalize || false }}
# This workflow is just for building and then deploying to staging, nothing else
# This workflow is just for building and then deploying to staging, nothing else
deploy-environment: balena-staging.com

0 comments on commit e141813

Please sign in to comment.