From 728724ce46b14dfb00ca680221db076a5f9afbff Mon Sep 17 00:00:00 2001 From: Christina Ying Wang Date: Mon, 12 Sep 2022 12:24:45 -0700 Subject: [PATCH] Remove balena-ci.yml and add balenaCloud slugs Signed-off-by: Christina Ying Wang --- .github/workflows/balena-ci.yml | 25 ------------------------- .github/workflows/flowzone.yml | 6 ++++++ 2 files changed, 6 insertions(+), 25 deletions(-) delete mode 100644 .github/workflows/balena-ci.yml diff --git a/.github/workflows/balena-ci.yml b/.github/workflows/balena-ci.yml deleted file mode 100644 index c793616c..00000000 --- a/.github/workflows/balena-ci.yml +++ /dev/null @@ -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 }} diff --git a/.github/workflows/flowzone.yml b/.github/workflows/flowzone.yml index a3b6fae2..2ac4c5ce 100644 --- a/.github/workflows/flowzone.yml +++ b/.github/workflows/flowzone.yml @@ -18,3 +18,9 @@ jobs: BALENA_API_KEY: ${{ secrets.BALENA_API_KEY }} with: 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