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