From 35faeae007e10b2f17b5dbb30ee252364db61768 Mon Sep 17 00:00:00 2001 From: Rahul Thakoor Date: Tue, 3 Mar 2026 00:11:51 +0400 Subject: [PATCH] Add flowzone Enables automatic deploy to balenaCloud registry bh.cr Change-type: patch Signed-off-by: Rahul Thakoor --- .github/workflows/flowzone.yml | 16 ++++++++++++++++ src/Dockerfile => Dockerfile | 0 src/balena.yml => balena.yml | 0 build.sh | 2 +- src/entry.sh => entry.sh | 0 repo.yml | 1 + src/weston.ini => weston.ini | 0 7 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/flowzone.yml rename src/Dockerfile => Dockerfile (100%) rename src/balena.yml => balena.yml (100%) rename src/entry.sh => entry.sh (100%) create mode 100644 repo.yml rename src/weston.ini => weston.ini (100%) diff --git a/.github/workflows/flowzone.yml b/.github/workflows/flowzone.yml new file mode 100644 index 0000000..8cff34d --- /dev/null +++ b/.github/workflows/flowzone.yml @@ -0,0 +1,16 @@ +name: Flowzone + +on: + pull_request: + types: [opened, synchronize, closed] + branches: + - "main" + - "master" + +jobs: + flowzone: + name: Flowzone + uses: product-os/flowzone/.github/workflows/flowzone.yml@master + secrets: inherit + with: + balena_slugs: 'balena_solutions/display-aarch64,balena_solutions/display-amd64' \ No newline at end of file diff --git a/src/Dockerfile b/Dockerfile similarity index 100% rename from src/Dockerfile rename to Dockerfile diff --git a/src/balena.yml b/balena.yml similarity index 100% rename from src/balena.yml rename to balena.yml diff --git a/build.sh b/build.sh index 67d137e..2ff521f 100755 --- a/build.sh +++ b/build.sh @@ -3,7 +3,7 @@ set -e ORG="${ORG:-balena_solutions}" BLOCK_NAME="${BLOCK_NAME:-display}" -SRC_DIR="$(cd "$(dirname "$0")/src" && pwd)" +SRC_DIR="$(cd "$(dirname "$0")" && pwd)" ARCH="${1:?Usage: $0 (aarch64|amd64) [--dry-run]}" DRY_RUN=false diff --git a/src/entry.sh b/entry.sh similarity index 100% rename from src/entry.sh rename to entry.sh diff --git a/repo.yml b/repo.yml new file mode 100644 index 0000000..8dcb88c --- /dev/null +++ b/repo.yml @@ -0,0 +1 @@ +type: balena \ No newline at end of file diff --git a/src/weston.ini b/weston.ini similarity index 100% rename from src/weston.ini rename to weston.ini