Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update GHA workflow deploy environment to production #764

Merged
merged 4 commits into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions .github/workflows/genericx86-64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,11 @@ on:
- main
- master
# ESR branches glob pattern
- v20[0-9][0-9].[0-1]?[1470].[0-9]+
- 20[0-9][0-9].[0-1]?[1470].x
pull_request_target:
branches:
- main
- master
# ESR branches glob pattern
- v20[0-9][0-9].[0-1]?[1470].[0-9]+
push:
tags:
# Semver tags glob pattern (includes ESR in format v20YY.MM.PATCH)
Expand All @@ -36,7 +34,7 @@ on:
jobs:
yocto:
name: Yocto
uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@a3dfa265480986251193a989b1077939f38c4dc3 # v1.25.26
uses: balena-os/balena-yocto-scripts/.github/workflows/[email protected].27
# 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
Expand All @@ -56,4 +54,4 @@ 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-staging.com' }}
deploy-environment: ${{ inputs.deploy-environment || 'balena-cloud.com' }}
8 changes: 3 additions & 5 deletions .github/workflows/intel-nuc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,11 @@ on:
- main
- master
# ESR branches glob pattern
- v20[0-9][0-9].[0-1]?[1470].[0-9]+
- 20[0-9][0-9].[0-1]?[1470].x
pull_request_target:
branches:
- main
- master
# ESR branches glob pattern
- v20[0-9][0-9].[0-1]?[1470].[0-9]+
push:
tags:
# Semver tags glob pattern (includes ESR in format v20YY.MM.PATCH)
Expand All @@ -36,7 +34,7 @@ on:
jobs:
yocto:
name: Yocto
uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@a3dfa265480986251193a989b1077939f38c4dc3 # v1.25.26
uses: balena-os/balena-yocto-scripts/.github/workflows/[email protected].27
# 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
Expand All @@ -56,4 +54,4 @@ 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-staging.com' }}
deploy-environment: ${{ inputs.deploy-environment || 'balena-cloud.com' }}
8 changes: 3 additions & 5 deletions .github/workflows/surface-go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,11 @@ on:
- main
- master
# ESR branches glob pattern
# - v20[0-9][0-9].[0-1]?[1470].[0-9]+
# - 20[0-9][0-9].[0-1]?[1470].x
pull_request_target:
branches:
- main
- master
# ESR branches glob pattern
# - v20[0-9][0-9].[0-1]?[1470].[0-9]+
push:
tags:
# Semver tags glob pattern (includes ESR in format v20YY.MM.PATCH)
Expand All @@ -36,7 +34,7 @@ on:
jobs:
yocto:
name: Yocto
uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@a3dfa265480986251193a989b1077939f38c4dc3 # v1.25.26
uses: balena-os/balena-yocto-scripts/.github/workflows/[email protected].27
# 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
Expand All @@ -48,4 +46,4 @@ 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-staging.com' }}
deploy-environment: ${{ inputs.deploy-environment || 'balena-cloud.com' }}
8 changes: 3 additions & 5 deletions .github/workflows/surface-pro-6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,11 @@ on:
- main
- master
# ESR branches glob pattern
# - v20[0-9][0-9].[0-1]?[1470].[0-9]+
# - 20[0-9][0-9].[0-1]?[1470].x
pull_request_target:
branches:
- main
- master
# ESR branches glob pattern
# - v20[0-9][0-9].[0-1]?[1470].[0-9]+
push:
tags:
# Semver tags glob pattern (includes ESR in format v20YY.MM.PATCH)
Expand All @@ -36,7 +34,7 @@ on:
jobs:
yocto:
name: Yocto
uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@a3dfa265480986251193a989b1077939f38c4dc3 # v1.25.26
uses: balena-os/balena-yocto-scripts/.github/workflows/[email protected].27
# 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
Expand All @@ -48,4 +46,4 @@ 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-staging.com' }}
deploy-environment: ${{ inputs.deploy-environment || 'balena-cloud.com' }}
2 changes: 1 addition & 1 deletion layers/meta-balena
Submodule meta-balena updated 39 files
+34 −0 .github/workflows/bananapi-m1-plus.yml
+34 −0 .github/workflows/beaglebone-ai64.yml
+34 −0 .github/workflows/beaglebone-pocket.yml
+34 −0 .github/workflows/beaglebone.yml
+43 −0 .github/workflows/generic-aarch64.yml
+11 −13 .github/workflows/generic-amd64.yml
+11 −13 .github/workflows/genericx86-64-ext.yml
+11 −13 .github/workflows/genericx86-64.yml
+34 −0 .github/workflows/imx6ul-var-dart.yml
+34 −0 .github/workflows/imx7-var-som.yml
+34 −0 .github/workflows/iot-gate-imx8.yml
+34 −0 .github/workflows/iot-gate-imx8plus.yml
+34 −0 .github/workflows/jetson-agx-orin-devkit.yml
+34 −0 .github/workflows/jetson-nano.yml
+34 −0 .github/workflows/jetson-tx2.yml
+34 −0 .github/workflows/jetson-xavier.yml
+34 −0 .github/workflows/nanopi-neo-air.yml
+34 −0 .github/workflows/nanopi-r2c.yml
+34 −0 .github/workflows/orangepi-plus2.yml
+34 −0 .github/workflows/owa5x.yml
+34 −0 .github/workflows/raspberrypi.yml
+34 −0 .github/workflows/raspberrypi2.yml
+11 −13 .github/workflows/raspberrypi3-64.yml
+11 −13 .github/workflows/raspberrypi3.yml
+11 −13 .github/workflows/raspberrypi4-64.yml
+34 −0 .github/workflows/revpi-connect-4.yml
+34 −0 .github/workflows/revpi-connect-s.yml
+34 −0 .github/workflows/revpi-connect.yml
+34 −0 .github/workflows/revpi-core-3.yml
+34 −0 .github/workflows/rockpi-4b-rk3399.yml
+34 −0 .github/workflows/surface-go.yml
+34 −0 .github/workflows/surface-pro-6.yml
+34 −0 .github/workflows/var-som-mx6..yml
+384 −0 .versionbot/CHANGELOG.yml
+101 −0 CHANGELOG.md
+2 −0 meta-balena-common/classes/image_types_balena.bbclass
+1 −1 meta-balena-common/conf/distro/include/balena-os.inc
+1 −1 meta-balena-common/recipes-containers/balena-supervisor/balena-supervisor.inc
+1 −1 tests/leviathan
Loading