Skip to content

Commit

Permalink
Build & release arm64 (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
carlcsaposs-canonical authored Jul 1, 2024
1 parent 595c4ef commit 492c564
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 18 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
jobs:
lint:
name: Lint
uses: canonical/data-platform-workflows/.github/workflows/lint.yaml@v12
uses: canonical/data-platform-workflows/.github/workflows/lint.yaml@v16

lib-check:
name: Check libraries
Expand All @@ -37,6 +37,6 @@ jobs:

build:
name: Build charm
uses: canonical/data-platform-workflows/.github/workflows/build_charm.yaml@v12
uses: canonical/data-platform-workflows/.github/workflows/build_charm.yaml@v16
with:
cache: true
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
build:
name: Build charm
uses: canonical/data-platform-workflows/.github/workflows/build_charm.yaml@v12
uses: canonical/data-platform-workflows/.github/workflows/build_charm.yaml@v16

release:
name: Release charm
needs:
- ci-tests
- build
uses: canonical/data-platform-workflows/.github/workflows/release_charm.yaml@v12
uses: canonical/data-platform-workflows/.github/workflows/release_charm.yaml@v16
with:
channel: latest/edge
artifact-prefix: ${{ needs.build.outputs.artifact-prefix }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sync_issue_to_jira.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
sync:
name: Sync GitHub issue to Jira
uses: canonical/data-platform-workflows/.github/workflows/sync_issue_to_jira.yaml@v12
uses: canonical/data-platform-workflows/.github/workflows/sync_issue_to_jira.yaml@v16
with:
jira-base-url: https://warthogs.atlassian.net
jira-project-key: DPE
Expand Down
25 changes: 12 additions & 13 deletions charmcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,15 @@

type: charm
bases:
- build-on:
- name: "ubuntu"
channel: "22.04"
run-on:
- name: "ubuntu"
channel: "22.04"
- name: "ubuntu"
channel: "20.04"

parts:
charm:
charm-binary-python-packages:
- mysql-connector-python~=8.0.32
- name: ubuntu
channel: "20.04"
architectures: [amd64]
- name: ubuntu
channel: "20.04"
architectures: [arm64]
- name: ubuntu
channel: "22.04"
architectures: [amd64]
- name: ubuntu
channel: "22.04"
architectures: [arm64]

0 comments on commit 492c564

Please sign in to comment.