generated from canonical/template-operator
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run integration tests on arm64 (#278)
- Loading branch information
1 parent
156da2d
commit ee5d2ff
Showing
8 changed files
with
93 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,21 +75,29 @@ jobs: | |
juju: | ||
- agent: 2.9.49 # renovate: juju-agent-pin-minor | ||
libjuju: ^2 | ||
allure: false | ||
allure_on_amd64: false | ||
- agent: 3.4.3 # renovate: juju-agent-pin-minor | ||
allure: true | ||
name: Integration test charm | ${{ matrix.juju.agent }} | ||
allure_on_amd64: true | ||
architecture: | ||
- amd64 | ||
include: | ||
- juju: | ||
agent: 3.4.3 # renovate: juju-agent-pin-minor | ||
allure_on_amd64: true | ||
architecture: arm64 | ||
name: Integration test charm | ${{ matrix.juju.agent }} | ${{ matrix.architecture }} | ||
needs: | ||
- lint | ||
- unit-test | ||
- build | ||
uses: canonical/data-platform-workflows/.github/workflows/[email protected] | ||
with: | ||
artifact-prefix: ${{ needs.build.outputs.artifact-prefix }} | ||
architecture: ${{ matrix.architecture }} | ||
cloud: microk8s | ||
microk8s-snap-channel: 1.28-strict/stable | ||
juju-agent-version: ${{ matrix.juju.agent }} | ||
libjuju-version-constraint: ${{ matrix.juju.libjuju }} | ||
_beta_allure_report: ${{ matrix.juju.allure }} | ||
_beta_allure_report: ${{ matrix.juju.allure_on_amd64 && matrix.architecture == 'amd64' }} | ||
permissions: | ||
contents: write # Needed for Allure Report beta |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Copyright 2024 Canonical Ltd. | ||
# See LICENSE file for licensing details. | ||
import subprocess | ||
|
||
architecture = subprocess.run( | ||
["dpkg", "--print-architecture"], capture_output=True, check=True, encoding="utf-8" | ||
).stdout.strip() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters