Skip to content

Dashboard: Add v2 AppPlatform resource#2633

Merged
dprokop merged 4 commits intomainfrom
add-dashboard-v2-resource
Mar 27, 2026
Merged

Dashboard: Add v2 AppPlatform resource#2633
dprokop merged 4 commits intomainfrom
add-dashboard-v2-resource

Conversation

@dprokop
Copy link
Copy Markdown
Contributor

@dprokop dprokop commented Mar 26, 2026

Summary

  • Add grafana_apps_dashboard_dashboard_v2 resource for the stable v2 Dashboard API
  • Mirrors the existing v2beta1 resource pattern (JSON spec + optional title/tags overrides)
  • Requires Grafana >=13.0.0
  • Updates grafana/apps/dashboard SDK dependency to include the v2 package
  • Renames grafana_apps_dashboard_dashboard_v1beta1grafana_apps_dashboard_dashboard_v1: the SDK bump graduates v1beta1 to v1 (v1beta1 package now delegates to v1)

Test plan

  • go build . compiles cleanly
  • TestAccDashboardV2Stable_basic passes against a live Grafana instance
  • Verify import state works correctly in CI

🤖 Generated with Claude Code

@dprokop dprokop requested review from a team as code owners March 26, 2026 10:09
@dprokop dprokop requested review from amalavet and charandas and removed request for a team March 26, 2026 10:09
@github-actions
Copy link
Copy Markdown
Contributor

In order to lower resource usage and have a faster runtime, PRs will not run Cloud tests automatically.
To do so, a Grafana Labs employee must trigger the cloud acceptance tests workflow manually.

@dprokop dprokop requested review from radiohead and spinillos March 26, 2026 10:10
Update grafana/apps/dashboard SDK to latest main. The v1beta1 package
now delegates to v1 (grafana/grafana#120748), so the existing dashboard
resource is renamed from grafana_apps_dashboard_dashboard_v1beta1 to
grafana_apps_dashboard_dashboard_v1.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@dprokop dprokop force-pushed the add-dashboard-v2-resource branch from 299cf55 to 2f14f07 Compare March 26, 2026 10:24
Add grafana_apps_dashboard_dashboard_v2 resource for the stable v2
Dashboard API (grafana/grafana#118646), mirroring the existing v2beta1
resource pattern with JSON spec + optional title/tags overrides.
Requires Grafana >=13.0.0.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@dprokop dprokop force-pushed the add-dashboard-v2-resource branch from 2f14f07 to 25aeda6 Compare March 26, 2026 10:32
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com>
@radiohead radiohead force-pushed the add-dashboard-v2-resource branch from 96c114d to 4eeb467 Compare March 26, 2026 12:16
What: Restore original v1beta1 naming in the first Backstage catalog entry
Why: The v1beta1 resource hasn't been graduated yet in this PR scope

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@dprokop dprokop merged commit 3e77e12 into main Mar 27, 2026
43 checks passed
@dprokop dprokop deleted the add-dashboard-v2-resource branch March 27, 2026 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants