From 281e64b536ad2af68a945273d0e3a3e3e9baba28 Mon Sep 17 00:00:00 2001 From: Marcos Junior Date: Sun, 25 Feb 2024 08:51:45 -0600 Subject: [PATCH] Add armv7 support for ha-meterparser-addon (#91) * Add armv7 #86 * Add armv7 support * Missing arch * Upgrade base imagees * Update build script * Fix --- .github/CODEOWNERS | 2 +- .github/workflows/main.yaml | 4 ++-- meterparser/CHANGELOG.md | 2 ++ meterparser/build.yaml | 10 +++++----- meterparser/config.yaml | 2 +- 5 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index a3a19bb..1d18862 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1 +1 @@ -.github/* @junalmeida +/** @junalmeida diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 17c3783..3c6c15a 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -62,7 +62,7 @@ jobs: strategy: matrix: addon: ${{ fromJson(needs.init.outputs.changed_addons) }} - arch: ["aarch64", "amd64"] + arch: ["aarch64", "amd64", "armv7"] steps: - name: Check out repository @@ -97,7 +97,7 @@ jobs: - name: Build ${{ matrix.addon }} add-on if: steps.check.outputs.build_arch == 'true' - uses: home-assistant/builder@2024.01.0 + uses: home-assistant/builder@master with: args: | ${{ env.BUILD_ARGS }} \ diff --git a/meterparser/CHANGELOG.md b/meterparser/CHANGELOG.md index e03061a..43d2e4d 100644 --- a/meterparser/CHANGELOG.md +++ b/meterparser/CHANGELOG.md @@ -1,3 +1,5 @@ +### [1.0.2.6] +- Add armv7 support ### [1.0.2.5] - Reduce ffmpeg logs, reduce amount of time to seek for a snapshot diff --git a/meterparser/build.yaml b/meterparser/build.yaml index 6b148de..8072005 100644 --- a/meterparser/build.yaml +++ b/meterparser/build.yaml @@ -1,6 +1,6 @@ build_from: - aarch64: ghcr.io/hassio-addons/debian-base/aarch64:5.3.1 - amd64: ghcr.io/hassio-addons/debian-base/amd64:5.3.1 - # armhf: ghcr.io/hassio-addons/debian-base/armhf:5.3.1 - # armv7: ghcr.io/hassio-addons/debian-base/armv7:5.3.1 - # i386: ghcr.io/hassio-addons/debian-base/i386:5.3.1 + aarch64: ghcr.io/hassio-addons/debian-base/aarch64:7.3.1 + amd64: ghcr.io/hassio-addons/debian-base/amd64:7.3.1 + # armhf: ghcr.io/hassio-addons/debian-base/armhf:7.3.1 + armv7: ghcr.io/hassio-addons/debian-base/armv7:7.3.1 + # i386: ghcr.io/hassio-addons/debian-base/i386:7.3.1 diff --git a/meterparser/config.yaml b/meterparser/config.yaml index 0e33773..155aec2 100644 --- a/meterparser/config.yaml +++ b/meterparser/config.yaml @@ -1,5 +1,5 @@ name: Meter Parser -version: 1.0.2.5 +version: 1.0.2.6 slug: meter-parser description: Read meter needles and numbers from a camera snapshot. url: https://github.com/junalmeida/homeassistant-addons/tree/main/meterparser