File tree Expand file tree Collapse file tree 11 files changed +16
-10
lines changed Expand file tree Collapse file tree 11 files changed +16
-10
lines changed Original file line number Diff line number Diff line change 1010jobs :
1111 approve-pr :
1212 name : Approve Renovate pull request
13- uses : canonical/data-platform-workflows/.github/workflows/approve_renovate_pr.yaml@v31.1.1
13+ uses : canonical/data-platform-workflows/.github/workflows/approve_renovate_pr.yaml@v32.2.0
1414 permissions :
1515 pull-requests : write # Needed to approve PR
Original file line number Diff line number Diff line change 1515jobs :
1616 check-pr :
1717 name : Check pull request
18- uses : canonical/data-platform-workflows/.github/workflows/check_charm_pr.yaml@v31.1.1
18+ uses : canonical/data-platform-workflows/.github/workflows/check_charm_pr.yaml@v32.2.0
Original file line number Diff line number Diff line change 5353
5454 build :
5555 name : Build charm
56- uses : canonical/data-platform-workflows/.github/workflows/build_charm.yaml@v31.1.1
56+ uses : canonical/data-platform-workflows/.github/workflows/build_charm.yaml@v32.2.0
5757
5858 integration-test :
5959 name : Integration test charm
Original file line number Diff line number Diff line change 2525jobs :
2626 promote :
2727 name : Promote charm
28- uses : canonical/data-platform-workflows/.github/workflows/_promote_charm.yaml@v31.1.1
28+ uses : canonical/data-platform-workflows/.github/workflows/_promote_charm.yaml@v31.1.1 # Use v32 after this charm adds refresh v3
2929 with :
3030 track : ' 8.0'
3131 from-risk : ${{ inputs.from-risk }}
Original file line number Diff line number Diff line change 2222 name : Release charm
2323 needs :
2424 - ci-tests
25- uses : canonical/data-platform-workflows/.github/workflows/release_charm.yaml@v31.1.1
25+ uses : canonical/data-platform-workflows/.github/workflows/release_charm.yaml@v32.2.0
2626 with :
2727 channel : 8.0/edge
2828 artifact-prefix : ${{ needs.ci-tests.outputs.artifact-prefix }}
Original file line number Diff line number Diff line change 1010jobs :
1111 sync-docs :
1212 name : Sync docs from Discourse
13- uses : canonical/data-platform-workflows/.github/workflows/sync_docs.yaml@v31.1.1
13+ uses : canonical/data-platform-workflows/.github/workflows/sync_docs.yaml@v32.2.0
1414 with :
1515 reviewers : a-velasco
1616 permissions :
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ type: charm
55platforms :
66 ubuntu@22.04:amd64 :
77 ubuntu@22.04:arm64 :
8+ ubuntu@22.04:s390x :
89# Files implicitly created by charmcraft without a part:
910# - dispatch (https://github.com/canonical/charmcraft/pull/1898)
1011# - manifest.yaml
Original file line number Diff line number Diff line change @@ -60,6 +60,6 @@ resources:
6060 mysql-router-image :
6161 type : oci-image
6262 description : OCI image for mysql-router
63- upstream-source : ghcr.io/canonical/charmed-mysql@sha256:089fc04dd2d6f1559161ddf4720c1e06559aeb731ecae57b050c9c816e9833e9
63+ upstream-source : ghcr.io/canonical/charmed-mysql@sha256:e78bdba30923ec87d67879a284d9162dfbb7600b34cbf3f84c9b4cce08648715
6464assumes :
6565 - k8s-api
Original file line number Diff line number Diff line change @@ -51,8 +51,10 @@ def is_wrong_architecture() -> bool:
5151 manifest_archs .extend (base_archs )
5252
5353 hardware_arch = platform .machine ()
54- if ("amd64" in manifest_archs and hardware_arch == "x86_64" ) or (
55- "arm64" in manifest_archs and hardware_arch == "aarch64"
54+ if (
55+ ("amd64" in manifest_archs and hardware_arch == "x86_64" )
56+ or ("arm64" in manifest_archs and hardware_arch == "aarch64" )
57+ or ("s390x" in manifest_archs and hardware_arch == "s390x" )
5658 ):
5759 logger .debug ("Charm architecture matches" )
5860 return False
Original file line number Diff line number Diff line change @@ -59,3 +59,6 @@ async def test_amd_charm_on_arm_host(ops_test: OpsTest) -> None:
5959 status = "error" ,
6060 raise_on_error = False ,
6161 )
62+
63+
64+ # TODO: add s390x test
You can’t perform that action at this time.
0 commit comments