Skip to content

Commit

Permalink
Juju 3.1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
juditnovak committed Jul 4, 2023
1 parent b71812d commit 7155370
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,11 @@ jobs:
uses: charmed-kubernetes/actions-operator@main
with:
provider: microk8s
channel: "1.26-strict/stable"
# This is needed until https://bugs.launchpad.net/juju/+bug/1977582 is fixed
bootstrap-options: "--agent-version 2.9.29"
bootstrap-options: "--agent-version 3.1.2"
bootstrap-constraints: "cores=2 mem=2G"
juju-channel: "3.1/stable"
- name: Download packed charm(s)
uses: actions/download-artifact@v3
with:
Expand All @@ -88,7 +90,7 @@ jobs:
fi
- name: Run integration tests
# set a predictable model name so it can be consumed by charm-logdump-action
run: sg microk8s -c "tox run -e ${{ matrix.tox-environments }} -- --model testing -m '${{ steps.select-tests.outputs.mark_expression }}'"
run: sg snap_microk8s -c "tox run -e ${{ matrix.tox-environments }} -- --model testing -m '${{ steps.select-tests.outputs.mark_expression }}'"
env:
CI_PACKED_CHARMS: ${{ needs.build.outputs.charms }}
- name: Dump logs
Expand Down
12 changes: 6 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ pass_env =
CI_PACKED_CHARMS
commands_pre =
poetry install --with integration
poetry run pip install juju==2.9.42.1
poetry run pip install juju==3.1.2.0
commands =
poetry run pytest -v --tb native --log-cli-level=INFO -s {posargs} {[vars]tests_path}/integration/test_charm.py

Expand All @@ -79,7 +79,7 @@ pass_env =
CI_PACKED_CHARMS
commands_pre =
poetry install --with integration
poetry run pip install juju==2.9.42.1
poetry run pip install juju==3.1.2.0
commands =
poetry run pytest -v --tb native --log-cli-level=INFO -s --durations=0 {posargs} {[vars]tests_path}/integration/ha_tests/test_ha.py

Expand All @@ -91,7 +91,7 @@ pass_env =
CI_PACKED_CHARMS
commands_pre =
poetry install --with integration
poetry run pip install juju==2.9.42.1
poetry run pip install juju==3.1.2.0
commands =
poetry run pytest -v --tb native --log-cli-level=INFO -s --durations=0 {posargs} {[vars]tests_path}/integration/metrics_tests/test_metrics.py

Expand All @@ -104,7 +104,7 @@ pass_env =
CI_PACKED_CHARMS
commands_pre =
poetry install --with integration
poetry run pip install juju==2.9.42.1
poetry run pip install juju==3.1.2.0
commands =
poetry run pytest -v --tb native --log-cli-level=INFO -s --durations=0 {posargs} {[vars]tests_path}/integration/tls_tests/test_tls.py

Expand All @@ -116,7 +116,7 @@ pass_env =
CI_PACKED_CHARMS
commands_pre =
poetry install --with integration
poetry run pip install juju==2.9.42.1
poetry run pip install juju==3.1.2.0
commands =
poetry run pytest -v --tb native --log-cli-level=INFO -s --durations=0 {posargs} {[vars]tests_path}/integration/relation_tests/test_charm_relations.py

Expand All @@ -128,7 +128,7 @@ pass_env =
CI_PACKED_CHARMS
commands_pre =
poetry install --with integration
poetry run pip install juju==2.9.42.1
poetry run pip install juju==3.1.2.0
commands =
poetry run pytest -v --tb native --log-cli-level=INFO -s --durations=0 {posargs} {[vars]tests_path}/integration/test_teardown.py

Expand Down

0 comments on commit 7155370

Please sign in to comment.