Skip to content

Commit

Permalink
fix: Pin Prometheus revision to 137
Browse files Browse the repository at this point in the history
Pin Prometheus revision when deploying from `latest` to avoid fetching
recent patches of the charm which assume `juju >= 3.0.3`. Revision 137
was the last one seen working properly in our CI integration tests.
This is a temporary patch until we migrate to Juju 3.1.

Signed-off-by: Phoevos Kalemkeris <[email protected]>
  • Loading branch information
phoevos committed Sep 1, 2023
1 parent 15330f2 commit f47e7dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/test_charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ async def test_prometheus_grafana_integration(ops_test: OpsTest):
scrape_config = {"scrape_interval": "30s"}

# Deploy and relate prometheus
await ops_test.model.deploy(prometheus, channel="latest/edge", trust=True)
await ops_test.model.deploy(prometheus, channel="latest/edge", revision=137, trust=True)
await ops_test.model.deploy(grafana, channel="latest/edge", trust=True)
await ops_test.model.deploy(prometheus_scrape, channel="latest/beta", config=scrape_config)

Expand Down

0 comments on commit f47e7dc

Please sign in to comment.