Skip to content

Commit

Permalink
use last grafana 10 image for migrator
Browse files Browse the repository at this point in the history
Grafana 11 completely dropped legacy alerting, including the migrator
  • Loading branch information
lilatomic committed Jun 3, 2024
1 parent 89f19c2 commit 423e40b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Changelog
* task : commit requests and pytest as test dependencies
* task : bump transitive dependencies
* task : upgrade Pants
* fix : pin migrator to use latest Grafana 10 image (Grafana 11 drops legacy alerting)

v0.7.0 (2024-03-24)
------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/grafanarmadillo/cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def migrate():
@click.option(
"--grafana-container-image",
help="Grafana image to upgrade to",
default="grafana/grafana:latest",
default="grafana/grafana:10.4.3",
)
@click.option(
"--output-directory",
Expand Down
2 changes: 1 addition & 1 deletion tests/cli/test_migrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def init_db_file(path: Path) -> None:
raise

with with_container(
"grafana/grafana:10.3.1", unified_db_path, {}
"grafana/grafana:10.4.3", unified_db_path, {}
) as grafana_unified:
# Import into new Grafana
_wait_until_ready(grafana_unified)
Expand Down

0 comments on commit 423e40b

Please sign in to comment.