Skip to content

Commit

Permalink
Juju matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
dragomirp committed Nov 10, 2023
1 parent 8376626 commit 19f8c3e
Showing 1 changed file with 27 additions and 13 deletions.
40 changes: 27 additions & 13 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,30 @@ jobs:
name: Integration test charm
needs:
- build
uses: canonical/data-platform-workflows/.github/workflows/integration_test_charm.yaml@test-large
with:
artifact-name: ${{ needs.build.outputs.artifact-name }}
cloud: lxd
juju-agent-version: 3.1.6
secrets:
integration-test: |
{
"AWS_ACCESS_KEY": "${{ secrets.AWS_ACCESS_KEY }}",
"AWS_SECRET_KEY": "${{ secrets.AWS_SECRET_KEY }}",
"GCP_ACCESS_KEY": "${{ secrets.GCP_ACCESS_KEY }}",
"GCP_SECRET_KEY": "${{ secrets.GCP_SECRET_KEY }}"
}
strategy:
fail-fast: false
matrix:
juju-snap-channel: ["2.9/stable", "3.1/stable"]
include:
- juju-snap-channel: "3.1/stable"
agent-version: "3.1.6"
libjuju-version: "3.2.0.1"
- juju-snap-channel: "2.9/stable"
agent-version: "2.9.45"
libjuju-version: "2.9.44.1"
steps:
- uses: canonical/data-platform-workflows/.github/workflows/integration_test_charm.yaml@test-large
with:
artifact-name: ${{ needs.build.outputs.artifact-name }}
cloud: lxd
juju-agent-version: ${{ matrix.agent-version }}
channel: ${{ matrix.juju-snap-channel }}
libjuju-version-constraint: ${{ matrix.libjuju-version }}
secrets:
integration-test: |
{
"AWS_ACCESS_KEY": "${{ secrets.AWS_ACCESS_KEY }}",
"AWS_SECRET_KEY": "${{ secrets.AWS_SECRET_KEY }}",
"GCP_ACCESS_KEY": "${{ secrets.GCP_ACCESS_KEY }}",
"GCP_SECRET_KEY": "${{ secrets.GCP_SECRET_KEY }}"
}

0 comments on commit 19f8c3e

Please sign in to comment.