mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-02-06 19:20:12 +00:00
Remove balena-ci.yml and add balenaCloud slugs
Signed-off-by: Christina Ying Wang <christina@balena.io>
This commit is contained in:
parent
670b9ff563
commit
728724ce46
25
.github/workflows/balena-ci.yml
vendored
25
.github/workflows/balena-ci.yml
vendored
@ -1,25 +0,0 @@
|
|||||||
name: balenaCloud
|
|
||||||
|
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
types: [opened, synchronize, closed]
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
deploy-release:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
strategy:
|
|
||||||
fail-fast: true
|
|
||||||
matrix:
|
|
||||||
arch: [aarch64, amd64, armv7hf, i386, rpi]
|
|
||||||
environment: [ { tld: balena-cloud.com, token_prop_name: BALENA_TOKEN }, { tld: balena-staging.com, token_prop_name: BALENA_STAGING_TOKEN } ]
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- uses: balena-io/balena-ci@master
|
|
||||||
name: 'Deploy to ${{ matrix.environment.tld }}'
|
|
||||||
with:
|
|
||||||
balena_token: ${{ secrets[matrix.environment.token_prop_name] }}
|
|
||||||
fleet: 'balena_os/${{ matrix.arch }}-supervisor'
|
|
||||||
versionbot: true
|
|
||||||
environment: ${{ matrix.environment.tld }}
|
|
6
.github/workflows/flowzone.yml
vendored
6
.github/workflows/flowzone.yml
vendored
@ -18,3 +18,9 @@ jobs:
|
|||||||
BALENA_API_KEY: ${{ secrets.BALENA_API_KEY }}
|
BALENA_API_KEY: ${{ secrets.BALENA_API_KEY }}
|
||||||
with:
|
with:
|
||||||
protect_branch: false
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user