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.
Browse files
Browse the repository at this point in the history
## Issue We would like to run nightly tests with juju 3.6 ## Solution Upgrade to dpw v21.0.0 and add juju 3.6 into the matrix for tests. Also, upgrade libjuju to ^3.5.2.0
- Loading branch information
1 parent
27a5975
commit 472ea79
Showing
11 changed files
with
54 additions
and
37 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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,14 +52,14 @@ async def test_database_relation(ops_test: OpsTest): | |
channel="8.0/edge", | ||
application_name=MYSQL_APP_NAME, | ||
config={"profile": "testing"}, | ||
series="jammy", | ||
base="[email protected]", | ||
num_units=3, | ||
trust=True, # Necessary after a6f1f01: Fix/endpoints as k8s services (#142) | ||
), | ||
ops_test.model.deploy( | ||
mysqlrouter_charm, | ||
application_name=MYSQL_ROUTER_APP_NAME, | ||
series="jammy", | ||
base="[email protected]", | ||
resources=mysqlrouter_resources, | ||
num_units=1, | ||
trust=True, | ||
|
@@ -68,7 +68,7 @@ async def test_database_relation(ops_test: OpsTest): | |
APPLICATION_APP_NAME, | ||
channel="latest/edge", | ||
application_name=APPLICATION_APP_NAME, | ||
series="jammy", | ||
base="[email protected]", | ||
num_units=1, | ||
), | ||
) | ||
|
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 |
---|---|---|
|
@@ -52,14 +52,14 @@ async def test_exporter_endpoint(ops_test: OpsTest) -> None: | |
channel="8.0/edge", | ||
application_name=MYSQL_APP_NAME, | ||
config={"profile": "testing"}, | ||
series="jammy", | ||
base="[email protected]", | ||
num_units=1, | ||
trust=True, | ||
), | ||
ops_test.model.deploy( | ||
mysqlrouter_charm, | ||
application_name=MYSQL_ROUTER_APP_NAME, | ||
series="jammy", | ||
base="[email protected]", | ||
resources=mysqlrouter_resources, | ||
num_units=1, | ||
trust=True, | ||
|
@@ -68,14 +68,14 @@ async def test_exporter_endpoint(ops_test: OpsTest) -> None: | |
APPLICATION_APP_NAME, | ||
channel="latest/edge", | ||
application_name=APPLICATION_APP_NAME, | ||
series="jammy", | ||
base="[email protected]", | ||
num_units=1, | ||
), | ||
ops_test.model.deploy( | ||
GRAFANA_AGENT_APP_NAME, | ||
application_name=GRAFANA_AGENT_APP_NAME, | ||
num_units=1, | ||
series="jammy", | ||
base="[email protected]", | ||
channel="latest/stable", | ||
), | ||
) | ||
|
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 |
---|---|---|
|
@@ -68,14 +68,14 @@ async def test_exporter_endpoint(ops_test: OpsTest) -> None: | |
channel="8.0/edge", | ||
application_name=MYSQL_APP_NAME, | ||
config={"profile": "testing"}, | ||
series="jammy", | ||
base="[email protected]", | ||
num_units=1, | ||
trust=True, | ||
), | ||
ops_test.model.deploy( | ||
mysqlrouter_charm, | ||
application_name=MYSQL_ROUTER_APP_NAME, | ||
series="jammy", | ||
base="[email protected]", | ||
resources=mysqlrouter_resources, | ||
num_units=1, | ||
trust=True, | ||
|
@@ -84,14 +84,14 @@ async def test_exporter_endpoint(ops_test: OpsTest) -> None: | |
APPLICATION_APP_NAME, | ||
channel="latest/edge", | ||
application_name=APPLICATION_APP_NAME, | ||
series="jammy", | ||
base="[email protected]", | ||
num_units=1, | ||
), | ||
ops_test.model.deploy( | ||
GRAFANA_AGENT_APP_NAME, | ||
application_name=GRAFANA_AGENT_APP_NAME, | ||
num_units=1, | ||
series="jammy", | ||
base="[email protected]", | ||
channel="latest/stable", | ||
), | ||
) | ||
|
@@ -141,7 +141,7 @@ async def test_exporter_endpoint(ops_test: OpsTest) -> None: | |
application_name=tls_app_name, | ||
channel=tls_channel, | ||
config=tls_config, | ||
series="jammy", | ||
base="[email protected]", | ||
) | ||
|
||
await ops_test.model.wait_for_idle([tls_app_name], status="active", timeout=SLOW_TIMEOUT) | ||
|
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 |
---|---|---|
|
@@ -53,14 +53,14 @@ async def test_log_rotation(ops_test: OpsTest): | |
channel="8.0/edge", | ||
application_name=MYSQL_APP_NAME, | ||
config={"profile": "testing"}, | ||
series="jammy", | ||
base="[email protected]", | ||
num_units=3, | ||
trust=True, # Necessary after a6f1f01: Fix/endpoints as k8s services (#142) | ||
), | ||
ops_test.model.deploy( | ||
mysqlrouter_charm, | ||
application_name=MYSQL_ROUTER_APP_NAME, | ||
series="jammy", | ||
base="[email protected]", | ||
resources=mysqlrouter_resources, | ||
num_units=1, | ||
trust=True, | ||
|
@@ -69,7 +69,7 @@ async def test_log_rotation(ops_test: OpsTest): | |
APPLICATION_APP_NAME, | ||
channel="latest/edge", | ||
application_name=APPLICATION_APP_NAME, | ||
series="jammy", | ||
base="[email protected]", | ||
num_units=1, | ||
), | ||
) | ||
|
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 |
---|---|---|
|
@@ -62,14 +62,14 @@ async def test_build_and_deploy(ops_test: OpsTest): | |
channel="8.0/edge", | ||
application_name=MYSQL_APP_NAME, | ||
config={"profile": "testing"}, | ||
series="jammy", | ||
base="[email protected]", | ||
num_units=3, | ||
trust=True, # Necessary after a6f1f01: Fix/endpoints as k8s services (#142) | ||
), | ||
ops_test.model.deploy( | ||
mysqlrouter_charm, | ||
application_name=MYSQL_ROUTER_APP_NAME, | ||
series="jammy", | ||
base="[email protected]", | ||
resources=mysqlrouter_resources, | ||
num_units=1, | ||
trust=True, | ||
|
@@ -78,14 +78,14 @@ async def test_build_and_deploy(ops_test: OpsTest): | |
APPLICATION_APP_NAME, | ||
channel="latest/edge", | ||
application_name=APPLICATION_APP_NAME, | ||
series="jammy", | ||
base="[email protected]", | ||
num_units=1, | ||
), | ||
ops_test.model.deploy( | ||
DATA_INTEGRATOR, | ||
channel="latest/edge", | ||
application_name=DATA_INTEGRATOR, | ||
series="jammy", | ||
base="[email protected]", | ||
config={"database-name": "test"}, | ||
num_units=1, | ||
), | ||
|
@@ -94,7 +94,7 @@ async def test_build_and_deploy(ops_test: OpsTest): | |
channel=tls_channel, | ||
application_name=SELF_SIGNED_CERTIFICATE_NAME, | ||
config=TLS_CONFIG, | ||
series="jammy", | ||
base="[email protected]", | ||
num_units=1, | ||
), | ||
) | ||
|
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 |
---|---|---|
|
@@ -60,7 +60,7 @@ async def test_build_deploy_and_relate(ops_test: OpsTest) -> None: | |
channel="8.0/edge", | ||
application_name=MYSQL_APP_NAME, | ||
config={"profile": "testing"}, | ||
series="jammy", | ||
base="[email protected]", | ||
num_units=1, | ||
trust=True, | ||
) | ||
|
@@ -73,7 +73,7 @@ async def test_build_deploy_and_relate(ops_test: OpsTest) -> None: | |
ops_test.model.deploy( | ||
mysqlrouter_charm, | ||
application_name=MYSQL_ROUTER_APP_NAME, | ||
series="jammy", | ||
base="[email protected]", | ||
resources=mysqlrouter_resources, | ||
num_units=1, | ||
trust=True, | ||
|
@@ -83,13 +83,13 @@ async def test_build_deploy_and_relate(ops_test: OpsTest) -> None: | |
application_name=tls_app_name, | ||
channel=tls_channel, | ||
config=tls_config, | ||
series="jammy", | ||
base="[email protected]", | ||
), | ||
ops_test.model.deploy( | ||
TEST_APP_NAME, | ||
application_name=TEST_APP_NAME, | ||
channel="latest/edge", | ||
series="jammy", | ||
base="[email protected]", | ||
), | ||
) | ||
|
||
|
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 |
---|---|---|
|
@@ -52,23 +52,23 @@ async def test_deploy_edge(ops_test: OpsTest) -> None: | |
channel="8.0/edge", | ||
application_name=MYSQL_APP_NAME, | ||
config={"profile": "testing"}, | ||
series="jammy", | ||
base="[email protected]", | ||
num_units=1, | ||
trust=True, # Necessary after a6f1f01: Fix/endpoints as k8s services (#142) | ||
), | ||
ops_test.model.deploy( | ||
MYSQL_ROUTER_APP_NAME, | ||
channel="8.0/edge", | ||
application_name=MYSQL_ROUTER_APP_NAME, | ||
series="jammy", | ||
base="[email protected]", | ||
num_units=3, | ||
trust=True, | ||
), | ||
ops_test.model.deploy( | ||
APPLICATION_APP_NAME, | ||
channel="latest/edge", | ||
application_name=APPLICATION_APP_NAME, | ||
series="jammy", | ||
base="[email protected]", | ||
num_units=1, | ||
), | ||
) | ||
|