Add staging environment workflow

Signed-off-by: Christina Ying Wang <christina@balena.io>
This commit is contained in:
Christina Ying Wang 2022-09-12 15:57:09 -07:00 committed by Felipe Lalanne
parent 7788180df3
commit efc04296ce

View File

@ -8,19 +8,38 @@ on:
- "master"
jobs:
flowzone:
name: Flowzone
flowzone-staging:
name: Flowzone with balena-staging
uses: product-os/flowzone/.github/workflows/flowzone.yml@master
secrets:
FLOWZONE_TOKEN: ${{ secrets.FLOWZONE_TOKEN }}
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
BALENA_API_KEY: ${{ secrets.BALENA_API_KEY }}
BALENA_API_KEY: ${{ secrets.BALENA_STAGING_TOKEN }}
with:
balena_environment: balena-staging.com
protect_branch: false
balena_slugs:
- balena_os/aarch64-supervisor
- balena_os/amd64-supervisor
- balena_os/armv7hf-supervisor
- balena_os/i386-supervisor
- balena_os/rpi-supervisor
balena_slugs: |
balena_os/aarch64-supervisor,
balena_os/amd64-supervisor,
balena_os/armv7hf-supervisor,
balena_os/i386-supervisor,
balena_os/rpi-supervisor
flowzone:
name: Flowzone with balena-cloud
uses: product-os/flowzone/.github/workflows/flowzone.yml@master
secrets:
FLOWZONE_TOKEN: ${{ secrets.FLOWZONE_TOKEN }}
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
BALENA_API_KEY: ${{ secrets.BALENA_TOKEN }}
with:
balena_environment: balena-cloud.com
protect_branch: false
balena_slugs: |
balena_os/aarch64-supervisor,
balena_os/amd64-supervisor,
balena_os/armv7hf-supervisor,
balena_os/i386-supervisor,
balena_os/rpi-supervisor