diff --git a/base_requirements.txt b/base_requirements.txt index 7a686477e..006c5b63f 100644 --- a/base_requirements.txt +++ b/base_requirements.txt @@ -1,4 +1,4 @@ -ghapi==1.0.9 +ghapi==1.0.10 jinja2==3.1.6 fabric==3.2.2 ops==3.5.0 diff --git a/github-runner-manager/requirements.txt b/github-runner-manager/requirements.txt index ce46fbe1f..9e87b7db5 100644 --- a/github-runner-manager/requirements.txt +++ b/github-runner-manager/requirements.txt @@ -1,11 +1,11 @@ click==8.3.1 fabric==3.2.2 -fastcore==1.12.1 +fastcore==1.12.3 flask==3.1.2 -ghapi==1.0.9 +ghapi==1.0.10 jinja2==3.1.6 kombu==5.6.2 -openstacksdk==4.8.0 -prometheus-client==0.24.0 +openstacksdk==4.9.0 +prometheus-client==0.24.1 pydantic==1.10.26 pymongo==4.16.0 diff --git a/tests/integration/test_charm_upgrade.py b/tests/integration/test_charm_upgrade.py index bd0600a74..6920b4513 100644 --- a/tests/integration/test_charm_upgrade.py +++ b/tests/integration/test_charm_upgrade.py @@ -46,8 +46,7 @@ async def test_charm_upgrade( act: charm upgrade is called. assert: the charm is upgraded successfully. """ - latest_stable_path = tmp_path / "github-runner.charm" - latest_stable_revision = 354 # update this value every release to stable. + latest_edge_path = tmp_path / "github-runner.charm" # download the charm retcode, stdout, stderr = await ops_test.juju( "download", @@ -55,11 +54,11 @@ async def test_charm_upgrade( # do not specify revision # --revision cannot be specified together with --arch, --base, --channel "--channel", - "latest/stable", + "latest/edge", "--series", "jammy", "--filepath", - str(latest_stable_path), + str(latest_edge_path), "--no-progress", ) assert retcode == 0, f"failed to download charm, {stdout} {stderr}" @@ -67,7 +66,7 @@ async def test_charm_upgrade( # deploy latest stable version of the charm application = await deploy_github_runner_charm( model=model, - charm_file=str(latest_stable_path), + charm_file=str(latest_edge_path), app_name=app_name, path=github_config.path, token=github_config.token, @@ -97,11 +96,11 @@ async def test_charm_upgrade( origin = client.CharmOrigin( source="charm-hub", track="22.04", - risk="latest/stable", + risk="latest/edge", branch="deadbeef", hash_="hash", id_="id", - revision=latest_stable_revision, + revision=0, # arbitrary number base=client.Base("22.04", "ubuntu"), )