From f63dd97604d63ecf010e82c99262d526ebb07117 Mon Sep 17 00:00:00 2001 From: Carl Csaposs Date: Fri, 1 Mar 2024 12:48:23 +0000 Subject: [PATCH] Build & release arm64 (#36) --- .github/workflows/ci.yaml | 2 +- .github/workflows/release.yaml | 4 ++-- snap/snapcraft.yaml | 5 +++++ 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1df89b8..6db1b4b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -24,7 +24,7 @@ jobs: build: name: Build snap - uses: canonical/data-platform-workflows/.github/workflows/build_snap.yaml@v12.4.0 + uses: canonical/data-platform-workflows/.github/workflows/build_snap.yaml@v12.5.0 smoke: name: Smoke test snap diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b2d47ba..18193a1 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -14,13 +14,13 @@ on: jobs: build: name: Build snap - uses: canonical/data-platform-workflows/.github/workflows/build_snap.yaml@v12.4.0 + uses: canonical/data-platform-workflows/.github/workflows/build_snap.yaml@v12.5.0 release: name: Release snap needs: - build - uses: canonical/data-platform-workflows/.github/workflows/release_snap.yaml@v12.4.0 + uses: canonical/data-platform-workflows/.github/workflows/release_snap.yaml@v12.5.0 with: channel: 14/edge artifact-prefix: ${{ needs.build.outputs.artifact-prefix }} diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 430bafd..53681cc 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -8,6 +8,11 @@ description: | system emphasizing extensibility and SQL compliance. This package includes patroni for managing your PostgreSQL systems. +architectures: + - build-on: [amd64] + build-for: [amd64] + - build-on: [arm64] + build-for: [arm64] grade: stable # must be 'stable' to release into candidate/stable channels confinement: strict # use 'strict' once you have the right plugs and slots