Compare commits

..

200 Commits

Author SHA1 Message Date
Matheus Macabu
1188c69c26 [release-12.0.2] Dependencies: Bump github.com/go-viper/mapstructure/v2 from 2.2.1 to 2.3.0 (#107554)
Some checks failed
Backend Unit Tests / Grafana (1/8) (push) Has been cancelled
Backend Unit Tests / Grafana (2/8) (push) Has been cancelled
Backend Unit Tests / Grafana (3/8) (push) Has been cancelled
Backend Unit Tests / Grafana (4/8) (push) Has been cancelled
Backend Unit Tests / Grafana (5/8) (push) Has been cancelled
Backend Unit Tests / Grafana (6/8) (push) Has been cancelled
Backend Unit Tests / Grafana (7/8) (push) Has been cancelled
Backend Unit Tests / Grafana (8/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (1/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (2/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (3/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (4/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (5/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (6/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (7/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (8/8) (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (1/8) (push) Has been cancelled
Integration Tests / Sqlite (2/8) (push) Has been cancelled
Integration Tests / Sqlite (3/8) (push) Has been cancelled
Integration Tests / Sqlite (4/8) (push) Has been cancelled
Integration Tests / Sqlite (5/8) (push) Has been cancelled
Integration Tests / Sqlite (6/8) (push) Has been cancelled
Integration Tests / Sqlite (7/8) (push) Has been cancelled
Integration Tests / Sqlite (8/8) (push) Has been cancelled
Integration Tests / MySQL (1/8) (push) Has been cancelled
Integration Tests / MySQL (2/8) (push) Has been cancelled
Integration Tests / MySQL (3/8) (push) Has been cancelled
Integration Tests / MySQL (4/8) (push) Has been cancelled
Integration Tests / MySQL (5/8) (push) Has been cancelled
Integration Tests / MySQL (6/8) (push) Has been cancelled
Integration Tests / MySQL (7/8) (push) Has been cancelled
Integration Tests / MySQL (8/8) (push) Has been cancelled
Integration Tests / Postgres (1/8) (push) Has been cancelled
Integration Tests / Postgres (2/8) (push) Has been cancelled
Integration Tests / Postgres (3/8) (push) Has been cancelled
Integration Tests / Postgres (4/8) (push) Has been cancelled
Integration Tests / Postgres (5/8) (push) Has been cancelled
Integration Tests / Postgres (6/8) (push) Has been cancelled
Integration Tests / Postgres (7/8) (push) Has been cancelled
Integration Tests / Postgres (8/8) (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Dependencies: Bump github.com/go-viper/mapstructure/v2 from 2.2.1 to 2.3.0
2025-07-03 09:53:04 +02:00
Kevin Minehart
86a34519c3 Fix 12.0.2 changelog (#106863)
Some checks failed
Backend Unit Tests / Grafana (1/8) (push) Has been cancelled
Backend Unit Tests / Grafana (2/8) (push) Has been cancelled
Backend Unit Tests / Grafana (3/8) (push) Has been cancelled
Backend Unit Tests / Grafana (4/8) (push) Has been cancelled
Backend Unit Tests / Grafana (5/8) (push) Has been cancelled
Backend Unit Tests / Grafana (6/8) (push) Has been cancelled
Backend Unit Tests / Grafana (7/8) (push) Has been cancelled
Backend Unit Tests / Grafana (8/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (1/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (2/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (3/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (4/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (5/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (6/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (7/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (8/8) (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (1/8) (push) Has been cancelled
Integration Tests / Sqlite (2/8) (push) Has been cancelled
Integration Tests / Sqlite (3/8) (push) Has been cancelled
Integration Tests / Sqlite (4/8) (push) Has been cancelled
Integration Tests / Sqlite (5/8) (push) Has been cancelled
Integration Tests / Sqlite (6/8) (push) Has been cancelled
Integration Tests / Sqlite (7/8) (push) Has been cancelled
Integration Tests / Sqlite (8/8) (push) Has been cancelled
Integration Tests / MySQL (1/8) (push) Has been cancelled
Integration Tests / MySQL (2/8) (push) Has been cancelled
Integration Tests / MySQL (3/8) (push) Has been cancelled
Integration Tests / MySQL (4/8) (push) Has been cancelled
Integration Tests / MySQL (5/8) (push) Has been cancelled
Integration Tests / MySQL (6/8) (push) Has been cancelled
Integration Tests / MySQL (7/8) (push) Has been cancelled
Integration Tests / MySQL (8/8) (push) Has been cancelled
Integration Tests / Postgres (1/8) (push) Has been cancelled
Integration Tests / Postgres (2/8) (push) Has been cancelled
Integration Tests / Postgres (3/8) (push) Has been cancelled
Integration Tests / Postgres (4/8) (push) Has been cancelled
Integration Tests / Postgres (5/8) (push) Has been cancelled
Integration Tests / Postgres (6/8) (push) Has been cancelled
Integration Tests / Postgres (7/8) (push) Has been cancelled
Integration Tests / Postgres (8/8) (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
2025-06-17 17:10:22 -05:00
github-actions[bot]
714ae42cd7 apply security patch: release-12.0.2/438-202505231907.patch 2025-06-17 21:19:17 +00:00
grafana-delivery-bot[bot]
9308a76400 [release-12.0.2] docs(alerting): fix Grafana Play links due to provisioning (#106860)
docs(alerting): fix Grafana Play links due to provisioning (#106816)

(cherry picked from commit 286a6638b8)

Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com>
2025-06-17 21:17:13 +00:00
github-actions[bot]
b0dad3f11b Release: 12.0.2 (#106855)
* Update changelog

* Update version to 12.0.2

* Update CHANGELOG.md

add cve fix to changelog

---------

Co-authored-by: grafana-delivery-bot[bot] <grafana-delivery-bot[bot]@users.noreply.github.com>
Co-authored-by: Jev Forsberg <46619047+baldm0mma@users.noreply.github.com>
2025-06-17 16:09:37 -05:00
grafana-delivery-bot[bot]
0989a8d89f [release-12.0.2] Docs: Remove api key references from docs (#106849)
Co-authored-by: Mihai Doarna <mihai.doarna@grafana.com>
2025-06-17 17:36:44 +02:00
grafana-delivery-bot[bot]
d8f106637e [release-12.0.2] docs(alerting): specify that the PUT request of the rule group endpoint can create a new rule group (#106803)
Some checks failed
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (1/8) (push) Has been cancelled
Integration Tests / Sqlite (2/8) (push) Has been cancelled
Integration Tests / Sqlite (3/8) (push) Has been cancelled
Integration Tests / Sqlite (4/8) (push) Has been cancelled
Integration Tests / Sqlite (5/8) (push) Has been cancelled
Integration Tests / Sqlite (6/8) (push) Has been cancelled
Integration Tests / Sqlite (7/8) (push) Has been cancelled
Integration Tests / Sqlite (8/8) (push) Has been cancelled
Integration Tests / MySQL (1/8) (push) Has been cancelled
Integration Tests / MySQL (2/8) (push) Has been cancelled
Integration Tests / MySQL (3/8) (push) Has been cancelled
Integration Tests / MySQL (4/8) (push) Has been cancelled
Integration Tests / MySQL (5/8) (push) Has been cancelled
Integration Tests / MySQL (6/8) (push) Has been cancelled
Integration Tests / MySQL (7/8) (push) Has been cancelled
Integration Tests / MySQL (8/8) (push) Has been cancelled
Integration Tests / Postgres (1/8) (push) Has been cancelled
Integration Tests / Postgres (2/8) (push) Has been cancelled
Integration Tests / Postgres (3/8) (push) Has been cancelled
Integration Tests / Postgres (4/8) (push) Has been cancelled
Integration Tests / Postgres (5/8) (push) Has been cancelled
Integration Tests / Postgres (6/8) (push) Has been cancelled
Integration Tests / Postgres (7/8) (push) Has been cancelled
Integration Tests / Postgres (8/8) (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
docs(alerting): specify that the `PUT` request of the rule group endpoint can create a new rule group (#106727)

(cherry picked from commit 51b05b1b3d)

Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com>
2025-06-17 10:52:36 +02:00
grafana-delivery-bot[bot]
960f7f9bc4 [release-12.0.2] Docs: Adding info on allowlisting IPs for the Cloud Migration Assistant (#106793)
Some checks failed
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (1/8) (push) Has been cancelled
Integration Tests / Sqlite (2/8) (push) Has been cancelled
Integration Tests / Sqlite (3/8) (push) Has been cancelled
Integration Tests / Sqlite (4/8) (push) Has been cancelled
Integration Tests / Sqlite (5/8) (push) Has been cancelled
Integration Tests / Sqlite (6/8) (push) Has been cancelled
Integration Tests / Sqlite (7/8) (push) Has been cancelled
Integration Tests / Sqlite (8/8) (push) Has been cancelled
Integration Tests / MySQL (1/8) (push) Has been cancelled
Integration Tests / MySQL (2/8) (push) Has been cancelled
Integration Tests / MySQL (3/8) (push) Has been cancelled
Integration Tests / MySQL (4/8) (push) Has been cancelled
Integration Tests / MySQL (5/8) (push) Has been cancelled
Integration Tests / MySQL (6/8) (push) Has been cancelled
Integration Tests / MySQL (7/8) (push) Has been cancelled
Integration Tests / MySQL (8/8) (push) Has been cancelled
Integration Tests / Postgres (1/8) (push) Has been cancelled
Integration Tests / Postgres (2/8) (push) Has been cancelled
Integration Tests / Postgres (3/8) (push) Has been cancelled
Integration Tests / Postgres (4/8) (push) Has been cancelled
Integration Tests / Postgres (5/8) (push) Has been cancelled
Integration Tests / Postgres (6/8) (push) Has been cancelled
Integration Tests / Postgres (7/8) (push) Has been cancelled
Integration Tests / Postgres (8/8) (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
Docs: Adding info on allowlisting IPs for the Cloud Migration Assistant (#106447)

* Docs: Adding info on allowlisting IPs for the Cloud Migration Assistant

* adjusting the wording

(cherry picked from commit 7cdd4470c6)

Co-authored-by: Jacob Valdez <jacob.valdez@grafana.com>
2025-06-16 13:39:09 -05:00
grafana-delivery-bot[bot]
9cb8cd3a08 [release-12.0.2] Docs: Document remote_cache is only used if a remote database is used (#106791)
Docs: Document `remote_cache` is only used if a remote database is used (#104779)

* Document `remote_cache` is only used if a remote database is used

* Update _index.md

---------


(cherry picked from commit 19a65a4865)

Co-authored-by: Mathias Petermann <mathias.petermann@gmail.com>
Co-authored-by: Jacob Valdez <jacob.valdez@grafana.com>
2025-06-16 11:47:19 -05:00
grafana-delivery-bot[bot]
9ed9daa02b [release-12.0.2] Update index.md (#106784)
Co-authored-by: brauhaus-grafana <daniel.brown@grafana.com>
2025-06-16 17:28:46 +02:00
grafana-delivery-bot[bot]
4682070384 [release-12.0.2] FlameGraph: Fix bug for function names that conflict with JavaScript object prototype properties (#106625)
FlameGraph: Fix bug for function names that conflict with JavaScript object prototype properties (#106338)

* grafana-flamegraph: Fix bug for function names that conflict with JavaScript object prototype properties

The bug occurs in the flamegraph data transformation logic where function names from profiling data are used as object
keys without proper prototype pollution protection.

Fixes #106232 #101551



* Fix top table calculations

---------



(cherry picked from commit 6156e9c2d8)

Co-authored-by: Christian Simon <simon@swine.de>
Co-authored-by: vinayteki95 <vinayteki95@users.noreply.github.com>
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
2025-06-16 13:30:46 +01:00
Christian Simon
6b963c16e2 [release-12.0.2] Profiles: Stop passing response headers for Grafana-Pyroscope and parca datasources (#106730)
Profiles: Stop passing response headers for Grafana-Pyroscope and parca datasources (#106577)

* Revert "pkgs/tsdb/[grafana-pyroscope-datasource|parca]: Fix use of request headers in responses"

This reverts commit 8bac68e906.

* Profiles: Stop passing request/response headers to the backend

(cherry picked from commit 8fdf86e56f)
(cherry picked from commit 7878815ffc)
2025-06-16 13:27:28 +01:00
grafana-delivery-bot[bot]
1dcb62d369 [release-12.0.2] docs(alerting): enhancements for MQTT docs (#106697)
Some checks failed
Backend Unit Tests / Grafana (1/8) (push) Has been cancelled
Backend Unit Tests / Grafana (2/8) (push) Has been cancelled
Backend Unit Tests / Grafana (3/8) (push) Has been cancelled
Backend Unit Tests / Grafana (4/8) (push) Has been cancelled
Backend Unit Tests / Grafana (5/8) (push) Has been cancelled
Backend Unit Tests / Grafana (6/8) (push) Has been cancelled
Backend Unit Tests / Grafana (7/8) (push) Has been cancelled
Backend Unit Tests / Grafana (8/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (1/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (2/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (3/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (4/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (5/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (6/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (7/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (8/8) (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (1/8) (push) Has been cancelled
Integration Tests / Sqlite (2/8) (push) Has been cancelled
Integration Tests / Sqlite (3/8) (push) Has been cancelled
Integration Tests / Sqlite (4/8) (push) Has been cancelled
Integration Tests / Sqlite (5/8) (push) Has been cancelled
Integration Tests / Sqlite (6/8) (push) Has been cancelled
Integration Tests / Sqlite (7/8) (push) Has been cancelled
Integration Tests / Sqlite (8/8) (push) Has been cancelled
Integration Tests / MySQL (1/8) (push) Has been cancelled
Integration Tests / MySQL (2/8) (push) Has been cancelled
Integration Tests / MySQL (3/8) (push) Has been cancelled
Integration Tests / MySQL (4/8) (push) Has been cancelled
Integration Tests / MySQL (5/8) (push) Has been cancelled
Integration Tests / MySQL (6/8) (push) Has been cancelled
Integration Tests / MySQL (7/8) (push) Has been cancelled
Integration Tests / MySQL (8/8) (push) Has been cancelled
Integration Tests / Postgres (1/8) (push) Has been cancelled
Integration Tests / Postgres (2/8) (push) Has been cancelled
Integration Tests / Postgres (3/8) (push) Has been cancelled
Integration Tests / Postgres (4/8) (push) Has been cancelled
Integration Tests / Postgres (5/8) (push) Has been cancelled
Integration Tests / Postgres (6/8) (push) Has been cancelled
Integration Tests / Postgres (7/8) (push) Has been cancelled
Integration Tests / Postgres (8/8) (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
docs(alerting): enhancements for MQTT docs (#106566)

* docs(alerting): enhancements for MQTT docs

* Update docs/sources/alerting/configure-notifications/manage-contact-points/integrations/configure-mqtt.md



---------


(cherry picked from commit 493e7ba75f)

Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com>
Co-authored-by: Simon Prickett <simon@crudworks.org>
2025-06-13 10:35:34 +02:00
Josh Hunt
03e074dc23 [release-12.0.2] Provisioning: Move OSS provisioning to Run step (#106674)
Provisioning: Move OSS provisioning to Run step (#105428)

* Provisioning: Move OSS provisioning to Run step



---------


(cherry picked from commit 1435eedbc4)

Signed-off-by: Maicon Costa <maiconscosta@gmail.com>
Co-authored-by: maicon <maiconscosta@gmail.com>
2025-06-13 07:03:44 +01:00
Josh Hunt
d7f26a5b8c [release-12.0.2] Run Init Provisioners at Server Initialization (#106646)
Some checks failed
Backend Unit Tests / Grafana (1/8) (push) Has been cancelled
Backend Unit Tests / Grafana (2/8) (push) Has been cancelled
Backend Unit Tests / Grafana (3/8) (push) Has been cancelled
Backend Unit Tests / Grafana (4/8) (push) Has been cancelled
Backend Unit Tests / Grafana (5/8) (push) Has been cancelled
Backend Unit Tests / Grafana (6/8) (push) Has been cancelled
Backend Unit Tests / Grafana (7/8) (push) Has been cancelled
Backend Unit Tests / Grafana (8/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (1/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (2/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (3/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (4/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (5/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (6/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (7/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (8/8) (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (1/8) (push) Has been cancelled
Integration Tests / Sqlite (2/8) (push) Has been cancelled
Integration Tests / Sqlite (3/8) (push) Has been cancelled
Integration Tests / Sqlite (4/8) (push) Has been cancelled
Integration Tests / Sqlite (5/8) (push) Has been cancelled
Integration Tests / Sqlite (6/8) (push) Has been cancelled
Integration Tests / Sqlite (7/8) (push) Has been cancelled
Integration Tests / Sqlite (8/8) (push) Has been cancelled
Integration Tests / MySQL (1/8) (push) Has been cancelled
Integration Tests / MySQL (2/8) (push) Has been cancelled
Integration Tests / MySQL (3/8) (push) Has been cancelled
Integration Tests / MySQL (4/8) (push) Has been cancelled
Integration Tests / MySQL (5/8) (push) Has been cancelled
Integration Tests / MySQL (6/8) (push) Has been cancelled
Integration Tests / MySQL (7/8) (push) Has been cancelled
Integration Tests / MySQL (8/8) (push) Has been cancelled
Integration Tests / Postgres (1/8) (push) Has been cancelled
Integration Tests / Postgres (2/8) (push) Has been cancelled
Integration Tests / Postgres (3/8) (push) Has been cancelled
Integration Tests / Postgres (4/8) (push) Has been cancelled
Integration Tests / Postgres (5/8) (push) Has been cancelled
Integration Tests / Postgres (6/8) (push) Has been cancelled
Integration Tests / Postgres (7/8) (push) Has been cancelled
Integration Tests / Postgres (8/8) (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
Run Init Provisioners at Server Initialization (#105080)

* Run Init Provisioners at Server Initialization



---------


(cherry picked from commit 82bbbf1a98)

Signed-off-by: Maicon Costa <maiconscosta@gmail.com>
Co-authored-by: maicon <maiconscosta@gmail.com>
2025-06-12 21:32:29 +01:00
Drew Slobodnjak
be31ef48ce [release-12.0.2] Geomap: Require layer to have data for legend (#105580) (#106226)
* Geomap: Require layer to have data for legend (#105580)

(cherry picked from commit 16a6d61ca7)

* Remove test for non-existent function

* Remove unused import
2025-06-12 13:20:29 -07:00
grafana-delivery-bot[bot]
2990111377 [release-12.0.2] Partner: Add PRs to project (#106654)
Partner: Add PRs to project (#106641)

Add PRs to project

(cherry picked from commit 45b92f2a98)

Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
2025-06-12 18:47:46 +02:00
grafana-delivery-bot[bot]
75aa47e043 [release-12.0.2] Docs: adding information on adjusting short link expiration time in Grafana cloud (#106650)
Docs: adding information on adjusting short link expiration time in Grafana cloud (#106112)

* Docs: adding information on adjusting short link expiration time in Grafana cloud

* changing admonition and adding info on changing config for cloud

* adjusting wording

* fixing typo

* Update docs/sources/setup-grafana/configure-grafana/_index.md



---------


(cherry picked from commit f02ad33fd2)

Co-authored-by: Jacob Valdez <jacob.valdez@grafana.com>
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
2025-06-12 17:55:05 +02:00
grafana-delivery-bot[bot]
100068fdb2 [release-12.0.2] CloudMigrations: Omit autoincremented id for alert snapshots (#106639)
CloudMigrations: Omit autoincremented id for alert snapshots (#106598)

If you tried to migrate alerts from two differente sources/on-prem instances,
the autoincremented numeric id would be the same, and since we were creating
the resource in cloud with that same id (the API accepts it), it would
return an error "conflicting alert rule found" because that id is the primary key on the table.

We simply omit the numeric id now and let the API for the cloud instance generate it.

(cherry picked from commit a1f2693fd8)

Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com>
2025-06-12 17:18:41 +02:00
grafana-delivery-bot[bot]
cadc586916 [release-12.0.2] Docs: Update experimental note to include feature flag (#106640)
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
2025-06-12 11:05:12 -04:00
Matheus Macabu
25b41aabd5 [release-12.0.2] Chore: Address linting issues to unblock CI (#106610)
Chore: Address linting issues to unblock CI
2025-06-12 16:01:28 +02:00
Ida Štambuk
6cb121d4e8 [release-12.0.2] Dashboard: Support TemplateSrv.containsTemplate in scenes context (#106535)
Some checks failed
Backend Unit Tests / Grafana (1/8) (push) Has been cancelled
Backend Unit Tests / Grafana (2/8) (push) Has been cancelled
Backend Unit Tests / Grafana (3/8) (push) Has been cancelled
Backend Unit Tests / Grafana (4/8) (push) Has been cancelled
Backend Unit Tests / Grafana (5/8) (push) Has been cancelled
Backend Unit Tests / Grafana (6/8) (push) Has been cancelled
Backend Unit Tests / Grafana (7/8) (push) Has been cancelled
Backend Unit Tests / Grafana (8/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (1/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (2/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (3/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (4/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (5/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (6/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (7/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (8/8) (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (1/8) (push) Has been cancelled
Integration Tests / Sqlite (2/8) (push) Has been cancelled
Integration Tests / Sqlite (3/8) (push) Has been cancelled
Integration Tests / Sqlite (4/8) (push) Has been cancelled
Integration Tests / Sqlite (5/8) (push) Has been cancelled
Integration Tests / Sqlite (6/8) (push) Has been cancelled
Integration Tests / Sqlite (7/8) (push) Has been cancelled
Integration Tests / Sqlite (8/8) (push) Has been cancelled
Integration Tests / MySQL (1/8) (push) Has been cancelled
Integration Tests / MySQL (2/8) (push) Has been cancelled
Integration Tests / MySQL (3/8) (push) Has been cancelled
Integration Tests / MySQL (4/8) (push) Has been cancelled
Integration Tests / MySQL (5/8) (push) Has been cancelled
Integration Tests / MySQL (6/8) (push) Has been cancelled
Integration Tests / MySQL (7/8) (push) Has been cancelled
Integration Tests / MySQL (8/8) (push) Has been cancelled
Integration Tests / Postgres (1/8) (push) Has been cancelled
Integration Tests / Postgres (2/8) (push) Has been cancelled
Integration Tests / Postgres (3/8) (push) Has been cancelled
Integration Tests / Postgres (4/8) (push) Has been cancelled
Integration Tests / Postgres (5/8) (push) Has been cancelled
Integration Tests / Postgres (6/8) (push) Has been cancelled
Integration Tests / Postgres (7/8) (push) Has been cancelled
Integration Tests / Postgres (8/8) (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
Dashboard: Support TemplateSrv.containsTemplate in scenes context (#104072)

(cherry picked from commit 82184686dc)

Co-authored-by: Haris Rozajac <58232930+harisrozajac@users.noreply.github.com>
2025-06-12 12:42:06 +02:00
Andreas Christou
3df3c4b650 [release-12.0.2] Azure: Improved identification of Application Insights resouces (#106570)
* Azure: Improved identification of Application Insights resouces (#106281)

Compare namespace to lowercase URL

(cherry picked from commit e4c9d10bfb)

* Fix feature toggle docs

* Oops
2025-06-12 11:19:35 +01:00
Matheus Macabu
5739be39a4 [release-12.0.2] Dependencies: Bump Go to v1.24.4 (#106565)
Some checks failed
Backend Unit Tests / Grafana (1/8) (push) Has been cancelled
Backend Unit Tests / Grafana (2/8) (push) Has been cancelled
Backend Unit Tests / Grafana (3/8) (push) Has been cancelled
Backend Unit Tests / Grafana (4/8) (push) Has been cancelled
Backend Unit Tests / Grafana (5/8) (push) Has been cancelled
Backend Unit Tests / Grafana (6/8) (push) Has been cancelled
Backend Unit Tests / Grafana (7/8) (push) Has been cancelled
Backend Unit Tests / Grafana (8/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (1/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (2/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (3/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (4/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (5/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (6/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (7/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (8/8) (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (1/8) (push) Has been cancelled
Integration Tests / Sqlite (2/8) (push) Has been cancelled
Integration Tests / Sqlite (3/8) (push) Has been cancelled
Integration Tests / Sqlite (4/8) (push) Has been cancelled
Integration Tests / Sqlite (5/8) (push) Has been cancelled
Integration Tests / Sqlite (6/8) (push) Has been cancelled
Integration Tests / Sqlite (7/8) (push) Has been cancelled
Integration Tests / Sqlite (8/8) (push) Has been cancelled
Integration Tests / MySQL (1/8) (push) Has been cancelled
Integration Tests / MySQL (2/8) (push) Has been cancelled
Integration Tests / MySQL (3/8) (push) Has been cancelled
Integration Tests / MySQL (4/8) (push) Has been cancelled
Integration Tests / MySQL (5/8) (push) Has been cancelled
Integration Tests / MySQL (6/8) (push) Has been cancelled
Integration Tests / MySQL (7/8) (push) Has been cancelled
Integration Tests / MySQL (8/8) (push) Has been cancelled
Integration Tests / Postgres (1/8) (push) Has been cancelled
Integration Tests / Postgres (2/8) (push) Has been cancelled
Integration Tests / Postgres (3/8) (push) Has been cancelled
Integration Tests / Postgres (4/8) (push) Has been cancelled
Integration Tests / Postgres (5/8) (push) Has been cancelled
Integration Tests / Postgres (6/8) (push) Has been cancelled
Integration Tests / Postgres (7/8) (push) Has been cancelled
Integration Tests / Postgres (8/8) (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
* Dependencies: Bump Go to v1.24.4

* Chore: Fix feature flags template for docs gen

(cherry picked from commit cfee3b01df)

---------

Co-authored-by: Tania B. <10127682+undef1nd@users.noreply.github.com>
2025-06-11 18:34:48 +02:00
grafana-delivery-bot[bot]
06ea09bb6c [release-12.0.2] Docs: Fix missing link for OTEL in Grafana's about page (#106572)
Co-authored-by: mihaelmiklec <mihael.miklec1@gmail.com>
Co-authored-by: Irene Rodriguez <irene.rodriguez@grafana.com>
Fix missing link for OTEL in Grafana's about page (#106324)
2025-06-11 17:22:58 +02:00
grafana-delivery-bot[bot]
fc19b95d23 [release-12.0.2] Docs: Adding clarification for resetting admin password (#106559)
Docs: Adding clarification for resetting admin password (#106108)

* Docs: Adding clarification for resetting adming password with CLI with external DB

* adjusting bulleted points

* Cutting unneeded wording

* adjusting wording to avoid Grafana being possessive

* Changing Postgres to PostgreSPQL

(cherry picked from commit 3c6146fd95)

Co-authored-by: Jacob Valdez <jacob.valdez@grafana.com>
2025-06-11 16:08:06 +02:00
grafana-delivery-bot[bot]
40ee9e10e2 [release-12.0.2] Azure: Fix Application Insights metadata requests (#105838)
Azure: Fix Application Insights metadata requests (#105614)

* Fix App insights metadata requests

- Correctly handle error responses

* Fix linting and always log the error message

* More lint

(cherry picked from commit 844c854d75)

Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
2025-06-11 15:48:08 +02:00
grafana-delivery-bot[bot]
62c8b3e771 [release-12.0.2] Docs: Update experimental note (#106543)
Some checks failed
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (1/8) (push) Has been cancelled
Integration Tests / Sqlite (2/8) (push) Has been cancelled
Integration Tests / Sqlite (3/8) (push) Has been cancelled
Integration Tests / Sqlite (4/8) (push) Has been cancelled
Integration Tests / Sqlite (5/8) (push) Has been cancelled
Integration Tests / Sqlite (6/8) (push) Has been cancelled
Integration Tests / Sqlite (7/8) (push) Has been cancelled
Integration Tests / Sqlite (8/8) (push) Has been cancelled
Integration Tests / MySQL (1/8) (push) Has been cancelled
Integration Tests / MySQL (2/8) (push) Has been cancelled
Integration Tests / MySQL (3/8) (push) Has been cancelled
Integration Tests / MySQL (4/8) (push) Has been cancelled
Integration Tests / MySQL (5/8) (push) Has been cancelled
Integration Tests / MySQL (6/8) (push) Has been cancelled
Integration Tests / MySQL (7/8) (push) Has been cancelled
Integration Tests / MySQL (8/8) (push) Has been cancelled
Integration Tests / Postgres (1/8) (push) Has been cancelled
Integration Tests / Postgres (2/8) (push) Has been cancelled
Integration Tests / Postgres (3/8) (push) Has been cancelled
Integration Tests / Postgres (4/8) (push) Has been cancelled
Integration Tests / Postgres (5/8) (push) Has been cancelled
Integration Tests / Postgres (6/8) (push) Has been cancelled
Integration Tests / Postgres (7/8) (push) Has been cancelled
Integration Tests / Postgres (8/8) (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
2025-06-11 07:06:21 -04:00
grafana-delivery-bot[bot]
03b515d4d4 [release-12.0.2] Chore: Also add +security branches on release-comms PR (#106512)
Some checks failed
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (1/8) (push) Has been cancelled
Integration Tests / Sqlite (2/8) (push) Has been cancelled
Integration Tests / Sqlite (3/8) (push) Has been cancelled
Integration Tests / Sqlite (4/8) (push) Has been cancelled
Integration Tests / Sqlite (5/8) (push) Has been cancelled
Integration Tests / Sqlite (6/8) (push) Has been cancelled
Integration Tests / Sqlite (7/8) (push) Has been cancelled
Integration Tests / Sqlite (8/8) (push) Has been cancelled
Integration Tests / MySQL (1/8) (push) Has been cancelled
Integration Tests / MySQL (2/8) (push) Has been cancelled
Integration Tests / MySQL (3/8) (push) Has been cancelled
Integration Tests / MySQL (4/8) (push) Has been cancelled
Integration Tests / MySQL (5/8) (push) Has been cancelled
Integration Tests / MySQL (6/8) (push) Has been cancelled
Integration Tests / MySQL (7/8) (push) Has been cancelled
Integration Tests / MySQL (8/8) (push) Has been cancelled
Integration Tests / Postgres (1/8) (push) Has been cancelled
Integration Tests / Postgres (2/8) (push) Has been cancelled
Integration Tests / Postgres (3/8) (push) Has been cancelled
Integration Tests / Postgres (4/8) (push) Has been cancelled
Integration Tests / Postgres (5/8) (push) Has been cancelled
Integration Tests / Postgres (6/8) (push) Has been cancelled
Integration Tests / Postgres (7/8) (push) Has been cancelled
Integration Tests / Postgres (8/8) (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
Backend Unit Tests / Grafana (1/8) (push) Has been cancelled
Backend Unit Tests / Grafana (2/8) (push) Has been cancelled
Backend Unit Tests / Grafana (3/8) (push) Has been cancelled
Backend Unit Tests / Grafana (4/8) (push) Has been cancelled
Backend Unit Tests / Grafana (5/8) (push) Has been cancelled
Backend Unit Tests / Grafana (6/8) (push) Has been cancelled
Backend Unit Tests / Grafana (7/8) (push) Has been cancelled
Backend Unit Tests / Grafana (8/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (1/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (2/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (3/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (4/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (5/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (6/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (7/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (8/8) (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
Chore: Also add `+security` branches on release-comms PR (#105689)

* baldm0mma/ add create-security-branch.yml and update release-comms

* baldm0mma/ update target repo

* baldm0mma/ add enterprise

* baldm0mma/ update naming

* baldm0mma/ update descriptions

* baldm0mma/ use go action

* baldm0mma/ add dispatch

* baldm0mma/ update codwowners

* baldm0mma/ remove old oush step

* baldm0mma/ update to pass branch, not version

* baldm0mma/ add create-security-branch script

* baldm0mma/ move script

* baldm0mma/ update codeowners

* Revert "baldm0mma/ update codeowners"

This reverts commit a68531c62e.

* baldm0mma/ add script to codeowners

* baldm0mma/ alphabetize workflows and templates

* baldm0mma/ update script path

* baldm0mma/ add push conditions

* baldm0mma/ remove trigger

* baldm0mma/ update codeowners

(cherry picked from commit 82d271051a)

Co-authored-by: Jev Forsberg <46619047+baldm0mma@users.noreply.github.com>
2025-06-10 17:06:15 -06:00
grafana-delivery-bot[bot]
a924431998 [release-12.0.2] Docs: Remove the Feature Toggles administration docs page (#106506)
Some checks failed
Backend Unit Tests / Grafana (1/8) (push) Has been cancelled
Backend Unit Tests / Grafana (2/8) (push) Has been cancelled
Backend Unit Tests / Grafana (3/8) (push) Has been cancelled
Backend Unit Tests / Grafana (4/8) (push) Has been cancelled
Backend Unit Tests / Grafana (5/8) (push) Has been cancelled
Backend Unit Tests / Grafana (6/8) (push) Has been cancelled
Backend Unit Tests / Grafana (7/8) (push) Has been cancelled
Backend Unit Tests / Grafana (8/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (1/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (2/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (3/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (4/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (5/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (6/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (7/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (8/8) (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (1/8) (push) Has been cancelled
Integration Tests / Sqlite (2/8) (push) Has been cancelled
Integration Tests / Sqlite (3/8) (push) Has been cancelled
Integration Tests / Sqlite (4/8) (push) Has been cancelled
Integration Tests / Sqlite (5/8) (push) Has been cancelled
Integration Tests / Sqlite (6/8) (push) Has been cancelled
Integration Tests / Sqlite (7/8) (push) Has been cancelled
Integration Tests / Sqlite (8/8) (push) Has been cancelled
Integration Tests / MySQL (1/8) (push) Has been cancelled
Integration Tests / MySQL (2/8) (push) Has been cancelled
Integration Tests / MySQL (3/8) (push) Has been cancelled
Integration Tests / MySQL (4/8) (push) Has been cancelled
Integration Tests / MySQL (5/8) (push) Has been cancelled
Integration Tests / MySQL (6/8) (push) Has been cancelled
Integration Tests / MySQL (7/8) (push) Has been cancelled
Integration Tests / MySQL (8/8) (push) Has been cancelled
Integration Tests / Postgres (1/8) (push) Has been cancelled
Integration Tests / Postgres (2/8) (push) Has been cancelled
Integration Tests / Postgres (3/8) (push) Has been cancelled
Integration Tests / Postgres (4/8) (push) Has been cancelled
Integration Tests / Postgres (5/8) (push) Has been cancelled
Integration Tests / Postgres (6/8) (push) Has been cancelled
Integration Tests / Postgres (7/8) (push) Has been cancelled
Integration Tests / Postgres (8/8) (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
Docs: Remove the Feature Toggles administration docs page (#106455)

* Docs: Remove the Feature Toggles administration page

* adding alias to remaining feature toggle page to redirect from deleted page

(cherry picked from commit e9b5ed6d4f)

Co-authored-by: Jacob Valdez <jacob.valdez@grafana.com>
2025-06-10 20:49:02 +02:00
grafana-delivery-bot[bot]
675172ec54 [release-12.0.2] docs(alerting): Add Tutorials directory page under Best Practices (#106494)
docs(alerting): Add Tutorials directory page under Best Practices (#106159)

* docs(alerting): Add Tutorials directoy page under Best Practices

* run prettier

* Include latest tutorials

* fix tutorial list

(cherry picked from commit 79ff67268f)

Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com>
2025-06-10 18:26:38 +02:00
grafana-delivery-bot[bot]
f593454e54 [release-12.0.2] Alerting: Provisioning API returns 403 on quota exceeded for rule group PUT (#106477)
Alerting: Provisioning API returns 403 on quota exceeded for rule group PUT (#106409)

(cherry picked from commit 1df888c517)

Co-authored-by: Vadim Stepanov <vstpme@gmail.com>
2025-06-10 15:27:54 +01:00
grafana-delivery-bot[bot]
c3ffd59702 [release-12.0.2] Org: Fix org deletion (#106461)
Some checks failed
Backend Unit Tests / Grafana (1/8) (push) Has been cancelled
Backend Unit Tests / Grafana (2/8) (push) Has been cancelled
Backend Unit Tests / Grafana (3/8) (push) Has been cancelled
Backend Unit Tests / Grafana (4/8) (push) Has been cancelled
Backend Unit Tests / Grafana (5/8) (push) Has been cancelled
Backend Unit Tests / Grafana (6/8) (push) Has been cancelled
Backend Unit Tests / Grafana (7/8) (push) Has been cancelled
Backend Unit Tests / Grafana (8/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (1/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (2/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (3/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (4/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (5/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (6/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (7/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (8/8) (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (1/8) (push) Has been cancelled
Integration Tests / Sqlite (2/8) (push) Has been cancelled
Integration Tests / Sqlite (3/8) (push) Has been cancelled
Integration Tests / Sqlite (4/8) (push) Has been cancelled
Integration Tests / Sqlite (5/8) (push) Has been cancelled
Integration Tests / Sqlite (6/8) (push) Has been cancelled
Integration Tests / Sqlite (7/8) (push) Has been cancelled
Integration Tests / Sqlite (8/8) (push) Has been cancelled
Integration Tests / MySQL (1/8) (push) Has been cancelled
Integration Tests / MySQL (2/8) (push) Has been cancelled
Integration Tests / MySQL (3/8) (push) Has been cancelled
Integration Tests / MySQL (4/8) (push) Has been cancelled
Integration Tests / MySQL (5/8) (push) Has been cancelled
Integration Tests / MySQL (6/8) (push) Has been cancelled
Integration Tests / MySQL (7/8) (push) Has been cancelled
Integration Tests / MySQL (8/8) (push) Has been cancelled
Integration Tests / Postgres (1/8) (push) Has been cancelled
Integration Tests / Postgres (2/8) (push) Has been cancelled
Integration Tests / Postgres (3/8) (push) Has been cancelled
Integration Tests / Postgres (4/8) (push) Has been cancelled
Integration Tests / Postgres (5/8) (push) Has been cancelled
Integration Tests / Postgres (6/8) (push) Has been cancelled
Integration Tests / Postgres (7/8) (push) Has been cancelled
Integration Tests / Postgres (8/8) (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
Org: Fix org deletion (#106193)

(cherry picked from commit 5303a1cc7e)

Co-authored-by: Stephanie Hingtgen <stephanie.hingtgen@grafana.com>
2025-06-10 03:53:34 +02:00
grafana-delivery-bot[bot]
b2712d5086 [release-12.0.2] Removes Feature Management Section (#106457)
Removes Feature Management Section (#105766)

Update _index.md

Feature Toggles page has been removed.

Recommending to remove this from our docs

(cherry picked from commit 219461a58d)

Co-authored-by: andrewthomas92 <97256915+andrewthomas92@users.noreply.github.com>
2025-06-09 16:40:08 -05:00
grafana-delivery-bot[bot]
a9012e0444 [release-12.0.2] docs(alerting): add a short new guideline for handling NoData scenarios. (#106413)
Some checks failed
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (1/8) (push) Has been cancelled
Integration Tests / Sqlite (2/8) (push) Has been cancelled
Integration Tests / Sqlite (3/8) (push) Has been cancelled
Integration Tests / Sqlite (4/8) (push) Has been cancelled
Integration Tests / Sqlite (5/8) (push) Has been cancelled
Integration Tests / Sqlite (6/8) (push) Has been cancelled
Integration Tests / Sqlite (7/8) (push) Has been cancelled
Integration Tests / Sqlite (8/8) (push) Has been cancelled
Integration Tests / MySQL (1/8) (push) Has been cancelled
Integration Tests / MySQL (2/8) (push) Has been cancelled
Integration Tests / MySQL (3/8) (push) Has been cancelled
Integration Tests / MySQL (4/8) (push) Has been cancelled
Integration Tests / MySQL (5/8) (push) Has been cancelled
Integration Tests / MySQL (6/8) (push) Has been cancelled
Integration Tests / MySQL (7/8) (push) Has been cancelled
Integration Tests / MySQL (8/8) (push) Has been cancelled
Integration Tests / Postgres (1/8) (push) Has been cancelled
Integration Tests / Postgres (2/8) (push) Has been cancelled
Integration Tests / Postgres (3/8) (push) Has been cancelled
Integration Tests / Postgres (4/8) (push) Has been cancelled
Integration Tests / Postgres (5/8) (push) Has been cancelled
Integration Tests / Postgres (6/8) (push) Has been cancelled
Integration Tests / Postgres (7/8) (push) Has been cancelled
Integration Tests / Postgres (8/8) (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
docs(alerting): add a short new guideline for handling NoData scenarios. (#106412)

docs(alerting): add consideration for handling NoData scenarios

(cherry picked from commit 0d0aa35ba7)

Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com>
2025-06-06 21:26:22 +02:00
Alexander Akhmetov
c53915cb87 [release-12.0.2] Alerting: Fix group-level labels and query_offset in the import API (#106392)
Some checks failed
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (1/8) (push) Has been cancelled
Integration Tests / Sqlite (2/8) (push) Has been cancelled
Integration Tests / Sqlite (3/8) (push) Has been cancelled
Integration Tests / Sqlite (4/8) (push) Has been cancelled
Integration Tests / Sqlite (5/8) (push) Has been cancelled
Integration Tests / Sqlite (6/8) (push) Has been cancelled
Integration Tests / Sqlite (7/8) (push) Has been cancelled
Integration Tests / Sqlite (8/8) (push) Has been cancelled
Integration Tests / MySQL (1/8) (push) Has been cancelled
Integration Tests / MySQL (2/8) (push) Has been cancelled
Integration Tests / MySQL (3/8) (push) Has been cancelled
Integration Tests / MySQL (4/8) (push) Has been cancelled
Integration Tests / MySQL (5/8) (push) Has been cancelled
Integration Tests / MySQL (6/8) (push) Has been cancelled
Integration Tests / MySQL (7/8) (push) Has been cancelled
Integration Tests / MySQL (8/8) (push) Has been cancelled
Integration Tests / Postgres (1/8) (push) Has been cancelled
Integration Tests / Postgres (2/8) (push) Has been cancelled
Integration Tests / Postgres (3/8) (push) Has been cancelled
Integration Tests / Postgres (4/8) (push) Has been cancelled
Integration Tests / Postgres (5/8) (push) Has been cancelled
Integration Tests / Postgres (6/8) (push) Has been cancelled
Integration Tests / Postgres (7/8) (push) Has been cancelled
Integration Tests / Postgres (8/8) (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
Backend Unit Tests / Grafana (1/8) (push) Has been cancelled
Backend Unit Tests / Grafana (2/8) (push) Has been cancelled
Backend Unit Tests / Grafana (3/8) (push) Has been cancelled
Backend Unit Tests / Grafana (4/8) (push) Has been cancelled
Backend Unit Tests / Grafana (5/8) (push) Has been cancelled
Backend Unit Tests / Grafana (6/8) (push) Has been cancelled
Backend Unit Tests / Grafana (7/8) (push) Has been cancelled
Backend Unit Tests / Grafana (8/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (1/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (2/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (3/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (4/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (5/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (6/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (7/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (8/8) (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
Alerting: Fix group-level labels and query_offset in the import API (#106379)

What is this feature?

Fixes a bug when group-level query_offset and labels parameters are ignored and not saved

Why do we need this feature?

In the import API Prometheus YAML rule definitions are supported:

groups:
  - name: group-1
    interval: 1m
    query_offset: 10m
    labels:
      severity: "warning"
    rules:
      - alert: Alert 0 > 0
        expr: vector(0) > 0

But applying group-level labels and query_offset is broken and they are not saved right now because during the conversion of the API model to PrometheusRuleGroup they aren't saved to the new structure.

(cherry picked from commit f7a52bc04e)
2025-06-06 12:04:17 +02:00
grafana-delivery-bot[bot]
d6b7bb6759 [release-12.0.2] docs(alerting): updates Missing series evaluations to resolve option (#106352)
Some checks failed
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (1/8) (push) Has been cancelled
Integration Tests / Sqlite (2/8) (push) Has been cancelled
Integration Tests / Sqlite (3/8) (push) Has been cancelled
Integration Tests / Sqlite (4/8) (push) Has been cancelled
Integration Tests / Sqlite (5/8) (push) Has been cancelled
Integration Tests / Sqlite (6/8) (push) Has been cancelled
Integration Tests / Sqlite (7/8) (push) Has been cancelled
Integration Tests / Sqlite (8/8) (push) Has been cancelled
Integration Tests / MySQL (1/8) (push) Has been cancelled
Integration Tests / MySQL (2/8) (push) Has been cancelled
Integration Tests / MySQL (3/8) (push) Has been cancelled
Integration Tests / MySQL (4/8) (push) Has been cancelled
Integration Tests / MySQL (5/8) (push) Has been cancelled
Integration Tests / MySQL (6/8) (push) Has been cancelled
Integration Tests / MySQL (7/8) (push) Has been cancelled
Integration Tests / MySQL (8/8) (push) Has been cancelled
Integration Tests / Postgres (1/8) (push) Has been cancelled
Integration Tests / Postgres (2/8) (push) Has been cancelled
Integration Tests / Postgres (3/8) (push) Has been cancelled
Integration Tests / Postgres (4/8) (push) Has been cancelled
Integration Tests / Postgres (5/8) (push) Has been cancelled
Integration Tests / Postgres (6/8) (push) Has been cancelled
Integration Tests / Postgres (7/8) (push) Has been cancelled
Integration Tests / Postgres (8/8) (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
docs(alerting): updates Missing series evaluations to resolve option (#106319)

docs(alerting): correct detailed process of the missingSeriesToEval option

(cherry picked from commit be8d153dc3)

Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com>
2025-06-05 00:16:23 +02:00
grafana-delivery-bot[bot]
1475ac930c [release-12.0.2] [docs] Update broken links in SCIM provisioning documentation (#106300)
Some checks failed
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (1/8) (push) Has been cancelled
Integration Tests / Sqlite (2/8) (push) Has been cancelled
Integration Tests / Sqlite (3/8) (push) Has been cancelled
Integration Tests / Sqlite (4/8) (push) Has been cancelled
Integration Tests / Sqlite (5/8) (push) Has been cancelled
Integration Tests / Sqlite (6/8) (push) Has been cancelled
Integration Tests / Sqlite (7/8) (push) Has been cancelled
Integration Tests / Sqlite (8/8) (push) Has been cancelled
Integration Tests / MySQL (1/8) (push) Has been cancelled
Integration Tests / MySQL (2/8) (push) Has been cancelled
Integration Tests / MySQL (3/8) (push) Has been cancelled
Integration Tests / MySQL (4/8) (push) Has been cancelled
Integration Tests / MySQL (5/8) (push) Has been cancelled
Integration Tests / MySQL (6/8) (push) Has been cancelled
Integration Tests / MySQL (7/8) (push) Has been cancelled
Integration Tests / MySQL (8/8) (push) Has been cancelled
Integration Tests / Postgres (1/8) (push) Has been cancelled
Integration Tests / Postgres (2/8) (push) Has been cancelled
Integration Tests / Postgres (3/8) (push) Has been cancelled
Integration Tests / Postgres (4/8) (push) Has been cancelled
Integration Tests / Postgres (5/8) (push) Has been cancelled
Integration Tests / Postgres (6/8) (push) Has been cancelled
Integration Tests / Postgres (7/8) (push) Has been cancelled
Integration Tests / Postgres (8/8) (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
Co-authored-by: Tiffany Hrabusa <30397949+tiffany76@users.noreply.github.com>
2025-06-04 09:39:20 +02:00
Pepe Cano
febbfb1902 [release-12.0.2] docs(alerting): new notification template example: link to a dashboard with time range (#106292)
Some checks failed
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (1/8) (push) Has been cancelled
Integration Tests / Sqlite (2/8) (push) Has been cancelled
Integration Tests / Sqlite (3/8) (push) Has been cancelled
Integration Tests / Sqlite (4/8) (push) Has been cancelled
Integration Tests / Sqlite (5/8) (push) Has been cancelled
Integration Tests / Sqlite (6/8) (push) Has been cancelled
Integration Tests / Sqlite (7/8) (push) Has been cancelled
Integration Tests / Sqlite (8/8) (push) Has been cancelled
Integration Tests / MySQL (1/8) (push) Has been cancelled
Integration Tests / MySQL (2/8) (push) Has been cancelled
Integration Tests / MySQL (3/8) (push) Has been cancelled
Integration Tests / MySQL (4/8) (push) Has been cancelled
Integration Tests / MySQL (5/8) (push) Has been cancelled
Integration Tests / MySQL (6/8) (push) Has been cancelled
Integration Tests / MySQL (7/8) (push) Has been cancelled
Integration Tests / MySQL (8/8) (push) Has been cancelled
Integration Tests / Postgres (1/8) (push) Has been cancelled
Integration Tests / Postgres (2/8) (push) Has been cancelled
Integration Tests / Postgres (3/8) (push) Has been cancelled
Integration Tests / Postgres (4/8) (push) Has been cancelled
Integration Tests / Postgres (5/8) (push) Has been cancelled
Integration Tests / Postgres (6/8) (push) Has been cancelled
Integration Tests / Postgres (7/8) (push) Has been cancelled
Integration Tests / Postgres (8/8) (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
Backend Unit Tests / Grafana (1/8) (push) Has been cancelled
Backend Unit Tests / Grafana (2/8) (push) Has been cancelled
Backend Unit Tests / Grafana (3/8) (push) Has been cancelled
Backend Unit Tests / Grafana (4/8) (push) Has been cancelled
Backend Unit Tests / Grafana (5/8) (push) Has been cancelled
Backend Unit Tests / Grafana (6/8) (push) Has been cancelled
Backend Unit Tests / Grafana (7/8) (push) Has been cancelled
Backend Unit Tests / Grafana (8/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (1/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (2/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (3/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (4/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (5/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (6/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (7/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (8/8) (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
docs(alerting): new notification template example: link to a dashboard with time range (#106254)

* docs(alerting): new notification template example: link to a dashboard with time range

* remind configuring the `MyDashboardURL` annotation

* Update docs/sources/alerting/configure-notifications/template-notifications/examples.md



---------


(cherry picked from commit f36d5c5206)

Co-authored-by: Matthew Jacobson <matthew.jacobson@grafana.com>
2025-06-03 17:46:11 +02:00
grafana-delivery-bot[bot]
2a102f5b98 [release-12.0.2] docs(alerting): updates link to outdated tutorial (#106290)
docs(alerting): updates link to outdated tutorial (#106178)

* docs(alerting): remove admonition to an outdated tutorial

* amended note and link to new tutorial

* link

* minor copy changes

* run prettier

* update copy

---------


(cherry picked from commit cce28ec351)

Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com>
Co-authored-by: tonypowa <tonypowa@gmail.com>
2025-06-03 16:41:13 +02:00
grafana-delivery-bot[bot]
94ee07eebf [release-12.0.2] SCIM: Change SCIM hook registration (#106255)
SCIM: Change SCIM hook registration (#106200)

* Add function to skip provisioning hook

* Rework provisioning hook to PostLoginHook

* Revert back to PostAuthHook and remove unused tests

* Fix tests

(cherry picked from commit 374bd5bec7)

Co-authored-by: linoman <2051016+linoman@users.noreply.github.com>
2025-06-03 12:48:42 +02:00
grafana-delivery-bot[bot]
9ca8c572e3 [release-12.0.2] docs: remove deprecation notice on Grafonnet (#106258)
Some checks failed
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (1/8) (push) Has been cancelled
Integration Tests / Sqlite (2/8) (push) Has been cancelled
Integration Tests / Sqlite (3/8) (push) Has been cancelled
Integration Tests / Sqlite (4/8) (push) Has been cancelled
Integration Tests / Sqlite (5/8) (push) Has been cancelled
Integration Tests / Sqlite (6/8) (push) Has been cancelled
Integration Tests / Sqlite (7/8) (push) Has been cancelled
Integration Tests / Sqlite (8/8) (push) Has been cancelled
Integration Tests / MySQL (1/8) (push) Has been cancelled
Integration Tests / MySQL (2/8) (push) Has been cancelled
Integration Tests / MySQL (3/8) (push) Has been cancelled
Integration Tests / MySQL (4/8) (push) Has been cancelled
Integration Tests / MySQL (5/8) (push) Has been cancelled
Integration Tests / MySQL (6/8) (push) Has been cancelled
Integration Tests / MySQL (7/8) (push) Has been cancelled
Integration Tests / MySQL (8/8) (push) Has been cancelled
Integration Tests / Postgres (1/8) (push) Has been cancelled
Integration Tests / Postgres (2/8) (push) Has been cancelled
Integration Tests / Postgres (3/8) (push) Has been cancelled
Integration Tests / Postgres (4/8) (push) Has been cancelled
Integration Tests / Postgres (5/8) (push) Has been cancelled
Integration Tests / Postgres (6/8) (push) Has been cancelled
Integration Tests / Postgres (7/8) (push) Has been cancelled
Integration Tests / Postgres (8/8) (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
docs: remove deprecation notice on Grafonnet (#106257)

(cherry picked from commit eff86c6684)

Co-authored-by: Jeroen Op 't Eynde <jeroen@simplistic.be>
2025-06-02 15:15:39 +02:00
grafana-delivery-bot[bot]
b03f1d6e21 [release-12.0.2] docs(alerting): document Keep firing for in Alert rule evaluation intro (#106213)
Some checks failed
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (1/8) (push) Has been cancelled
Integration Tests / Sqlite (2/8) (push) Has been cancelled
Integration Tests / Sqlite (3/8) (push) Has been cancelled
Integration Tests / Sqlite (4/8) (push) Has been cancelled
Integration Tests / Sqlite (5/8) (push) Has been cancelled
Integration Tests / Sqlite (6/8) (push) Has been cancelled
Integration Tests / Sqlite (7/8) (push) Has been cancelled
Integration Tests / Sqlite (8/8) (push) Has been cancelled
Integration Tests / MySQL (1/8) (push) Has been cancelled
Integration Tests / MySQL (2/8) (push) Has been cancelled
Integration Tests / MySQL (3/8) (push) Has been cancelled
Integration Tests / MySQL (4/8) (push) Has been cancelled
Integration Tests / MySQL (5/8) (push) Has been cancelled
Integration Tests / MySQL (6/8) (push) Has been cancelled
Integration Tests / MySQL (7/8) (push) Has been cancelled
Integration Tests / MySQL (8/8) (push) Has been cancelled
Integration Tests / Postgres (1/8) (push) Has been cancelled
Integration Tests / Postgres (2/8) (push) Has been cancelled
Integration Tests / Postgres (3/8) (push) Has been cancelled
Integration Tests / Postgres (4/8) (push) Has been cancelled
Integration Tests / Postgres (5/8) (push) Has been cancelled
Integration Tests / Postgres (6/8) (push) Has been cancelled
Integration Tests / Postgres (7/8) (push) Has been cancelled
Integration Tests / Postgres (8/8) (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
docs(alerting): document `Keep firing for` in Alert rule evaluation intro (#106139)

(cherry picked from commit e1400e67d3)

Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com>
2025-05-29 18:39:14 +02:00
grafana-delivery-bot[bot]
8394986940 [release-12.0.2] docs(alerting): add notes for Redis HA setup (#106212)
docs(alerting): add notes for Redis HA setup (#106144)

* docs(alerting): add note for Redis HA setup

* run prettier

(cherry picked from commit b2d317cc23)

Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com>
2025-05-29 18:38:51 +02:00
grafana-delivery-bot[bot]
368c58b5bc [release-12.0.2] docs: fix keycloak signout_redirect_url (#106205)
Some checks failed
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (1/8) (push) Has been cancelled
Integration Tests / Sqlite (2/8) (push) Has been cancelled
Integration Tests / Sqlite (3/8) (push) Has been cancelled
Integration Tests / Sqlite (4/8) (push) Has been cancelled
Integration Tests / Sqlite (5/8) (push) Has been cancelled
Integration Tests / Sqlite (6/8) (push) Has been cancelled
Integration Tests / Sqlite (7/8) (push) Has been cancelled
Integration Tests / Sqlite (8/8) (push) Has been cancelled
Integration Tests / MySQL (1/8) (push) Has been cancelled
Integration Tests / MySQL (2/8) (push) Has been cancelled
Integration Tests / MySQL (3/8) (push) Has been cancelled
Integration Tests / MySQL (4/8) (push) Has been cancelled
Integration Tests / MySQL (5/8) (push) Has been cancelled
Integration Tests / MySQL (6/8) (push) Has been cancelled
Integration Tests / MySQL (7/8) (push) Has been cancelled
Integration Tests / MySQL (8/8) (push) Has been cancelled
Integration Tests / Postgres (1/8) (push) Has been cancelled
Integration Tests / Postgres (2/8) (push) Has been cancelled
Integration Tests / Postgres (3/8) (push) Has been cancelled
Integration Tests / Postgres (4/8) (push) Has been cancelled
Integration Tests / Postgres (5/8) (push) Has been cancelled
Integration Tests / Postgres (6/8) (push) Has been cancelled
Integration Tests / Postgres (7/8) (push) Has been cancelled
Integration Tests / Postgres (8/8) (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
Co-authored-by: song2park <songee430@gmail.com>
fix keycloak signout_redirect_url (#106191)
2025-05-29 15:25:26 +02:00
grafana-delivery-bot[bot]
f96a7461b2 [release-12.0.2] Fixing links and removing duplicate content (#106194)
Co-authored-by: Zach Day <zachary.day@grafana.com>
Fixing links and removing duplicate content (#105837)
2025-05-29 09:29:31 +02:00
Alexander Zobnin
6c0b0e8752 [release-12.0.2] RBAC: Dont additionally cache all users permissions (#106147)
Some checks failed
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (1/8) (push) Has been cancelled
Integration Tests / Sqlite (2/8) (push) Has been cancelled
Integration Tests / Sqlite (3/8) (push) Has been cancelled
Integration Tests / Sqlite (4/8) (push) Has been cancelled
Integration Tests / Sqlite (5/8) (push) Has been cancelled
Integration Tests / Sqlite (6/8) (push) Has been cancelled
Integration Tests / Sqlite (7/8) (push) Has been cancelled
Integration Tests / Sqlite (8/8) (push) Has been cancelled
Integration Tests / MySQL (1/8) (push) Has been cancelled
Integration Tests / MySQL (2/8) (push) Has been cancelled
Integration Tests / MySQL (3/8) (push) Has been cancelled
Integration Tests / MySQL (4/8) (push) Has been cancelled
Integration Tests / MySQL (5/8) (push) Has been cancelled
Integration Tests / MySQL (6/8) (push) Has been cancelled
Integration Tests / MySQL (7/8) (push) Has been cancelled
Integration Tests / MySQL (8/8) (push) Has been cancelled
Integration Tests / Postgres (1/8) (push) Has been cancelled
Integration Tests / Postgres (2/8) (push) Has been cancelled
Integration Tests / Postgres (3/8) (push) Has been cancelled
Integration Tests / Postgres (4/8) (push) Has been cancelled
Integration Tests / Postgres (5/8) (push) Has been cancelled
Integration Tests / Postgres (6/8) (push) Has been cancelled
Integration Tests / Postgres (7/8) (push) Has been cancelled
Integration Tests / Postgres (8/8) (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
Backend Unit Tests / Grafana (1/8) (push) Has been cancelled
Backend Unit Tests / Grafana (2/8) (push) Has been cancelled
Backend Unit Tests / Grafana (3/8) (push) Has been cancelled
Backend Unit Tests / Grafana (4/8) (push) Has been cancelled
Backend Unit Tests / Grafana (5/8) (push) Has been cancelled
Backend Unit Tests / Grafana (6/8) (push) Has been cancelled
Backend Unit Tests / Grafana (7/8) (push) Has been cancelled
Backend Unit Tests / Grafana (8/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (1/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (2/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (3/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (4/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (5/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (6/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (7/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (8/8) (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
RBAC: Don't additionally cache all users permissions (#105607)

* RBAC: Don't additionally cache all users permissions

* remove unused tests

(cherry picked from commit cfba630f5c)
2025-05-28 16:44:50 +02:00
grafana-delivery-bot[bot]
6b2c18d212 [release-12.0.2] Docs: Adding info on configuring CORS via reverse proxy (#106149)
Co-authored-by: Jacob Valdez <jacob.valdez@grafana.com>
2025-05-28 15:24:53 +02:00
grafana-delivery-bot[bot]
532877e133 [release-12.0.2] docs(alerting): clarify provenance requirements when provisioning alert rules (#106129)
Some checks failed
Backend Unit Tests / Grafana (1/8) (push) Has been cancelled
Backend Unit Tests / Grafana (2/8) (push) Has been cancelled
Backend Unit Tests / Grafana (3/8) (push) Has been cancelled
Backend Unit Tests / Grafana (4/8) (push) Has been cancelled
Backend Unit Tests / Grafana (5/8) (push) Has been cancelled
Backend Unit Tests / Grafana (6/8) (push) Has been cancelled
Backend Unit Tests / Grafana (7/8) (push) Has been cancelled
Backend Unit Tests / Grafana (8/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (1/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (2/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (3/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (4/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (5/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (6/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (7/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (8/8) (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (1/8) (push) Has been cancelled
Integration Tests / Sqlite (2/8) (push) Has been cancelled
Integration Tests / Sqlite (3/8) (push) Has been cancelled
Integration Tests / Sqlite (4/8) (push) Has been cancelled
Integration Tests / Sqlite (5/8) (push) Has been cancelled
Integration Tests / Sqlite (6/8) (push) Has been cancelled
Integration Tests / Sqlite (7/8) (push) Has been cancelled
Integration Tests / Sqlite (8/8) (push) Has been cancelled
Integration Tests / MySQL (1/8) (push) Has been cancelled
Integration Tests / MySQL (2/8) (push) Has been cancelled
Integration Tests / MySQL (3/8) (push) Has been cancelled
Integration Tests / MySQL (4/8) (push) Has been cancelled
Integration Tests / MySQL (5/8) (push) Has been cancelled
Integration Tests / MySQL (6/8) (push) Has been cancelled
Integration Tests / MySQL (7/8) (push) Has been cancelled
Integration Tests / MySQL (8/8) (push) Has been cancelled
Integration Tests / Postgres (1/8) (push) Has been cancelled
Integration Tests / Postgres (2/8) (push) Has been cancelled
Integration Tests / Postgres (3/8) (push) Has been cancelled
Integration Tests / Postgres (4/8) (push) Has been cancelled
Integration Tests / Postgres (5/8) (push) Has been cancelled
Integration Tests / Postgres (6/8) (push) Has been cancelled
Integration Tests / Postgres (7/8) (push) Has been cancelled
Integration Tests / Postgres (8/8) (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
docs(alerting): clarify provenance requirements when provisioning alert rules (#106105)

* docs(alerting): clarify provenance requirements when provisioning alert rules

* run prettier

(cherry picked from commit 82b58a2396)

Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com>
2025-05-28 11:18:47 +02:00
grafana-delivery-bot[bot]
af241422a0 [release-12.0.2] docs(alerting): OpsGenie instructions for other alertmanagers (#106128)
docs(alerting): OpsGenie instructions for other alertmanagers (#106049)

* docs(alerting): OpsGenie instructions for other alertmanagers

* run prettier

(cherry picked from commit 8de013c7e6)

Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com>
2025-05-28 11:12:39 +02:00
Matheus Macabu
2c3f53dd0e [release-12.0.2] Dependencies: Bump github.com/openfga/openfga to v1.8.13 to address CVE-2025-48371 (#106116)
Dependencies: Bump github.com/openfga/openfga to v1.8.13 to address CVE-2025-48371
2025-05-28 11:09:15 +02:00
grafana-delivery-bot[bot]
982238b4bd [release-12.0.2] Alerting: Fix $value type when single data source is queried (#106101)
Some checks failed
Backend Unit Tests / Grafana (1/8) (push) Has been cancelled
Backend Unit Tests / Grafana (2/8) (push) Has been cancelled
Backend Unit Tests / Grafana (3/8) (push) Has been cancelled
Backend Unit Tests / Grafana (4/8) (push) Has been cancelled
Backend Unit Tests / Grafana (5/8) (push) Has been cancelled
Backend Unit Tests / Grafana (6/8) (push) Has been cancelled
Backend Unit Tests / Grafana (7/8) (push) Has been cancelled
Backend Unit Tests / Grafana (8/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (1/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (2/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (3/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (4/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (5/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (6/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (7/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (8/8) (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (1/8) (push) Has been cancelled
Integration Tests / Sqlite (2/8) (push) Has been cancelled
Integration Tests / Sqlite (3/8) (push) Has been cancelled
Integration Tests / Sqlite (4/8) (push) Has been cancelled
Integration Tests / Sqlite (5/8) (push) Has been cancelled
Integration Tests / Sqlite (6/8) (push) Has been cancelled
Integration Tests / Sqlite (7/8) (push) Has been cancelled
Integration Tests / Sqlite (8/8) (push) Has been cancelled
Integration Tests / MySQL (1/8) (push) Has been cancelled
Integration Tests / MySQL (2/8) (push) Has been cancelled
Integration Tests / MySQL (3/8) (push) Has been cancelled
Integration Tests / MySQL (4/8) (push) Has been cancelled
Integration Tests / MySQL (5/8) (push) Has been cancelled
Integration Tests / MySQL (6/8) (push) Has been cancelled
Integration Tests / MySQL (7/8) (push) Has been cancelled
Integration Tests / MySQL (8/8) (push) Has been cancelled
Integration Tests / Postgres (1/8) (push) Has been cancelled
Integration Tests / Postgres (2/8) (push) Has been cancelled
Integration Tests / Postgres (3/8) (push) Has been cancelled
Integration Tests / Postgres (4/8) (push) Has been cancelled
Integration Tests / Postgres (5/8) (push) Has been cancelled
Integration Tests / Postgres (6/8) (push) Has been cancelled
Integration Tests / Postgres (7/8) (push) Has been cancelled
Integration Tests / Postgres (8/8) (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
Alerting: Fix $value type when single data source is queried (#106080)

(cherry picked from commit faeddf334a)

Co-authored-by: Alexander Akhmetov <me@alx.cx>
2025-05-27 21:32:21 +02:00
grafana-delivery-bot[bot]
22b6da78a8 [release-12.0.2] docs(alerting): Examples of dynamic labels and dynamic thresholds (#106087)
docs(alerting): Examples of dynamic labels and dynamic thresholds (#105776)

* docs(alerting): Add dynamic thresholds example

* update intro

* docs(alerting): Example of dynamic labels

* fix template example

* Update docs/sources/alerting/best-practices/dynamic-labels.md



* Update docs/sources/alerting/best-practices/dynamic-labels.md



* Update docs/sources/alerting/best-practices/dynamic-labels.md



* Update docs/sources/alerting/best-practices/dynamic-labels.md



* Update docs/sources/alerting/best-practices/dynamic-labels.md



* Update docs/sources/alerting/best-practices/dynamic-thresholds.md



* Update docs/sources/alerting/best-practices/dynamic-thresholds.md



* Update docs/sources/alerting/best-practices/dynamic-thresholds.md



* Update docs/sources/alerting/best-practices/dynamic-labels.md



* Update docs/sources/alerting/best-practices/dynamic-labels.md



* Update docs/sources/alerting/best-practices/dynamic-labels.md



* Update docs/sources/alerting/best-practices/dynamic-labels.md



* Update docs/sources/alerting/best-practices/dynamic-labels.md



* Update docs/sources/alerting/best-practices/dynamic-labels.md



* Update docs/sources/alerting/best-practices/dynamic-labels.md



* fix typo

* fix typo

* Add section `CSV data with Infinity` in Table data example

* Link dynamic threshold example to tabular data requirements

* minor copy changes

* minor heading fix

* Add links (admonition) to Grafana Play examples

* Use `Caveat` instead of `Gotcha`

* Dynamic thresholds: caution message when Math operates on missing series

* Exampleof latency threshold based on traffic

---------


(cherry picked from commit c84388f550)

Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com>
Co-authored-by: Johnny Kartheiser <140559259+JohnnyK-Grafana@users.noreply.github.com>
2025-05-27 17:50:26 +02:00
grafana-delivery-bot[bot]
54200ca1cc [release-12.0.1] TableNG: Fix sub table styles + expand/collapse (#104322)
TableNG: Fix sub table styles + expand/collapse (#104015)

* fix: sub table expand/collapse + styles

* chore: pass in datagrid styles differently

* chore: fix test lint

* chore: fix cell hover flicker

* chore: fix sub table height issue

* chore: fix background color hover issue

* chore: revert hover changes - separate PR incoming

* chore: fix sub table width + alignment

---------


(cherry picked from commit 680874e0d5)

Co-authored-by: Alex Spencer <52186778+alexjonspencer1@users.noreply.github.com>
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
2025-05-23 09:14:29 -06:00
grafana-delivery-bot[bot]
577c29d0dc [release-12.0.1] Storage: Take migration_locking setting into account (#105951)
Some checks failed
Backend Unit Tests / Grafana (1/8) (push) Has been cancelled
Backend Unit Tests / Grafana (2/8) (push) Has been cancelled
Backend Unit Tests / Grafana (3/8) (push) Has been cancelled
Backend Unit Tests / Grafana (4/8) (push) Has been cancelled
Backend Unit Tests / Grafana (5/8) (push) Has been cancelled
Backend Unit Tests / Grafana (6/8) (push) Has been cancelled
Backend Unit Tests / Grafana (7/8) (push) Has been cancelled
Backend Unit Tests / Grafana (8/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (1/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (2/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (3/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (4/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (5/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (6/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (7/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (8/8) (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (1/8) (push) Has been cancelled
Integration Tests / Sqlite (2/8) (push) Has been cancelled
Integration Tests / Sqlite (3/8) (push) Has been cancelled
Integration Tests / Sqlite (4/8) (push) Has been cancelled
Integration Tests / Sqlite (5/8) (push) Has been cancelled
Integration Tests / Sqlite (6/8) (push) Has been cancelled
Integration Tests / Sqlite (7/8) (push) Has been cancelled
Integration Tests / Sqlite (8/8) (push) Has been cancelled
Integration Tests / MySQL (1/8) (push) Has been cancelled
Integration Tests / MySQL (2/8) (push) Has been cancelled
Integration Tests / MySQL (3/8) (push) Has been cancelled
Integration Tests / MySQL (4/8) (push) Has been cancelled
Integration Tests / MySQL (5/8) (push) Has been cancelled
Integration Tests / MySQL (6/8) (push) Has been cancelled
Integration Tests / MySQL (7/8) (push) Has been cancelled
Integration Tests / MySQL (8/8) (push) Has been cancelled
Integration Tests / Postgres (1/8) (push) Has been cancelled
Integration Tests / Postgres (2/8) (push) Has been cancelled
Integration Tests / Postgres (3/8) (push) Has been cancelled
Integration Tests / Postgres (4/8) (push) Has been cancelled
Integration Tests / Postgres (5/8) (push) Has been cancelled
Integration Tests / Postgres (6/8) (push) Has been cancelled
Integration Tests / Postgres (7/8) (push) Has been cancelled
Integration Tests / Postgres (8/8) (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Storage: Take `migration_locking` setting into account (#105938)

(cherry picked from commit 392c1a71c9)

Co-authored-by: Jean-Philippe Quéméner <JohnnyQQQQ@users.noreply.github.com>
2025-05-23 15:37:30 +02:00
grafana-delivery-bot[bot]
7a61c3d1b8 [release-12.0.1] Fix broken links (#105956)
Co-authored-by: Irene Rodríguez <irene.rodriguez@grafana.com>
Fix broken links (#105936)
2025-05-23 15:35:30 +02:00
grafana-delivery-bot[bot]
79786d3a82 [release-12.0.1] Dashboard: remove broken play dashboard on the annotate visualizations page (#104342)
Co-authored-by: Marie Cruz <mdcruz@users.noreply.github.com>
2025-05-23 15:52:39 +03:00
github-actions[bot]
7726a96386 Release: 12.0.1 (#105909)
Some checks failed
Backend Unit Tests / Grafana (1/8) (push) Has been cancelled
Backend Unit Tests / Grafana (2/8) (push) Has been cancelled
Backend Unit Tests / Grafana (3/8) (push) Has been cancelled
Backend Unit Tests / Grafana (4/8) (push) Has been cancelled
Backend Unit Tests / Grafana (5/8) (push) Has been cancelled
Backend Unit Tests / Grafana (6/8) (push) Has been cancelled
Backend Unit Tests / Grafana (7/8) (push) Has been cancelled
Backend Unit Tests / Grafana (8/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (1/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (2/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (3/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (4/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (5/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (6/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (7/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (8/8) (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (1/8) (push) Has been cancelled
Integration Tests / Sqlite (2/8) (push) Has been cancelled
Integration Tests / Sqlite (3/8) (push) Has been cancelled
Integration Tests / Sqlite (4/8) (push) Has been cancelled
Integration Tests / Sqlite (5/8) (push) Has been cancelled
Integration Tests / Sqlite (6/8) (push) Has been cancelled
Integration Tests / Sqlite (7/8) (push) Has been cancelled
Integration Tests / Sqlite (8/8) (push) Has been cancelled
Integration Tests / MySQL (1/8) (push) Has been cancelled
Integration Tests / MySQL (2/8) (push) Has been cancelled
Integration Tests / MySQL (3/8) (push) Has been cancelled
Integration Tests / MySQL (4/8) (push) Has been cancelled
Integration Tests / MySQL (5/8) (push) Has been cancelled
Integration Tests / MySQL (6/8) (push) Has been cancelled
Integration Tests / MySQL (7/8) (push) Has been cancelled
Integration Tests / MySQL (8/8) (push) Has been cancelled
Integration Tests / Postgres (1/8) (push) Has been cancelled
Integration Tests / Postgres (2/8) (push) Has been cancelled
Integration Tests / Postgres (3/8) (push) Has been cancelled
Integration Tests / Postgres (4/8) (push) Has been cancelled
Integration Tests / Postgres (5/8) (push) Has been cancelled
Integration Tests / Postgres (6/8) (push) Has been cancelled
Integration Tests / Postgres (7/8) (push) Has been cancelled
Integration Tests / Postgres (8/8) (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
* Update changelog

* Update version to 12.0.1

* Update CHANGELOG.md

update with sec fixes

---------

Co-authored-by: grafana-delivery-bot[bot] <grafana-delivery-bot[bot]@users.noreply.github.com>
Co-authored-by: Jev Forsberg <46619047+baldm0mma@users.noreply.github.com>
2025-05-23 01:05:32 +03:00
grafana-delivery-bot[bot]
1efb5a4160 [release-12.0.1] Docs: Clarifying information about using the API for license renewal (#105895)
Docs: Clarifying information about using the API for license renewal (#105879)

Docs: Clarifying information about using the API for licnese renewal
(cherry picked from commit 73e971eedc)

Co-authored-by: Jacob Valdez <jacob.valdez@grafana.com>
2025-05-22 15:58:58 -05:00
github-actions[bot]
b6dd2b70c6 apply security patch: release-12.0.1/security-patch-202505051005.patch
Some checks failed
Backend Unit Tests / Grafana (1/8) (push) Has been cancelled
Backend Unit Tests / Grafana (2/8) (push) Has been cancelled
Backend Unit Tests / Grafana (3/8) (push) Has been cancelled
Backend Unit Tests / Grafana (4/8) (push) Has been cancelled
Backend Unit Tests / Grafana (5/8) (push) Has been cancelled
Backend Unit Tests / Grafana (6/8) (push) Has been cancelled
Backend Unit Tests / Grafana (7/8) (push) Has been cancelled
Backend Unit Tests / Grafana (8/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (1/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (2/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (3/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (4/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (5/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (6/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (7/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (8/8) (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (1/8) (push) Has been cancelled
Integration Tests / Sqlite (2/8) (push) Has been cancelled
Integration Tests / Sqlite (3/8) (push) Has been cancelled
Integration Tests / Sqlite (4/8) (push) Has been cancelled
Integration Tests / Sqlite (5/8) (push) Has been cancelled
Integration Tests / Sqlite (6/8) (push) Has been cancelled
Integration Tests / Sqlite (7/8) (push) Has been cancelled
Integration Tests / Sqlite (8/8) (push) Has been cancelled
Integration Tests / MySQL (1/8) (push) Has been cancelled
Integration Tests / MySQL (2/8) (push) Has been cancelled
Integration Tests / MySQL (3/8) (push) Has been cancelled
Integration Tests / MySQL (4/8) (push) Has been cancelled
Integration Tests / MySQL (5/8) (push) Has been cancelled
Integration Tests / MySQL (6/8) (push) Has been cancelled
Integration Tests / MySQL (7/8) (push) Has been cancelled
Integration Tests / MySQL (8/8) (push) Has been cancelled
Integration Tests / Postgres (1/8) (push) Has been cancelled
Integration Tests / Postgres (2/8) (push) Has been cancelled
Integration Tests / Postgres (3/8) (push) Has been cancelled
Integration Tests / Postgres (4/8) (push) Has been cancelled
Integration Tests / Postgres (5/8) (push) Has been cancelled
Integration Tests / Postgres (6/8) (push) Has been cancelled
Integration Tests / Postgres (7/8) (push) Has been cancelled
Integration Tests / Postgres (8/8) (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
2025-05-22 14:48:38 +00:00
github-actions[bot]
7b2192ec76 apply security patch: release-12.0.1/404-202504151210.patch 2025-05-22 14:48:38 +00:00
grafana-delivery-bot[bot]
94c960235f [release-12.0.1] Docs: Fixed broken links (#105847)
Some checks failed
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (1/8) (push) Has been cancelled
Integration Tests / Sqlite (2/8) (push) Has been cancelled
Integration Tests / Sqlite (3/8) (push) Has been cancelled
Integration Tests / Sqlite (4/8) (push) Has been cancelled
Integration Tests / Sqlite (5/8) (push) Has been cancelled
Integration Tests / Sqlite (6/8) (push) Has been cancelled
Integration Tests / Sqlite (7/8) (push) Has been cancelled
Integration Tests / Sqlite (8/8) (push) Has been cancelled
Integration Tests / MySQL (1/8) (push) Has been cancelled
Integration Tests / MySQL (2/8) (push) Has been cancelled
Integration Tests / MySQL (3/8) (push) Has been cancelled
Integration Tests / MySQL (4/8) (push) Has been cancelled
Integration Tests / MySQL (5/8) (push) Has been cancelled
Integration Tests / MySQL (6/8) (push) Has been cancelled
Integration Tests / MySQL (7/8) (push) Has been cancelled
Integration Tests / MySQL (8/8) (push) Has been cancelled
Integration Tests / Postgres (1/8) (push) Has been cancelled
Integration Tests / Postgres (2/8) (push) Has been cancelled
Integration Tests / Postgres (3/8) (push) Has been cancelled
Integration Tests / Postgres (4/8) (push) Has been cancelled
Integration Tests / Postgres (5/8) (push) Has been cancelled
Integration Tests / Postgres (6/8) (push) Has been cancelled
Integration Tests / Postgres (7/8) (push) Has been cancelled
Integration Tests / Postgres (8/8) (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
Fixed broken links (#105796)
2025-05-22 16:44:38 +02:00
grafana-delivery-bot[bot]
a522adbd10 [release-12.0.1] add new sentence about GH enterprise (#105848)
Co-authored-by: Irene Rodríguez <irene.rodriguez@grafana.com>
2025-05-22 17:44:29 +03:00
grafana-delivery-bot[bot]
0d308fe6d9 [release-12.0.1] Provisioning: Skip settings request if the feature toggle not set (#105812)
Some checks failed
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (1/8) (push) Has been cancelled
Integration Tests / Sqlite (2/8) (push) Has been cancelled
Integration Tests / Sqlite (3/8) (push) Has been cancelled
Integration Tests / Sqlite (4/8) (push) Has been cancelled
Integration Tests / Sqlite (5/8) (push) Has been cancelled
Integration Tests / Sqlite (6/8) (push) Has been cancelled
Integration Tests / Sqlite (7/8) (push) Has been cancelled
Integration Tests / Sqlite (8/8) (push) Has been cancelled
Integration Tests / MySQL (1/8) (push) Has been cancelled
Integration Tests / MySQL (2/8) (push) Has been cancelled
Integration Tests / MySQL (3/8) (push) Has been cancelled
Integration Tests / MySQL (4/8) (push) Has been cancelled
Integration Tests / MySQL (5/8) (push) Has been cancelled
Integration Tests / MySQL (6/8) (push) Has been cancelled
Integration Tests / MySQL (7/8) (push) Has been cancelled
Integration Tests / MySQL (8/8) (push) Has been cancelled
Integration Tests / Postgres (1/8) (push) Has been cancelled
Integration Tests / Postgres (2/8) (push) Has been cancelled
Integration Tests / Postgres (3/8) (push) Has been cancelled
Integration Tests / Postgres (4/8) (push) Has been cancelled
Integration Tests / Postgres (5/8) (push) Has been cancelled
Integration Tests / Postgres (6/8) (push) Has been cancelled
Integration Tests / Postgres (7/8) (push) Has been cancelled
Integration Tests / Postgres (8/8) (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
Backend Unit Tests / Grafana (1/8) (push) Has been cancelled
Backend Unit Tests / Grafana (2/8) (push) Has been cancelled
Backend Unit Tests / Grafana (3/8) (push) Has been cancelled
Backend Unit Tests / Grafana (4/8) (push) Has been cancelled
Backend Unit Tests / Grafana (5/8) (push) Has been cancelled
Backend Unit Tests / Grafana (6/8) (push) Has been cancelled
Backend Unit Tests / Grafana (7/8) (push) Has been cancelled
Backend Unit Tests / Grafana (8/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (1/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (2/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (3/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (4/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (5/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (6/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (7/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (8/8) (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
Provisioning: Skip settings request if the feature toggle not set (#105800)

(cherry picked from commit eec109d500)

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2025-05-22 12:37:22 +03:00
grafana-delivery-bot[bot]
0a507ea3f8 [release-12.0.1] NestedFolderPicker: Fix scroll jumps back to top (#105769)
Some checks failed
Backend Unit Tests / Grafana (1/8) (push) Has been cancelled
Backend Unit Tests / Grafana (2/8) (push) Has been cancelled
Backend Unit Tests / Grafana (3/8) (push) Has been cancelled
Backend Unit Tests / Grafana (4/8) (push) Has been cancelled
Backend Unit Tests / Grafana (5/8) (push) Has been cancelled
Backend Unit Tests / Grafana (6/8) (push) Has been cancelled
Backend Unit Tests / Grafana (7/8) (push) Has been cancelled
Backend Unit Tests / Grafana (8/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (1/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (2/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (3/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (4/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (5/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (6/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (7/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (8/8) (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (1/8) (push) Has been cancelled
Integration Tests / Sqlite (2/8) (push) Has been cancelled
Integration Tests / Sqlite (3/8) (push) Has been cancelled
Integration Tests / Sqlite (4/8) (push) Has been cancelled
Integration Tests / Sqlite (5/8) (push) Has been cancelled
Integration Tests / Sqlite (6/8) (push) Has been cancelled
Integration Tests / Sqlite (7/8) (push) Has been cancelled
Integration Tests / Sqlite (8/8) (push) Has been cancelled
Integration Tests / MySQL (1/8) (push) Has been cancelled
Integration Tests / MySQL (2/8) (push) Has been cancelled
Integration Tests / MySQL (3/8) (push) Has been cancelled
Integration Tests / MySQL (4/8) (push) Has been cancelled
Integration Tests / MySQL (5/8) (push) Has been cancelled
Integration Tests / MySQL (6/8) (push) Has been cancelled
Integration Tests / MySQL (7/8) (push) Has been cancelled
Integration Tests / MySQL (8/8) (push) Has been cancelled
Integration Tests / Postgres (1/8) (push) Has been cancelled
Integration Tests / Postgres (2/8) (push) Has been cancelled
Integration Tests / Postgres (3/8) (push) Has been cancelled
Integration Tests / Postgres (4/8) (push) Has been cancelled
Integration Tests / Postgres (5/8) (push) Has been cancelled
Integration Tests / Postgres (6/8) (push) Has been cancelled
Integration Tests / Postgres (7/8) (push) Has been cancelled
Integration Tests / Postgres (8/8) (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
NestedFolderPicker: Fix scroll jumps back to top (#105567)

refactor selector to output a stable value

(cherry picked from commit 43e2bf5e38)

Co-authored-by: Luminessa Starlight <git@samsch.org>
2025-05-21 22:52:18 +01:00
Kim Nylander
a4fcc0f723 [release-12.0.1] [DOC] Make notes consistent in Git Sync docs (#105708) 2025-05-21 17:09:21 -04:00
Kevin Yu
ac6f0d199f CI: update permissions on workflows which get external secrets (#104792) (#105793)
update permissions

(cherry picked from commit e36d774d0c)

Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com>
2025-05-21 13:56:13 -07:00
Paul Marbach
ddc0c74989 backport: Geomap: Fix marker layer for line string features (#103937) to 12.0.1 (#105774)
Geomap: Fix marker layer for line string features (#103937)

* Geomap: Fix marker layer for line string features

* Update layer stack to handle line strings

(cherry picked from commit feb1ac5ba7)

Co-authored-by: Drew Slobodnjak <60050885+drew08t@users.noreply.github.com>
2025-05-21 16:22:06 -04:00
Kevin Yu
b352b8b4fb Chore: Use Vault secrets in sync-mirror-event.yml (#104705) (#105785)
* baldm0mma/ update to using vault secrets

* Update .github/workflows/sync-mirror-event.yml



* Update .github/workflows/sync-mirror-event.yml



---------


(cherry picked from commit f0686a61ce)

Co-authored-by: Jev Forsberg <46619047+baldm0mma@users.noreply.github.com>
Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com>
2025-05-21 13:19:45 -07:00
Irene Rodríguez
294465bc7c [release-12.0.1] Docs: Fix SCIM availability note about Grafana Cloud (#105714)
Some checks failed
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (1/8) (push) Has been cancelled
Integration Tests / Sqlite (2/8) (push) Has been cancelled
Integration Tests / Sqlite (3/8) (push) Has been cancelled
Integration Tests / Sqlite (4/8) (push) Has been cancelled
Integration Tests / Sqlite (5/8) (push) Has been cancelled
Integration Tests / Sqlite (6/8) (push) Has been cancelled
Integration Tests / Sqlite (7/8) (push) Has been cancelled
Integration Tests / Sqlite (8/8) (push) Has been cancelled
Integration Tests / MySQL (1/8) (push) Has been cancelled
Integration Tests / MySQL (2/8) (push) Has been cancelled
Integration Tests / MySQL (3/8) (push) Has been cancelled
Integration Tests / MySQL (4/8) (push) Has been cancelled
Integration Tests / MySQL (5/8) (push) Has been cancelled
Integration Tests / MySQL (6/8) (push) Has been cancelled
Integration Tests / MySQL (7/8) (push) Has been cancelled
Integration Tests / MySQL (8/8) (push) Has been cancelled
Integration Tests / Postgres (1/8) (push) Has been cancelled
Integration Tests / Postgres (2/8) (push) Has been cancelled
Integration Tests / Postgres (3/8) (push) Has been cancelled
Integration Tests / Postgres (4/8) (push) Has been cancelled
Integration Tests / Postgres (5/8) (push) Has been cancelled
Integration Tests / Postgres (6/8) (push) Has been cancelled
Integration Tests / Postgres (7/8) (push) Has been cancelled
Integration Tests / Postgres (8/8) (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
Co-authored-by: Vardan Torosyan <vardants@gmail.com>
Fix SCIM availability note about Grafana Cloud (#105649)
2025-05-21 12:18:43 +02:00
Alex Spencer
076b525477 [release-12.0.1] TableNG: Fix filtering bug (#105693)
Some checks failed
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (1/8) (push) Has been cancelled
Integration Tests / Sqlite (2/8) (push) Has been cancelled
Integration Tests / Sqlite (3/8) (push) Has been cancelled
Integration Tests / Sqlite (4/8) (push) Has been cancelled
Integration Tests / Sqlite (5/8) (push) Has been cancelled
Integration Tests / Sqlite (6/8) (push) Has been cancelled
Integration Tests / Sqlite (7/8) (push) Has been cancelled
Integration Tests / Sqlite (8/8) (push) Has been cancelled
Integration Tests / MySQL (1/8) (push) Has been cancelled
Integration Tests / MySQL (2/8) (push) Has been cancelled
Integration Tests / MySQL (3/8) (push) Has been cancelled
Integration Tests / MySQL (4/8) (push) Has been cancelled
Integration Tests / MySQL (5/8) (push) Has been cancelled
Integration Tests / MySQL (6/8) (push) Has been cancelled
Integration Tests / MySQL (7/8) (push) Has been cancelled
Integration Tests / MySQL (8/8) (push) Has been cancelled
Integration Tests / Postgres (1/8) (push) Has been cancelled
Integration Tests / Postgres (2/8) (push) Has been cancelled
Integration Tests / Postgres (3/8) (push) Has been cancelled
Integration Tests / Postgres (4/8) (push) Has been cancelled
Integration Tests / Postgres (5/8) (push) Has been cancelled
Integration Tests / Postgres (6/8) (push) Has been cancelled
Integration Tests / Postgres (7/8) (push) Has been cancelled
Integration Tests / Postgres (8/8) (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
Backend Unit Tests / Grafana (1/8) (push) Has been cancelled
Backend Unit Tests / Grafana (2/8) (push) Has been cancelled
Backend Unit Tests / Grafana (3/8) (push) Has been cancelled
Backend Unit Tests / Grafana (4/8) (push) Has been cancelled
Backend Unit Tests / Grafana (5/8) (push) Has been cancelled
Backend Unit Tests / Grafana (6/8) (push) Has been cancelled
Backend Unit Tests / Grafana (7/8) (push) Has been cancelled
Backend Unit Tests / Grafana (8/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (1/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (2/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (3/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (4/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (5/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (6/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (7/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (8/8) (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
TableNG: Fix filtering bug (#105334)

fix: tableNG filtering
(cherry picked from commit ce3f485593)
2025-05-20 13:28:46 -06:00
Michael Mandrus
2de93c5022 CloudMigrations: Fix issues with snapshot resource limits (#105425) (#105625)
Some checks failed
Backend Unit Tests / Grafana (1/8) (push) Has been cancelled
Backend Unit Tests / Grafana (2/8) (push) Has been cancelled
Backend Unit Tests / Grafana (3/8) (push) Has been cancelled
Backend Unit Tests / Grafana (4/8) (push) Has been cancelled
Backend Unit Tests / Grafana (5/8) (push) Has been cancelled
Backend Unit Tests / Grafana (6/8) (push) Has been cancelled
Backend Unit Tests / Grafana (7/8) (push) Has been cancelled
Backend Unit Tests / Grafana (8/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (1/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (2/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (3/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (4/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (5/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (6/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (7/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (8/8) (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (1/8) (push) Has been cancelled
Integration Tests / Sqlite (2/8) (push) Has been cancelled
Integration Tests / Sqlite (3/8) (push) Has been cancelled
Integration Tests / Sqlite (4/8) (push) Has been cancelled
Integration Tests / Sqlite (5/8) (push) Has been cancelled
Integration Tests / Sqlite (6/8) (push) Has been cancelled
Integration Tests / Sqlite (7/8) (push) Has been cancelled
Integration Tests / Sqlite (8/8) (push) Has been cancelled
Integration Tests / MySQL (1/8) (push) Has been cancelled
Integration Tests / MySQL (2/8) (push) Has been cancelled
Integration Tests / MySQL (3/8) (push) Has been cancelled
Integration Tests / MySQL (4/8) (push) Has been cancelled
Integration Tests / MySQL (5/8) (push) Has been cancelled
Integration Tests / MySQL (6/8) (push) Has been cancelled
Integration Tests / MySQL (7/8) (push) Has been cancelled
Integration Tests / MySQL (8/8) (push) Has been cancelled
Integration Tests / Postgres (1/8) (push) Has been cancelled
Integration Tests / Postgres (2/8) (push) Has been cancelled
Integration Tests / Postgres (3/8) (push) Has been cancelled
Integration Tests / Postgres (4/8) (push) Has been cancelled
Integration Tests / Postgres (5/8) (push) Has been cancelled
Integration Tests / Postgres (6/8) (push) Has been cancelled
Integration Tests / Postgres (7/8) (push) Has been cancelled
Integration Tests / Postgres (8/8) (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
* CloudMigrations: Fix issues with snapshot resource limits (#105425)

* fix bulk inserts

* commit progress so cursor doesn't sabotage me

* add more tests

* get everything working

* rename variable

* update comment

* regen mocks, fix k8s list method maybe

* fix bug with duplicate entries

* lint

* Snapshots: Use slices.Chunk for batching inserts

* remove extra linebreak

---------

Co-authored-by: Matheus Macabu <macabu.matheus@gmail.com>

* fix postgres integration tests

---------

Co-authored-by: Matheus Macabu <macabu.matheus@gmail.com>
2025-05-20 09:02:03 -04:00
Alexander Akhmetov
e8b522e6bf [release-12.0.1] Alerting: Mention recording rules setup in the import API documentation (#105631)
Some checks failed
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (1/8) (push) Has been cancelled
Integration Tests / Sqlite (2/8) (push) Has been cancelled
Integration Tests / Sqlite (3/8) (push) Has been cancelled
Integration Tests / Sqlite (4/8) (push) Has been cancelled
Integration Tests / Sqlite (5/8) (push) Has been cancelled
Integration Tests / Sqlite (6/8) (push) Has been cancelled
Integration Tests / Sqlite (7/8) (push) Has been cancelled
Integration Tests / Sqlite (8/8) (push) Has been cancelled
Integration Tests / MySQL (1/8) (push) Has been cancelled
Integration Tests / MySQL (2/8) (push) Has been cancelled
Integration Tests / MySQL (3/8) (push) Has been cancelled
Integration Tests / MySQL (4/8) (push) Has been cancelled
Integration Tests / MySQL (5/8) (push) Has been cancelled
Integration Tests / MySQL (6/8) (push) Has been cancelled
Integration Tests / MySQL (7/8) (push) Has been cancelled
Integration Tests / MySQL (8/8) (push) Has been cancelled
Integration Tests / Postgres (1/8) (push) Has been cancelled
Integration Tests / Postgres (2/8) (push) Has been cancelled
Integration Tests / Postgres (3/8) (push) Has been cancelled
Integration Tests / Postgres (4/8) (push) Has been cancelled
Integration Tests / Postgres (5/8) (push) Has been cancelled
Integration Tests / Postgres (6/8) (push) Has been cancelled
Integration Tests / Postgres (7/8) (push) Has been cancelled
Integration Tests / Postgres (8/8) (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
Alerting: Mention recording rules setup in the import API documentation
2025-05-19 21:34:43 +02:00
Johnny Kartheiser
d4bfcd88f6 docs: edits for alerting learning content (#105500) (#105626)
Some checks failed
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (1/8) (push) Has been cancelled
Integration Tests / Sqlite (2/8) (push) Has been cancelled
Integration Tests / Sqlite (3/8) (push) Has been cancelled
Integration Tests / Sqlite (4/8) (push) Has been cancelled
Integration Tests / Sqlite (5/8) (push) Has been cancelled
Integration Tests / Sqlite (6/8) (push) Has been cancelled
Integration Tests / Sqlite (7/8) (push) Has been cancelled
Integration Tests / Sqlite (8/8) (push) Has been cancelled
Integration Tests / MySQL (1/8) (push) Has been cancelled
Integration Tests / MySQL (2/8) (push) Has been cancelled
Integration Tests / MySQL (3/8) (push) Has been cancelled
Integration Tests / MySQL (4/8) (push) Has been cancelled
Integration Tests / MySQL (5/8) (push) Has been cancelled
Integration Tests / MySQL (6/8) (push) Has been cancelled
Integration Tests / MySQL (7/8) (push) Has been cancelled
Integration Tests / MySQL (8/8) (push) Has been cancelled
Integration Tests / Postgres (1/8) (push) Has been cancelled
Integration Tests / Postgres (2/8) (push) Has been cancelled
Integration Tests / Postgres (3/8) (push) Has been cancelled
Integration Tests / Postgres (4/8) (push) Has been cancelled
Integration Tests / Postgres (5/8) (push) Has been cancelled
Integration Tests / Postgres (6/8) (push) Has been cancelled
Integration Tests / Postgres (7/8) (push) Has been cancelled
Integration Tests / Postgres (8/8) (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
Backend Unit Tests / Grafana (1/8) (push) Has been cancelled
Backend Unit Tests / Grafana (2/8) (push) Has been cancelled
Backend Unit Tests / Grafana (3/8) (push) Has been cancelled
Backend Unit Tests / Grafana (4/8) (push) Has been cancelled
Backend Unit Tests / Grafana (5/8) (push) Has been cancelled
Backend Unit Tests / Grafana (6/8) (push) Has been cancelled
Backend Unit Tests / Grafana (7/8) (push) Has been cancelled
Backend Unit Tests / Grafana (8/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (1/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (2/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (3/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (4/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (5/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (6/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (7/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (8/8) (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
* docs: edits for alerting learning content (#105500)

* docs: edits for alerting learning content

edits for alerting learning content

* vale'd

* left nav change

* final adjustments

link fixes and the like

* Update _index.md

(cherry picked from commit bf87c6f774)

* docs: edits for alerting learning content (#105500)

* docs: edits for alerting learning content

edits for alerting learning content

* vale'd

* left nav change

* final adjustments

link fixes and the like

* Update _index.md

(cherry picked from commit bf87c6f774)

* docs: edits for alerting learning content (#105500)

* docs: edits for alerting learning content

edits for alerting learning content

* vale'd

* left nav change

* final adjustments

link fixes and the like

* Update _index.md

(cherry picked from commit bf87c6f774)
2025-05-19 11:31:10 -05:00
Ashley Harrison
23df5760cb [release-12.0.1] Preferences: Disable the save button whilst saving preferences (#105612)
Preferences: Disable the save button whilst saving preferences (#105605)

* disable the save button whilst saving preferences

* use .finally to always reset state of submit button

* fix unit tests

(cherry picked from commit 98c9bc5028)
2025-05-19 15:59:07 +01:00
Ashley Harrison
5abfb574c0 [release-12.0.1] Themes: Prevent duplicated API call in drawer (#105611)
Themes: Prevent duplicated API call in drawer (#105602)

refactor to separate component, stop propagating radio button event + unit test

(cherry picked from commit 808b371225)
2025-05-19 13:15:59 +01:00
Isabel Matwawana
b785340e13 [release-12.0.1] Docs: Improve raw format description and examples (#105563)
Some checks failed
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (1/8) (push) Has been cancelled
Integration Tests / Sqlite (2/8) (push) Has been cancelled
Integration Tests / Sqlite (3/8) (push) Has been cancelled
Integration Tests / Sqlite (4/8) (push) Has been cancelled
Integration Tests / Sqlite (5/8) (push) Has been cancelled
Integration Tests / Sqlite (6/8) (push) Has been cancelled
Integration Tests / Sqlite (7/8) (push) Has been cancelled
Integration Tests / Sqlite (8/8) (push) Has been cancelled
Integration Tests / MySQL (1/8) (push) Has been cancelled
Integration Tests / MySQL (2/8) (push) Has been cancelled
Integration Tests / MySQL (3/8) (push) Has been cancelled
Integration Tests / MySQL (4/8) (push) Has been cancelled
Integration Tests / MySQL (5/8) (push) Has been cancelled
Integration Tests / MySQL (6/8) (push) Has been cancelled
Integration Tests / MySQL (7/8) (push) Has been cancelled
Integration Tests / MySQL (8/8) (push) Has been cancelled
Integration Tests / Postgres (1/8) (push) Has been cancelled
Integration Tests / Postgres (2/8) (push) Has been cancelled
Integration Tests / Postgres (3/8) (push) Has been cancelled
Integration Tests / Postgres (4/8) (push) Has been cancelled
Integration Tests / Postgres (5/8) (push) Has been cancelled
Integration Tests / Postgres (6/8) (push) Has been cancelled
Integration Tests / Postgres (7/8) (push) Has been cancelled
Integration Tests / Postgres (8/8) (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
2025-05-16 12:35:42 -04:00
Irene Rodríguez
1b24e238aa [release-12.0.1] Fix typo (#105555)
Fix typo (#105547)
2025-05-16 14:30:25 +00:00
Jacob Valdez
1a440137c7 [release-12.0.1] docs: fix grammar on set-up-grafana-live.md (#105552)
Some checks failed
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (1/8) (push) Has been cancelled
Integration Tests / Sqlite (2/8) (push) Has been cancelled
Integration Tests / Sqlite (3/8) (push) Has been cancelled
Integration Tests / Sqlite (4/8) (push) Has been cancelled
Integration Tests / Sqlite (5/8) (push) Has been cancelled
Integration Tests / Sqlite (6/8) (push) Has been cancelled
Integration Tests / Sqlite (7/8) (push) Has been cancelled
Integration Tests / Sqlite (8/8) (push) Has been cancelled
Integration Tests / MySQL (1/8) (push) Has been cancelled
Integration Tests / MySQL (2/8) (push) Has been cancelled
Integration Tests / MySQL (3/8) (push) Has been cancelled
Integration Tests / MySQL (4/8) (push) Has been cancelled
Integration Tests / MySQL (5/8) (push) Has been cancelled
Integration Tests / MySQL (6/8) (push) Has been cancelled
Integration Tests / MySQL (7/8) (push) Has been cancelled
Integration Tests / MySQL (8/8) (push) Has been cancelled
Integration Tests / Postgres (1/8) (push) Has been cancelled
Integration Tests / Postgres (2/8) (push) Has been cancelled
Integration Tests / Postgres (3/8) (push) Has been cancelled
Integration Tests / Postgres (4/8) (push) Has been cancelled
Integration Tests / Postgres (5/8) (push) Has been cancelled
Integration Tests / Postgres (6/8) (push) Has been cancelled
Integration Tests / Postgres (7/8) (push) Has been cancelled
Integration Tests / Postgres (8/8) (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
Backend Unit Tests / Grafana (1/8) (push) Has been cancelled
Backend Unit Tests / Grafana (2/8) (push) Has been cancelled
Backend Unit Tests / Grafana (3/8) (push) Has been cancelled
Backend Unit Tests / Grafana (4/8) (push) Has been cancelled
Backend Unit Tests / Grafana (5/8) (push) Has been cancelled
Backend Unit Tests / Grafana (6/8) (push) Has been cancelled
Backend Unit Tests / Grafana (7/8) (push) Has been cancelled
Backend Unit Tests / Grafana (8/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (1/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (2/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (3/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (4/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (5/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (6/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (7/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (8/8) (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
Co-authored-by: Navid Mafi <navidmafi2006@gmail.com>
fix grammar on set-up-grafana-live.md (#105545)
2025-05-16 09:22:20 -05:00
Irene Rodríguez
44fd033dd1 [release-12.0.1] Add link to form for Git Sync early acess (#105540)
Co-authored-by: Richard Hartmann <RichiH@users.noreply.github.com>
2025-05-16 08:05:27 -05:00
Artur Wierzbicki
c07c752702 [release-12.0.1] Live: bump centrifuge (#105470)
Live: bump centrifuge (#105214)

* bump centrifuge

* make update-workspace

(cherry picked from commit d91e4b0582)
2025-05-16 14:46:16 +04:00
Sonia Aguilar
4404143bcc [release-12.0.1] Alerting) Update docs rules bulk actions (#105442) (#105516)
* Alerting: Update docs rules bulk actions (#105442)

* enable pause/unpause bulk actions

* Update docs for pause/resume rules evaluations within a folder

(cherry picked from commit f7cad3a2fe)

* fix conflicts
2025-05-16 10:42:36 +02:00
Andreas Christou
a36c8315fa [release-12.0.1] Graphite: Ensure template variables are interpolated correctly (#105389)
Some checks failed
Backend Unit Tests / Grafana (1/8) (push) Has been cancelled
Backend Unit Tests / Grafana (2/8) (push) Has been cancelled
Backend Unit Tests / Grafana (3/8) (push) Has been cancelled
Backend Unit Tests / Grafana (4/8) (push) Has been cancelled
Backend Unit Tests / Grafana (5/8) (push) Has been cancelled
Backend Unit Tests / Grafana (6/8) (push) Has been cancelled
Backend Unit Tests / Grafana (7/8) (push) Has been cancelled
Backend Unit Tests / Grafana (8/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (1/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (2/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (3/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (4/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (5/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (6/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (7/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (8/8) (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (1/8) (push) Has been cancelled
Integration Tests / Sqlite (2/8) (push) Has been cancelled
Integration Tests / Sqlite (3/8) (push) Has been cancelled
Integration Tests / Sqlite (4/8) (push) Has been cancelled
Integration Tests / Sqlite (5/8) (push) Has been cancelled
Integration Tests / Sqlite (6/8) (push) Has been cancelled
Integration Tests / Sqlite (7/8) (push) Has been cancelled
Integration Tests / Sqlite (8/8) (push) Has been cancelled
Integration Tests / MySQL (1/8) (push) Has been cancelled
Integration Tests / MySQL (2/8) (push) Has been cancelled
Integration Tests / MySQL (3/8) (push) Has been cancelled
Integration Tests / MySQL (4/8) (push) Has been cancelled
Integration Tests / MySQL (5/8) (push) Has been cancelled
Integration Tests / MySQL (6/8) (push) Has been cancelled
Integration Tests / MySQL (7/8) (push) Has been cancelled
Integration Tests / MySQL (8/8) (push) Has been cancelled
Integration Tests / Postgres (1/8) (push) Has been cancelled
Integration Tests / Postgres (2/8) (push) Has been cancelled
Integration Tests / Postgres (3/8) (push) Has been cancelled
Integration Tests / Postgres (4/8) (push) Has been cancelled
Integration Tests / Postgres (5/8) (push) Has been cancelled
Integration Tests / Postgres (6/8) (push) Has been cancelled
Integration Tests / Postgres (7/8) (push) Has been cancelled
Integration Tests / Postgres (8/8) (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
Graphite: Ensure template variables are interpolated correctly (#105354)

(cherry picked from commit e60ece3389)
2025-05-15 13:35:06 -06:00
Matheus Macabu
ce22d40908 [release-12.0.1] Dependencies: Bump packages in modules with incorrect dependencies or outside of workspace (#105457)
Some checks failed
Backend Unit Tests / Grafana (1/8) (push) Has been cancelled
Backend Unit Tests / Grafana (2/8) (push) Has been cancelled
Backend Unit Tests / Grafana (3/8) (push) Has been cancelled
Backend Unit Tests / Grafana (4/8) (push) Has been cancelled
Backend Unit Tests / Grafana (5/8) (push) Has been cancelled
Backend Unit Tests / Grafana (6/8) (push) Has been cancelled
Backend Unit Tests / Grafana (7/8) (push) Has been cancelled
Backend Unit Tests / Grafana (8/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (1/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (2/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (3/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (4/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (5/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (6/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (7/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (8/8) (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (1/8) (push) Has been cancelled
Integration Tests / Sqlite (2/8) (push) Has been cancelled
Integration Tests / Sqlite (3/8) (push) Has been cancelled
Integration Tests / Sqlite (4/8) (push) Has been cancelled
Integration Tests / Sqlite (5/8) (push) Has been cancelled
Integration Tests / Sqlite (6/8) (push) Has been cancelled
Integration Tests / Sqlite (7/8) (push) Has been cancelled
Integration Tests / Sqlite (8/8) (push) Has been cancelled
Integration Tests / MySQL (1/8) (push) Has been cancelled
Integration Tests / MySQL (2/8) (push) Has been cancelled
Integration Tests / MySQL (3/8) (push) Has been cancelled
Integration Tests / MySQL (4/8) (push) Has been cancelled
Integration Tests / MySQL (5/8) (push) Has been cancelled
Integration Tests / MySQL (6/8) (push) Has been cancelled
Integration Tests / MySQL (7/8) (push) Has been cancelled
Integration Tests / MySQL (8/8) (push) Has been cancelled
Integration Tests / Postgres (1/8) (push) Has been cancelled
Integration Tests / Postgres (2/8) (push) Has been cancelled
Integration Tests / Postgres (3/8) (push) Has been cancelled
Integration Tests / Postgres (4/8) (push) Has been cancelled
Integration Tests / Postgres (5/8) (push) Has been cancelled
Integration Tests / Postgres (6/8) (push) Has been cancelled
Integration Tests / Postgres (7/8) (push) Has been cancelled
Integration Tests / Postgres (8/8) (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
* Dependencies: Bump github.com/getkin/kin-openapi from v0.131.0 to v0.132.0

* Dependencies: Bump github.com/openfga/openfga from v1.8.6 to v1.8.12

* Dependencies: Bump golang.org/x to latest
2025-05-15 16:49:30 +03:00
Irene Rodríguez
558412082d Git Sync: wording around cloud availability (#105427) (#105439)
Co-authored-by: Artur Wierzbicki <artur.wierzbicki@grafana.com>
2025-05-15 08:34:21 -05:00
Pepe Cano
67fcf65cd2 [release-12.0.1] docs(alerting): MissingSeriesEvalsToResolve and New Stale alert instances docs page (#105464)
docs(alerting): MissingSeriesEvalsToResolve and New `Stale alert instances` docs page (#105415)

* docs(alerting): New `Stale alert instances` docs page and document the `Missing series evaluations to resolve` option.

* update meta description

(cherry picked from commit bb04b9c55b)
2025-05-15 15:28:19 +02:00
Irene Rodríguez
8e6fcce432 [release-12.0.1] Update grafanactl installation instructions (#105446)
Co-authored-by: Igor Suleymanov <radiohead@users.noreply.github.com>
2025-05-15 13:50:10 +03:00
Jack Baldry
2ee71232fe [release-12.0.1] Add comments explaining what pages the aliases redirect and fix broken aliases (#105438)
fix broken aliases (#105408)
2025-05-15 11:18:34 +03:00
Pepe Cano
788833d756 [release-12.0.1] docs(alerting): Add two common examples in Learn section (#105417)
docs(alerting): Add two common examples in `Learn` section (#105325)

* docs(alerting): Add two common examples in `Learn` section

* Update docs/sources/alerting/learn/examples/multi-dimensional-alerts.md



* Update docs/sources/alerting/learn/examples/multi-dimensional-alerts.md



* mention `summary` annotation in multi-dimensional alerts example

* Remove note about alert grouping

* minor edits to section: `Differences with time series`

* minor grammar change

---------


(cherry picked from commit 4ae91715df)

Co-authored-by: Johnny Kartheiser <140559259+JohnnyK-Grafana@users.noreply.github.com>
2025-05-15 08:14:09 +02:00
Irene Rodríguez
4d300016b9 [release-12.0.1] Fix broken links (#105404)
Some checks failed
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (1/8) (push) Has been cancelled
Integration Tests / Sqlite (2/8) (push) Has been cancelled
Integration Tests / Sqlite (3/8) (push) Has been cancelled
Integration Tests / Sqlite (4/8) (push) Has been cancelled
Integration Tests / Sqlite (5/8) (push) Has been cancelled
Integration Tests / Sqlite (6/8) (push) Has been cancelled
Integration Tests / Sqlite (7/8) (push) Has been cancelled
Integration Tests / Sqlite (8/8) (push) Has been cancelled
Integration Tests / MySQL (1/8) (push) Has been cancelled
Integration Tests / MySQL (2/8) (push) Has been cancelled
Integration Tests / MySQL (3/8) (push) Has been cancelled
Integration Tests / MySQL (4/8) (push) Has been cancelled
Integration Tests / MySQL (5/8) (push) Has been cancelled
Integration Tests / MySQL (6/8) (push) Has been cancelled
Integration Tests / MySQL (7/8) (push) Has been cancelled
Integration Tests / MySQL (8/8) (push) Has been cancelled
Integration Tests / Postgres (1/8) (push) Has been cancelled
Integration Tests / Postgres (2/8) (push) Has been cancelled
Integration Tests / Postgres (3/8) (push) Has been cancelled
Integration Tests / Postgres (4/8) (push) Has been cancelled
Integration Tests / Postgres (5/8) (push) Has been cancelled
Integration Tests / Postgres (6/8) (push) Has been cancelled
Integration Tests / Postgres (7/8) (push) Has been cancelled
Integration Tests / Postgres (8/8) (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
Fix broken links (#105341)
2025-05-14 16:32:42 +03:00
Irene Rodríguez
e1a378434b [release-12.0.1] Docs: Update the guide on how to configure SCIM with okta (#105402)
Co-authored-by: Mihai Doarna <mihai.doarna@grafana.com>
2025-05-14 08:27:11 -05:00
Matheus Macabu
908a5c8afb [release-12.0.1] Dependencies: Bump github.com/openfga/openfga from v1.8.6 to v1.8.12 (#105368)
Some checks failed
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (1/8) (push) Has been cancelled
Integration Tests / Sqlite (2/8) (push) Has been cancelled
Integration Tests / Sqlite (3/8) (push) Has been cancelled
Integration Tests / Sqlite (4/8) (push) Has been cancelled
Integration Tests / Sqlite (5/8) (push) Has been cancelled
Integration Tests / Sqlite (6/8) (push) Has been cancelled
Integration Tests / Sqlite (7/8) (push) Has been cancelled
Integration Tests / Sqlite (8/8) (push) Has been cancelled
Integration Tests / MySQL (1/8) (push) Has been cancelled
Integration Tests / MySQL (2/8) (push) Has been cancelled
Integration Tests / MySQL (3/8) (push) Has been cancelled
Integration Tests / MySQL (4/8) (push) Has been cancelled
Integration Tests / MySQL (5/8) (push) Has been cancelled
Integration Tests / MySQL (6/8) (push) Has been cancelled
Integration Tests / MySQL (7/8) (push) Has been cancelled
Integration Tests / MySQL (8/8) (push) Has been cancelled
Integration Tests / Postgres (1/8) (push) Has been cancelled
Integration Tests / Postgres (2/8) (push) Has been cancelled
Integration Tests / Postgres (3/8) (push) Has been cancelled
Integration Tests / Postgres (4/8) (push) Has been cancelled
Integration Tests / Postgres (5/8) (push) Has been cancelled
Integration Tests / Postgres (6/8) (push) Has been cancelled
Integration Tests / Postgres (7/8) (push) Has been cancelled
Integration Tests / Postgres (8/8) (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
Backend Unit Tests / Grafana (1/8) (push) Has been cancelled
Backend Unit Tests / Grafana (2/8) (push) Has been cancelled
Backend Unit Tests / Grafana (3/8) (push) Has been cancelled
Backend Unit Tests / Grafana (4/8) (push) Has been cancelled
Backend Unit Tests / Grafana (5/8) (push) Has been cancelled
Backend Unit Tests / Grafana (6/8) (push) Has been cancelled
Backend Unit Tests / Grafana (7/8) (push) Has been cancelled
Backend Unit Tests / Grafana (8/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (1/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (2/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (3/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (4/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (5/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (6/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (7/8) (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (8/8) (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
Dependencies: Bump github.com/openfga/openfga from v1.8.6 to v1.8.12
2025-05-14 14:16:46 +02:00
Matheus Macabu
7816d5f3d0 [release-12.0.1] Actions: Shard test suite (#105166) (#105380)
Actions: Shard test suite (#105166)

(cherry picked from commit 08c55b60ab)

Co-authored-by: Mariell Hoversholm <mariell.hoversholm@grafana.com>
2025-05-14 14:06:42 +03:00
linoman
aaf39c0e3f SCIM: saml assertion strategy (#105183)
* Rename `assertion_attribute_external_uid`

* SCIM: update docs with externalId field & correct endpoint

* SCIM: validate external UID
2025-05-14 12:12:42 +02:00
Irene Rodríguez
3b4fd9f5e3 [release-12.0.1] fix broken links (#105367)
fix broken links (#105343)
2025-05-14 09:25:43 +01:00
Pepe Cano
888e48b03e [release-12.0.1] docs(alerting): Correct gotcha when using dynamic labels (#105366)
docs(alerting): Correct gotcha when using dynamic labels (#105347)

(cherry picked from commit b53f68ea5e)
2025-05-14 10:18:54 +02:00
Jacob Valdez
b34497d118 [release-12.0.1]Docs: SAML docs refactoring (#103450) (#105346)
Some checks failed
Backend Unit Tests / Grafana (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (push) Has been cancelled
Integration Tests / MySQL (push) Has been cancelled
Integration Tests / Postgres (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
Co-authored-by: Misi <mgyongyosi@users.noreply.github.com>
Co-authored-by: Vardan Torosyan <vardants@gmail.com>
2025-05-13 12:54:58 -05:00
linoman
bf293c8ab6 Backport 105046 to 12.0.1 (#105337) 2025-05-13 12:29:35 -04:00
linoman
a1c1523a41 SCIM: Backport 105026 to 12.0.1 (#105340)
Backport 105026 to 12.0.1
2025-05-13 12:29:17 -04:00
linoman
2e6b7bf74a SCIM: Backport 104613 to 12.0.1 (#105332)
Backport 104613 to 12.0.1
2025-05-13 17:15:01 +02:00
Alexander Akhmetov
f792abc737 [release-12.0.1] Alerting: Document grafanaManagedRecordingRulesDatasources feature flag (#105303)
Alerting: Document grafanaManagedRecordingRulesDatasources feature flag (#105227)

(cherry picked from commit 50d1b2e786)
2025-05-13 16:49:36 +02:00
Irene Rodríguez
fdc10124f1 [release-12.0.1] Docs: Make role evaluation more transparent (#105318)
Some checks failed
Backend Unit Tests / Grafana (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (push) Has been cancelled
Integration Tests / MySQL (push) Has been cancelled
Integration Tests / Postgres (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
Co-authored-by: Ariana <20644439+ariatron@users.noreply.github.com>
2025-05-13 11:49:21 +01:00
Matheus Macabu
b1a4e09102 [release-12.0.1] Dependencies: Unpin and bump github.com/getkin/kin-openapi from v0.126.0 to v0.132.0 (#105249)
* Dependencies: Unpin and bump github.com/getkin/kin-openapi from v0.126.0 to v0.132.0

* Chore: Update schemas and remove examples

* Chore: Update schemas and remove examples2
2025-05-13 12:23:12 +03:00
Irene Rodríguez
3689b41d7b [release-12.0.1] Git Sync: remove grafanaAPIServerEnsureKubectlAccess from required toggles (#105312)
Co-authored-by: Artur Wierzbicki <artur.wierzbicki@grafana.com>
2025-05-13 11:25:31 +03:00
Pepe Cano
95913e7bf6 [release-12.0.1] docs(alerting): clarify types of query data and tabular data example (#105291)
docs(alerting): clarify types of query data and tabular data example (#105168)

(cherry picked from commit 20d48674fc)
2025-05-13 07:50:33 +02:00
Alexander Akhmetov
0ae4f53b91 [release-12.0.1] Alerting: Fix link in the migration docs (#105299)
Some checks failed
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (push) Has been cancelled
Integration Tests / MySQL (push) Has been cancelled
Integration Tests / Postgres (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
Alerting: Fix link in the migration docs (#105295)

(cherry picked from commit e965b85e19)
2025-05-12 22:30:23 +02:00
Alexander Akhmetov
8721abf454 [release-12.0.1] Alerting: Fix mentions of Prometheus in the import data source alerts documentation (#105278)
Alerting: Fix mentions of Prometheus in the import data source alerts documentation (#105234)

(cherry picked from commit a643abd92a)
2025-05-12 19:20:23 +02:00
Irene Rodríguez
22cd1cf11d [release-12.0.1] Update set-up-for-high-availability.md (#105275)
Some checks failed
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (push) Has been cancelled
Integration Tests / MySQL (push) Has been cancelled
Integration Tests / Postgres (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
Backend Unit Tests / Grafana (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (push) Has been cancelled
Co-authored-by: AlecIsaacson <alec.isaacson@grafana.com>
2025-05-12 16:24:13 +03:00
Jack Baldry
81de445637 [release-12.0.1] Fix broken links (#105250) (#105260)
Co-authored-by: Irene Rodríguez <irene.rodriguez@grafana.com>
Fix broken links (#105250)
2025-05-12 15:21:06 +03:00
Robby Milo
57ab63e11d [v12.0] Update whats-new posts (#105245)
* update references

* fix
2025-05-12 15:18:14 +03:00
Irene Rodríguez
1f52eb2f52 [release-12.0.1] Documentation: Typo Correction to fix feature toggle (#105233)
Co-authored-by: Ben McCain <145697468+BenjaminMcCain@users.noreply.github.com>
fix feature toggle (#105203)
2025-05-12 10:38:01 +02:00
ismail simsek
a10f971609 [release-12.0.1] Prometheus: Move to new annotation support as the old one is deprecated (#105188)
Some checks failed
Backend Unit Tests / Grafana (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (push) Has been cancelled
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (push) Has been cancelled
Integration Tests / MySQL (push) Has been cancelled
Integration Tests / Postgres (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
Prometheus: Move to new annotation support as the old one is deprecated (#104578)

* remove deprecated annotation support and introduce the new one

* create annotations.test.ts

* convert the old annotations to new format

* don't override query if it has necessary fields

* a better implementation

* remove comment

* fix

* fix react errors

* unit tests for annotation query editor

* two more tests

(cherry picked from commit 9156149960)
2025-05-11 12:54:27 +02:00
Pepe Cano
7831e39e53 [release-12.0.1] docs(alerting): fix broken links due to using shared md files (#105199)
Some checks failed
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (push) Has been cancelled
Integration Tests / MySQL (push) Has been cancelled
Integration Tests / Postgres (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
docs(alerting): fix broken links due to using shared md files (#105195)

* docs(alerting): fix broken links due to using shared md files

* fix prettier errors

* fix aliased links

(cherry picked from commit a1b1de584c)
2025-05-10 00:10:18 +02:00
Pepe Cano
c4723691c6 [release-12.0.1] docs(alerting): No Data/Error state enhancements (#105172)
docs(alerting): `No Data/Error` state enhancements (#105100)

* docs(alerting): `No Data/Error` state enhancements

* fix `behavior`(american english)

(cherry picked from commit 8c8cc31746)
2025-05-10 00:09:55 +02:00
Alexander Akhmetov
4d1b11d4d5 [release-12.0.1] docs(alerting): Add a note about sequential evaluation (#105182)
Some checks failed
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (push) Has been cancelled
Integration Tests / MySQL (push) Has been cancelled
Integration Tests / Postgres (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
docs(alerting): Add a note about sequential evaluation (#104224)

* docs(alerting): Add a note about sequential evaluation

* Update docs

(cherry picked from commit 42028a1b03)
2025-05-09 16:48:39 +02:00
grafana-delivery-bot[bot]
60931b1393 [release-12.0.1] Graphite: Fix Graphite series interpolation (#104516)
Some checks failed
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (push) Has been cancelled
Integration Tests / MySQL (push) Has been cancelled
Integration Tests / Postgres (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
Backend Unit Tests / Grafana (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
Graphite: Fix Graphite series interpolation (#104471)

* Fix graphite series interpolation

* Trigger build

(cherry picked from commit 3b036f0e78)

Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
2025-05-09 12:51:56 +01:00
Jacob Valdez
daec1c0eba [release-12.0.1] Update set-up-for-high-availability.md (#105148)
Some checks failed
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (push) Has been cancelled
Integration Tests / MySQL (push) Has been cancelled
Integration Tests / Postgres (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
Co-authored-by: AlecIsaacson <alec.isaacson@grafana.com>
2025-05-08 16:19:14 -05:00
Pepe Cano
ab37272bd1 [release-12.0.1] docs(alerting): clarify how Math expressions operate on multiple series (#105130)
Some checks failed
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (push) Has been cancelled
Integration Tests / MySQL (push) Has been cancelled
Integration Tests / Postgres (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
Backend Unit Tests / Grafana (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
docs(alerting): clarify how Math expressions operate on multiple series (#104316)

(cherry picked from commit 6abe6499c4)
2025-05-08 17:32:20 +02:00
Pepe Cano
7ceda3cd2e [release-12.0.1] docs(alerting): clarify transition to Recovering state when using recovery thresholds (#105132)
docs(alerting): clarify transition to Recovering state when using recovery thresholds (#104381)

(cherry picked from commit cf1b964829)
2025-05-08 17:28:58 +02:00
Pepe Cano
2ae2420343 [release-12.0.1] docs(alerting): clarify recovery threshold for pending state (#105128)
docs(alerting): clarify recovery threshold for pending state (#102780)

Alerting docs: clarify recovery threshold on pending state

(cherry picked from commit 536ff2fc3d)
2025-05-08 17:18:25 +02:00
Irene Rodríguez
f37479e0d3 [release-12.0.1] Docs: Add page for customization plugin pages in the navigation bar (#105121)
Co-authored-by: Esteban Beltran <academo@users.noreply.github.com>
2025-05-08 08:36:11 -05:00
Matheus Macabu
25f48a36bd [release-12.0.1] Chore: Bump Go version to 1.24.3 (#105101)
Chore: Bump Go version to 1.24.3
2025-05-08 15:28:22 +02:00
Josh Hunt
c01be8220a [release-12.0.1] CI: Fix Skye and E2E GHA workflows (#104901)
Some checks failed
Backend Unit Tests / Grafana (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (push) Has been cancelled
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (push) Has been cancelled
Integration Tests / MySQL (push) Has been cancelled
Integration Tests / Postgres (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
CI: Fix Skye and E2E GHA workflows (#104811)

* CI: Use pr_automation_app in skye workflow

* CI: Fix e2e workflow artifact name

(cherry picked from commit e9fe1dedf7)

* remove old-arch check

(cherry picked from commit 960e2d057b)
(cherry picked from commit 035ecc15b2)
2025-05-08 13:25:35 +01:00
Jacob Valdez
35567cd7d6 [release-12.0.1] Docs: Adding what's new entry for Logs Drilldown JSON table viewer (#105086)
Some checks failed
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (push) Has been cancelled
Integration Tests / MySQL (push) Has been cancelled
Integration Tests / Postgres (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
2025-05-08 00:43:26 +03:00
Artur Wierzbicki
f17e42fb40 [release-12.0.1] Live: logging fix (#105076)
Some checks failed
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (push) Has been cancelled
Integration Tests / MySQL (push) Has been cancelled
Integration Tests / Postgres (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
Backend Unit Tests / Grafana (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
Live: logging fix (#105054)

logg fix

(cherry picked from commit c781b0922e)
2025-05-07 21:51:20 +03:00
Taylor C
c000fcd0b4 DocsMetricsDrilldown: Removes outdated Metrics Drilldown content (#10… (#105044) 2025-05-07 18:49:35 +01:00
Alex Spencer
5906e2f7f1 [release-12.0.1] TableNG: Filter and sort sub tables (#105043)
TableNG: Filter and sort sub tables (#104327)

* feat: filter and sort sub tables

* chore: extract row processing into it's own function for filtering and sorting

---------


(cherry picked from commit 2c1851e8c8)

Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
2025-05-07 10:27:00 -06:00
Jacob Valdez
994e644e62 [release-12.0.1] Docs: Updating upgrade guide (#105071)
fixing weights of upgrade guide (#105070)
2025-05-07 11:21:03 -05:00
Alexa V
c477381677 [release-12.0.1] Dashboard: Fix Panel Explore link subpath duplication (#104952) (#105056)
Some checks failed
Backend Unit Tests / Grafana (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (push) Has been cancelled
Integration Tests / MySQL (push) Has been cancelled
Integration Tests / Postgres (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
Dashboard: Fix Panel Explore link subpath duplication  (#104952)

* Stop appending subpath in onNavigateToExplore function old-arch
* we are using assureBaseUrl inside getExploreUrl function

* adjust test to ensure subPath is not added to the url

* fix linting

(cherry picked from commit c594faa64e)
2025-05-07 12:20:30 +02:00
Jacob Valdez
bc9e735df8 [release-12.0.1]Docs: Updating What's New Video (#105041)
Some checks failed
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (push) Has been cancelled
Integration Tests / MySQL (push) Has been cancelled
Integration Tests / Postgres (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
2025-05-06 17:18:32 -05:00
Kim Nylander
bd3d525a35 [release-12.0.1] docs: Trace correlations (#105034)
Some checks failed
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (push) Has been cancelled
Integration Tests / MySQL (push) Has been cancelled
Integration Tests / Postgres (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
Backend Unit Tests / Grafana (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
Co-authored-by: Alex Bikfalvi <alex@bikfalvi.com>
2025-05-06 14:37:44 -04:00
Kim Nylander
9a0f15e085 [release-12.0.1] Add landing page for Obs as Code doc (#105035) 2025-05-06 14:37:02 -04:00
Larissa Wandzura
d991198778 [release-12.0.1] Docs: removed backslashes in SQL code in SQL expressions doc (#105028)
Docs: removed backslashes in SQL code in SQL expressions doc (#105009)

* removed backslashes in SQL code

* fixed SQL

(cherry picked from commit 59cb0176bc)
2025-05-06 16:33:58 +00:00
Alex Spencer
6f806cb6f7 [release-12.0.1] TableNG: Align sparkline value correctly (#105013)
TableNG: Align sparkline value correctly (#104909)

fix: align sparkline value correctly


(cherry picked from commit 36dde3401c)

Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
2025-05-06 10:26:05 -06:00
Irene Rodríguez
519ad181b9 [release-12.0.1] Add landing page for Obs as Code doc (#105020)
Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com>
2025-05-06 15:19:58 +00:00
Will Browne
5b795ae2e3 [release-12.0.1] Plugins: Fix issue with propagating ID token downstream for RunStream requests (#105002)
Plugins: Fix issue with propagating ID token downstream for RunStream requests (#104833)

fix issue

(cherry picked from commit a5649b6e1d)
2025-05-06 13:33:47 +01:00
Irene Rodríguez
24bc8cc6bc [release-12.0.1] fix broken links in "get started with observability as code" (#104993)
Some checks failed
Backend Unit Tests / Grafana (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (push) Has been cancelled
Integration Tests / MySQL (push) Has been cancelled
Integration Tests / Postgres (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
fix broken links in "get started with observability as code" (#104956)
2025-05-06 13:40:13 +02:00
Irene Rodríguez
3a479b49ef [release-12.0.1] remove cascade: noindex (#105004) 2025-05-06 11:38:51 +00:00
Irene Rodríguez
127b24e5c1 [release-12.0.1] [DOC] Make Obs as Code docs public (#104989)
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com>
Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com>
2025-05-06 12:58:26 +03:00
Jacob Valdez
650f432eb4 [release-12.0.1] Docs: What's new, Upgrade guide, and breaking changes v12.0 (#104971)
Co-authored-by: Jacob Valdez <jacob.valdez@grafana.com>
Co-authored-by: Timur Olzhabayev <timur.olzhabayev@grafana.com>
2025-05-06 11:03:27 +02:00
Jack Westbrook
f5b640e682 [release-12.0.1] Prometheus: Fix semver import path (#104945)
Prometheus: Fix semver import path (#104756)

chore(prometheus): import from semver so consumers builds dont break with esm

(cherry picked from commit 90f628abff)
2025-05-06 09:16:15 +02:00
Alex Spencer
9357bda707 [release-12.0.1] TableNG: Always use correct original row index (#104962)
Some checks failed
Backend Unit Tests / Grafana (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (push) Has been cancelled
Integration Tests / MySQL (push) Has been cancelled
Integration Tests / Postgres (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
TableNG: Always use correct original row index (#104561)

* fix: change row index

* chore: remove unused param

(cherry picked from commit cab241fbb6)
2025-05-05 14:54:23 -06:00
Larissa Wandzura
17df2d611f [release-12.0.1] Docs: New SQL expressions doc (#104965)
Docs: New SQL expressions doc (#104908)

* reorged content

* made several edits

* some final cleanup

* vale linter changes

* linter change

* ran prettier

---------

Co-authored-by: Irene Rodríguez <irene.rodriguez@grafana.com>
(cherry picked from commit eafba2b023)
2025-05-05 23:14:12 +03:00
Alex Spencer
6db7f10bbc [release-12.0.1] TableNG: Fix sparkline sorting + column key config (#104955)
Some checks failed
Backend Unit Tests / Grafana (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (push) Has been cancelled
Integration Tests / MySQL (push) Has been cancelled
Integration Tests / Postgres (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
TableNG: Fix sparkline sorting + column key config (#104008)

* fix: sorting sparkline cells

* fix: prevent same cell name issues

* chore: clean

* chore: bring back nuked sparkline fix

* chore: mob feedback

* chore: use getDisplayName function

* chore: missed two!!

* chore: improved betterer results

---------

Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
(cherry picked from commit 72932e10b2)
2025-05-05 11:22:29 -06:00
Alex Spencer
2e4020a93b [release 12.0.1] TableNG: Use correct row index for background colour calculation (#104426) (#104888)
TableNG: Use correct row index for background colour calculation (#104426)

* chore: row index is source index so just use that

* chore: fix better cause why not

---------

Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
Co-authored-by: Sven Grossmann <svennergr@gmail.com>
2025-05-05 09:03:18 -06:00
Matheus Macabu
c3aeda7a79 [release-12.0.1] Docs: Fix extra whitespace in Prometheus configs on Grafana Monitoring setup (#104935)
Docs: Fix extra whitespace in Prometheus configs on Grafana Monitoring setup (#104916)

Co-authored-by: danielkenlee <115471695+danielkenlee@users.noreply.github.com>
(cherry picked from commit 7900a53e05)
2025-05-05 16:18:50 +02:00
Irene Rodríguez
4112c80a7a [release-12.0.1] Create Foundation SDK docs (#104921)
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
Co-authored-by: Tom Glenn <tom.glenn@grafana.com>
2025-05-05 08:02:50 -05:00
Kevin Minehart
0dccd77ec0 [release-12.0.1] CI: Use docker creds from ci/common (#104884)
Some checks failed
Backend Unit Tests / Grafana (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (push) Has been cancelled
Integration Tests / MySQL (push) Has been cancelled
Integration Tests / Postgres (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
CI: Use docker creds from ci/common (#104827)

Use docker creds from ci/common

(cherry picked from commit fd4afdbd2c)
2025-05-03 01:55:25 +03:00
Josh Hunt
3956dc4141 [release-12.0.1] CI: Remove zizmor workflow in favor of org workflow (#104896)
CI: Remove zizmor workflow in favor of org workflow (#104879)

* CI: Remove zizmor workflow in favor of org workflow

* Update CODEOWNERS

(cherry picked from commit 033dc19b48)
2025-05-02 17:35:12 -05:00
Isabel Matwawana
92d0f18a5e [release-12.0.1] Docs: Add hidden dynamic dashboards page (#104892) 2025-05-02 18:54:47 +00:00
Isabel Matwawana
2b67824505 [release-12.0.1] Add schema v2 new files (#104890)
Some checks failed
Backend Unit Tests / Grafana (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (push) Has been cancelled
Integration Tests / MySQL (push) Has been cancelled
Integration Tests / Postgres (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com>
Co-authored-by: Irene Rodríguez <irene.rodriguez@grafana.com>
2025-05-02 17:30:30 +00:00
Sergej-Vlasov
6d8c492cbe [release-12.0.1] DashboardEditPane: Fix source viz panel selection (#104868)
DashboardEditPane: Fix source viz panel selection (#104686)

* revert ae86746

* extract source viz panel for edit pane select
2025-05-02 14:31:12 +01:00
Pepe Cano
96e46887d7 [release-12.0.1] docs(alerting): add new guides for handling missing data and connectivity errors (#104847)
Some checks failed
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (push) Has been cancelled
Integration Tests / MySQL (push) Has been cancelled
Integration Tests / Postgres (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
docs(alerting): add new guides for handling missing data and connectivity errors (#104765)

* New `Learn` section and Handling connectivity errors guide

* guide: connectivity errors

* update metadata

* edit `Learn` page

(cherry picked from commit 3bb5a13275)
2025-05-02 09:16:15 +02:00
Alexa V
5ad33cb0a9 [Release 12.0.1]SchemaV2 - Fix Import showing grafana ds(#104461) (#104828)
Some checks failed
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (push) Has been cancelled
Integration Tests / MySQL (push) Has been cancelled
Integration Tests / Postgres (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
Backend Unit Tests / Grafana (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
Dashboard: SchemaV2 - Fix Import showing grafana datasources (#104461)

* Fix: do not map when identifying default grafana ds

* add also datasource type

* Refactor code, add unit test

* Fix types references and linting

* Update public/app/features/manage-dashboards/state/actions.test.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
(cherry picked from commit 26ce124208)
2025-05-01 16:32:29 +02:00
Stephanie Hingtgen
3b2165d787 [release-12.0.1] Dashboards: Fix cleanup job (#104824) 2025-05-01 16:51:44 +03:00
Adela Almasan
5f3107c401 [Release 12.0.1] TableNG: Fix interpolation for actions (#104577) (#104799)
TableNG: Fix interpolation for actions (#104577)

(cherry picked from commit 6c0250dde2)
2025-05-01 08:45:58 -05:00
Alexa V
3c62214699 [Release12.0.1]:Schema V2-Fix built-in annotationsV2 (#104313) (#104815)
Dashboard: Schema V2 - Fix built-in annotations not present (#104313)

* Add grafana Built-in annonation to the serialization

* Add unit tests

(cherry picked from commit ab7e18feda)
2025-05-01 12:43:07 +02:00
Alexa V
5631d9aace [Release 12.0.1] SchemaV2 Fix Import mapping ds #104200 (#104813)
Dashboard: SchemaV2 Fix Import mapping datasource (#104200)

* Dashboard: SchemaV2 Fix mapping ds for variables and annotations

* process annotations and vars ds inputs so they can be selected

* clean up so async works

* Add basic unit test for v2 dashboards mapping

* clean up tests

* linting

---------

Co-authored-by: Haris Rozajac <haris.rozajac12@gmail.com>
2025-05-01 12:01:12 +02:00
Kevin Minehart
1da343ea5f [release-12.0.1] CI: move workflows/actions to actions (#104743)
Some checks failed
Backend Unit Tests / Grafana (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (push) Has been cancelled
Integration Tests / MySQL (push) Has been cancelled
Integration Tests / Postgres (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
CI: move workflows/actions to actions (#104711)

* move workflows/actions to actions

* rerun actions

* fix setup-go v5

* unpinned unnecessary pins

* update CODEOWONERS

* update CODEOWONERS

* remove remove-milestone from codeowners

* remove bad key

(cherry picked from commit 2436b4e097)
2025-04-30 12:22:38 -05:00
Stephanie Hingtgen
9c339e7c7c [release-12.0.1] Dashboard API: Update dashboard version docs (#104791)
Some checks failed
Backend Unit Tests / Grafana (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (push) Has been cancelled
Integration Tests / MySQL (push) Has been cancelled
Integration Tests / Postgres (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
Co-authored-by: Artur Wierzbicki <artur.wierzbicki@grafana.com>
2025-04-30 11:39:47 -05:00
Pepe Cano
a524a98367 [release-12.0.1] docs(alerting): add recommendation to reduce duplicated DatasourceError alerts (#104768)
docs(alerting): add recommendation to reduce duplicated `DatasourceError` alerts (#104679)

docs(alerting): add recommendation to reduce `DatasourceError` alerts

(cherry picked from commit 971f92e45d)
2025-04-30 15:14:23 +02:00
Alex Khomenko
f046259f91 [release-12.0.1] Provisioning: Update graphic (#104774)
Provisioning: Update graphic (#104770)

(cherry picked from commit f413721435)
2025-04-30 16:06:54 +03:00
Stephanie Hingtgen
6b7bba2b5a [release-12.0.1] Dashboard and Folders: fix version mismatch (#104717)
Some checks failed
Backend Unit Tests / Grafana (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (push) Has been cancelled
Integration Tests / MySQL (push) Has been cancelled
Integration Tests / Postgres (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
Folders: Fix version mismatch errors
2025-04-30 03:01:45 +03:00
Stephanie Hingtgen
249bf8ac64 [release-12.0.1] Dashboards and Folders: cleanup timestamps and error codes (#104720)
K8s: Fix timestamps and error codes
2025-04-29 22:44:44 +03:00
Stephanie Hingtgen
18a9cd3636 [release-12.0.1] Dashboards: Fix moving to general folder (#104719)
Dashboards: Fix moving to general folder
2025-04-29 22:14:00 +03:00
Stephanie Hingtgen
7287b4958f [release-12.0.1] Dashboards: add missing folder info to /search (#104718)
Dashboards: add missing folder info to /search
2025-04-29 22:08:52 +03:00
Kevin Minehart
8bb4c806fb [release-12.0.1] Backport workflow fixes (#104692)
* Copy workflows and actions from main

* add zizmor.yml
2025-04-29 19:12:47 +03:00
Josh Hunt
18fb652499 [release-12.0.1] ci: move variables to env (#104622)
Some checks failed
Backend Unit Tests / Grafana (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (push) Has been cancelled
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (push) Has been cancelled
Integration Tests / MySQL (push) Has been cancelled
Integration Tests / Postgres (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
ci: move variables to `env` (#104605)

* ci: move variables to `env`

* ci: move sha to `env`

* ci: import `SHA` and `PRE_COMMIT_SHA`

(cherry picked from commit d19f86a736)

Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>
2025-04-28 13:27:25 +01:00
Stephanie Hingtgen
4620dc0b4e [release-12.0.1] App Plugins: Fix dashboard updater (#104583) (#104585)
Some checks failed
Backend Unit Tests / Grafana (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (push) Has been cancelled
Integration Tests / MySQL (push) Has been cancelled
Integration Tests / Postgres (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
2025-04-26 01:22:28 +02:00
Torkel Ödegaard
0716d2fc4f [Release v12.0.1] Dashboard: Fixes issue with row repeats and first row (#104469)
Some checks failed
Backend Unit Tests / Grafana (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (push) Has been cancelled
Integration Tests / MySQL (push) Has been cancelled
Integration Tests / Postgres (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
Dashboard: Fixes issue with row repeats and first row (#104265)

* working

* Update

* Add test

* Update

(cherry picked from commit c8fb66dd48)
2025-04-25 20:36:30 +02:00
Stephanie Hingtgen
7dfb628cb4 [release-12.0.1] Provisioning: Remove warning logs for valid usage (#104555) (#104558)
Provisioning: Remove warnings for valid usage (#104555)
2025-04-25 11:18:17 -05:00
Stephanie Hingtgen
549833e40d [release-12.0.1] K8s: Dashboards: Fix transformation between v1 and v2 (#104502) (#104527)
K8s: Dashboards: Fix transformation between v1 and v2 (#104502)
2025-04-25 17:02:35 +01:00
grafana-delivery-bot[bot]
f04144c742 [release-12.0.1] Rename grafana cli to grafana server cli (#104557)
Co-authored-by: Irene Rodríguez <irene.rodriguez@grafana.com>
2025-04-25 16:51:48 +01:00
Stephanie Hingtgen
745015e74f [release-12.0.1] K8s: Dashboards: Fix provisioned dashboard cleanup (#104504) (#104525)
K8s: Dashboards: Fix provisioned dashboard cleanup (#104504)
2025-04-25 13:41:29 +01:00
Stephanie Hingtgen
cf21a9385b [release-12.0.1] Docs: Add dashboard and folder apis docs (#101754) (#104529)
Docs: Add dashboard and folder apis docs (#101754)
2025-04-25 13:33:35 +01:00
Stephanie Hingtgen
123351e3ac [release-12.0.1] Access control: Make sure that user permission cache is cleared after new dashboard and folder creation (#104495)
Some checks failed
Backend Unit Tests / Grafana (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (push) Has been cancelled
Integration Tests / MySQL (push) Has been cancelled
Integration Tests / Postgres (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
2025-04-24 15:48:04 -05:00
grafana-delivery-bot[bot]
26b81feb85 [release-12.0.1] Apply security patch 357-202503311017.patch (#104493)
Apply security patch 357-202503311017.patch (#104490)

* Sanitize paths before evaluating access to route

* use util.CleanRelativePath

---------

Co-authored-by: Andres Martinez Gotor <andres.martinez@grafana.com>
(cherry picked from commit 1f707d16ed)

Co-authored-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com>
2025-04-24 20:40:18 +01:00
grafana-delivery-bot[bot]
8a4a68cf95 [release-12.0.1] XYChart: Coerce threshold steps to numbers (#104492)
XYChart: Coerce threshold steps to numbers (#104485)

(cherry picked from commit a6735721bf)

Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2025-04-24 20:19:24 +01:00
grafana-delivery-bot[bot]
2fbb2d6f5d [release-12.0.1] Provisioning: Fix requires migration condition (#104436)
Some checks failed
Backend Unit Tests / Grafana (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (push) Has been cancelled
Integration Tests / MySQL (push) Has been cancelled
Integration Tests / Postgres (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
Provisioning: Fix requires migration condition (#104434)

* Provisioning: Fix requires migration condition

* Better error messaging

(cherry picked from commit 82c291675b)

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2025-04-24 07:48:02 +01:00
Stephanie Hingtgen
ed408985fa [release-12.0.1] K8s: Dashboards: Mark as v1beta1 (#104422)
Some checks failed
Backend Unit Tests / Grafana (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (push) Has been cancelled
Integration Tests / MySQL (push) Has been cancelled
Integration Tests / Postgres (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2025-04-23 19:21:59 +01:00
Ryan McKinley
584593c411 DataSourceSrv: include alias in type filter (#104308) (#104336) 2025-04-23 13:16:17 -05:00
Stephanie Hingtgen
b0d42f432a [release-12.0.1] K8s: Dashboards: Add fine grained access control checks to /apis (#104419)
Some checks failed
Backend Unit Tests / Grafana (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (push) Has been cancelled
Integration Tests / MySQL (push) Has been cancelled
Integration Tests / Postgres (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
K8s: Dashboards: Add fine grained access control checks to /apis (#104347)


---------

Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
Co-authored-by: Gabriel MABILLE <gabriel.mabille@grafana.com>
Co-authored-by: Marco de Abreu <marco.deabreu@grafana.com>
Co-authored-by: Georges Chaudy <chaudyg@gmail.com>
2025-04-23 18:28:10 +01:00
grafana-delivery-bot[bot]
835516f832 [release-12.0.1] DataLinks: Long link title wrapping (#104383)
DataLinks: Long link title wrapping (#104169)

chore(data-links): link text wrap

(cherry picked from commit 8cee546d67)

Co-authored-by: Ihor Yeromin <yeryomin.igor@gmail.com>
2025-04-23 11:46:10 +01:00
grafana-delivery-bot[bot]
2ce8b147d7 [release-12.0.1] Provisioning: Add onboarding page graphic (#104367)
Some checks failed
Backend Unit Tests / Grafana (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (push) Has been cancelled
Integration Tests / MySQL (push) Has been cancelled
Integration Tests / Postgres (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
Provisioning: Add onboarding page graphic (#104162)

* Provisioning: Add onboarding page graphic

* Update translations

(cherry picked from commit b6e5b5d20f)

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2025-04-23 06:18:15 +01:00
grafana-delivery-bot[bot]
846f10afda [release-12.0.1] Docs: Making some slight adjustments to migration assistant (#104319)
Some checks failed
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (push) Has been cancelled
Integration Tests / MySQL (push) Has been cancelled
Integration Tests / Postgres (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
Co-authored-by: Jacob Valdez <jacob.valdez@grafana.com>
2025-04-22 12:34:48 -05:00
Kevin Minehart
384ce54148 update sync-mirror action
Some checks failed
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (push) Has been cancelled
Integration Tests / MySQL (push) Has been cancelled
Integration Tests / Postgres (push) Has been cancelled
Dispatch sync to mirror / dispatch-job (push) Has been cancelled
Backend Unit Tests / Grafana (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (push) Has been cancelled
2025-04-22 08:31:50 -05:00
Kevin Minehart
c9956ffc59 remove old PR patch check and sync mirror workflows 2025-04-22 08:28:36 -05:00
Kevin Minehart
92189eec7e update PR patch check / sync mirror workflows 2025-04-22 08:27:23 -05:00
Stephanie Hingtgen
cde4a9dabe [release-12.0.1] TeamMember: Treat null permission as member (#104195) (#104250)
Some checks failed
Backend Unit Tests / Grafana (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (push) Has been cancelled
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (push) Has been cancelled
Integration Tests / MySQL (push) Has been cancelled
Integration Tests / Postgres (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
Sync to mirror / trigger_downstream_patch_mirror (push) Has been cancelled
TeamMember: Treat null permission as member (#104195)

Co-authored-by: Jo <joao.guerreiro@grafana.com>
2025-04-22 09:46:13 +02:00
Stephanie Hingtgen
2e878c4fdc [release 12.0.1] Dashboards: Preserve schema version in /api (#104213) (#104249)
Some checks failed
Backend Unit Tests / Grafana (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (push) Has been cancelled
Integration Tests / MySQL (push) Has been cancelled
Integration Tests / Postgres (push) Has been cancelled
Sync to mirror / trigger_downstream_patch_mirror (push) Has been cancelled
Dashboards: Preserve schema version in /api (#104213)


---------

Co-authored-by: Artur Wierzbicki <artur.wierzbicki@grafana.com>
2025-04-21 18:40:34 -05:00
Stephanie Hingtgen
4d6d46a181 [release 12.0.1] Klog: Prevent response bodies from being logged (#104247) 2025-04-21 23:07:53 +01:00
grafana-delivery-bot[bot]
b9ee6bae38 [release-12.0.1] Alerting: Ensure field validators return the proper type (#104243)
Alerting: Ensure field validators return the proper type (#104050)

* Ensure field validators return the proper type

This ensures correct error propagation through services up to
the API layer.

* Move error wrapping up to call site

(cherry picked from commit 820c338414)

Co-authored-by: William Wernert <william.wernert@grafana.com>
2025-04-21 21:17:40 +01:00
Yuri Tseretyan
341a885a38 [release-12.0.1] Docs: Remove mention of alertingApiServer flag from alerting documentation (#104205)
Some checks failed
Backend Unit Tests / Grafana (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (push) Has been cancelled
Integration Tests / MySQL (push) Has been cancelled
Integration Tests / Postgres (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
Sync to mirror / trigger_downstream_patch_mirror (push) Has been cancelled
Docs: Remove mention of alertingApiServer flag from alerting documentation (#104131)

(cherry picked from commit 1bafd5c807)

# Conflicts:
#	docs/sources/alerting/set-up/configure-rbac/_index.md
2025-04-18 15:57:29 -04:00
grafana-delivery-bot[bot]
910ce8367a [release-12.0.1] Transformations: Wrap field names selection, prevent rendering off-screen (#104186)
Transformations: Remove deprecated ui element and wrap pills (#104143)

* Remove deprecated ui element and wrap pills

* Fix for labels to fields too

* Update betterer

(cherry picked from commit 57fd67436e)

Co-authored-by: Kristina <kristina.durivage@grafana.com>
2025-04-18 11:52:18 -05:00
grafana-delivery-bot[bot]
a6a5c77add [release-12.0.1] InfluxDB: Fix nested variable interpolation (#104176)
Some checks failed
Backend Unit Tests / Grafana (push) Has been cancelled
Backend Unit Tests / Grafana Enterprise (push) Has been cancelled
CodeQL checks / Analyze (go) (push) Has been cancelled
CodeQL checks / Analyze (javascript) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
Lint Frontend / Verify i18n (push) Has been cancelled
Lint Frontend / Lint (push) Has been cancelled
Lint Frontend / Typecheck (push) Has been cancelled
Lint Frontend / Betterer (push) Has been cancelled
End-to-end tests / Build & Package Grafana (push) Has been cancelled
End-to-end tests / dashboards-suite (push) Has been cancelled
End-to-end tests / panels-suite (push) Has been cancelled
End-to-end tests / smoke-tests-suite (push) Has been cancelled
End-to-end tests / various-suite (push) Has been cancelled
End-to-end tests / old-arch/dashboards-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/panels-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/smoke-tests-suite (old arch) (push) Has been cancelled
End-to-end tests / old-arch/various-suite (old arch) (push) Has been cancelled
Frontend tests / Unit tests (1 / 8) (push) Has been cancelled
Frontend tests / Unit tests (2 / 8) (push) Has been cancelled
Frontend tests / Unit tests (3 / 8) (push) Has been cancelled
Frontend tests / Unit tests (4 / 8) (push) Has been cancelled
Frontend tests / Unit tests (5 / 8) (push) Has been cancelled
Frontend tests / Unit tests (6 / 8) (push) Has been cancelled
Frontend tests / Unit tests (7 / 8) (push) Has been cancelled
Frontend tests / Unit tests (8 / 8) (push) Has been cancelled
Integration Tests / Sqlite (push) Has been cancelled
Integration Tests / MySQL (push) Has been cancelled
Integration Tests / Postgres (push) Has been cancelled
publish-technical-documentation-release / sync (push) Has been cancelled
Sync to mirror / trigger_downstream_patch_mirror (push) Has been cancelled
InfluxDB: Fix nested variable interpolation (#104067)

Validate query type

(cherry picked from commit 519b75bd1e)

Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
2025-04-17 17:29:00 +01:00
grafana-delivery-bot[bot]
e94d5f0119 [release-12.0.1] Provisioning: Add banner with more feature info (#104146)
Provisioning: Add banner with more feature info (#104111)

* Provisioning: Add experimental feature banner

* translations

(cherry picked from commit d85d730d9c)

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2025-04-17 07:09:33 +01:00
grafana-delivery-bot[bot]
9eb36ac222 [release-12.0.1] Docs: Updating cloud migration docs ahead of G12 (#104134)
Co-authored-by: Michael Mandrus <41969079+mmandrus@users.noreply.github.com>
Co-authored-by: Jacob Valdez <jacob.valdez@grafana.com>
2025-04-16 15:20:33 -05:00
Nick Richmond
2e6bfb76cb MetricsDrilldown: Restore link to Metrics Drilldown from Explore (#104073)
MetricsDrilldown: Restore link to Metrics Drilldown from Explore (#104069)

fix: add missing entry in list of queryless apps
2025-04-16 12:55:28 -04:00
Laura Fernández
173db4aac7 [release-12.0.1] i18n: Move locale code behind the feature toggle in internationalization/dates.ts (#104090) 2025-04-16 15:34:44 +02:00
Jev Forsberg
44cfb7c6b4 Chore: Update version in release-12.0.1 branch (#104061)
baldm0mma/ update version to 12.0.1
2025-04-15 12:29:38 -06:00
6693 changed files with 161631 additions and 406868 deletions

View File

@@ -1,26 +0,0 @@
[build]
bin = "./bin/grafana"
args_bin = ["server", "-profile", "-profile-addr=127.0.0.1", "-profile-port=6000", "-profile-block-rate=1", "-profile-mutex-rate=5", "-packaging=dev", "cfg:app_mode=development"]
cmd = "make GO_BUILD_DEV=1 build-backend"
exclude_regex = ["_test.go", "_gen.go"]
exclude_unchanged = true
follow_symlink = true
include_dir = ["apps", "conf", "devenv/dev-dashboards", "pkg", "public/views"]
include_ext = ["go", "ini", "toml", "html", "json"]
pre_cmd = ["make gen-go"]
stop_on_error = true
send_interrupt = true
kill_delay = 500
[log]
time = true
[misc]
clean_on_exit = false
[proxy]
enabled = false
[screen]
clear_on_rebuild = false
keep_scroll = true

View File

@@ -10,7 +10,6 @@ const testingLibraryPlugin = require('eslint-plugin-testing-library');
const grafanaConfig = require('@grafana/eslint-config/flat');
const grafanaPlugin = require('@grafana/eslint-plugin');
const grafanaI18nPlugin = require('@grafana/i18n/eslint-plugin');
// Include the Grafana config and remove the rules,
// as we just want to pull in all of the necessary configuration but not run the rules
@@ -66,7 +65,6 @@ module.exports = [
'no-barrel-files': barrelPlugin,
'@grafana': grafanaPlugin,
'testing-library': testingLibraryPlugin,
'@grafana/i18n': grafanaI18nPlugin,
},
linterOptions: {
// This reports unused disable directives that we can clean up but
@@ -98,57 +96,33 @@ module.exports = [
},
},
{
files: ['**/*.{js,jsx,ts,tsx}'],
ignores: [
'**/*.{test,spec}.{ts,tsx}',
'**/__mocks__/**',
'**/public/test/**',
'**/mocks.{ts,tsx}',
'**/spec/**/*.{ts,tsx}',
],
files: ['**/*.{ts,tsx}'],
ignores: ['**/*.{test,spec}.{ts,tsx}', '**/__mocks__/**', '**/public/test/**', '**/mocks.{ts,tsx}'],
rules: {
'@typescript-eslint/consistent-type-assertions': ['error', { assertionStyle: 'never' }],
},
},
{
files: ['**/*.{js,jsx,ts,tsx}'],
ignores: [
'**/*.{test,spec}.{ts,tsx}',
'**/__mocks__/**',
'**/public/test/**',
'**/mocks.{ts,tsx}',
'**/spec/**/*.{ts,tsx}',
],
rules: {
'no-restricted-syntax': [
'error',
{
selector: 'Identifier[name=localStorage]',
message: 'Direct usage of localStorage is not allowed. import store from @grafana/data instead',
},
{
selector: 'MemberExpression[object.name=localStorage]',
message: 'Direct usage of localStorage is not allowed. import store from @grafana/data instead',
},
{
selector:
'Program:has(ImportDeclaration[source.value="@grafana/ui"] ImportSpecifier[imported.name="Card"]) JSXOpeningElement[name.name="Card"]:not(:has(JSXAttribute[name.name="noMargin"]))',
message:
'Add noMargin prop to Card components to remove built-in margins. Use layout components like Stack or Grid with the gap prop instead for consistent spacing.',
},
{
selector:
'Program:has(ImportDeclaration[source.value="@grafana/ui"] ImportSpecifier[imported.name="Field"]) JSXOpeningElement[name.name="Field"]:not(:has(JSXAttribute[name.name="noMargin"]))',
message:
'Add noMargin prop to Field components to remove built-in margins. Use layout components like Stack or Grid with the gap prop instead for consistent spacing.',
},
],
},
},
{
files: ['public/app/**/*.{ts,tsx}'],
rules: {
'no-barrel-files/no-barrel-files': 'error',
},
},
{
files: ['public/**/*.tsx', 'packages/grafana-ui/**/*.tsx'],
ignores: ['public/app/plugins/**', '**/*.story.tsx', '**/*.{test,spec}.{ts,tsx}', '**/__mocks__/', 'public/test'],
rules: {
'@grafana/no-untranslated-strings': [
'error',
{
forceFix: [
// Add paths here that are happy to be auto fixed by this rule,
// for example
// 'public/app/features/alerting'
],
},
],
'@grafana/no-translation-top-level': 'error',
},
},
];

File diff suppressed because it is too large Load Diff

View File

@@ -1,41 +0,0 @@
## API
### Adding and Upgrading Tools
To add a new tool, execute the installation script:
```bash
install.sh <tool>
```
#### Example
The following command will add `lefthook` to the tracked tools if it is not already installed, or update its version:
```bash
install.sh github.com/evilmartians/lefthook@v1.11.10
```
Behind the scenes, the script performs a few simple steps:
- Creates a Go module under the `.citools/src/<toolname>` directory to track the tool version and its dependencies.
- Creates a reference to the tool binary in the `.citools/Variables.mk` file.
### Using Tools in the Makefile
Our Makefile imports `.citools/Variables.mk`, so you can call a tool binary using standard Make syntax.
#### Example
```make
run:
$(bra) run
```
### Using Tracked Tools Without the Makefile
If you want to use a tool outside of the Makefile, you can locate the tool binary by executing the following command:
```bash
GOWORK=off go tool -n -modfile=<path_to_modfile> <toolname>
```

View File

@@ -1,34 +0,0 @@
# Generated tool paths
tools_dir := $(shell cd $(dir $(lastword $(MAKEFILE_LIST))) && pwd)
src_dir := $(tools_dir)/src
# Due to a race condition, after initial call to `go tool` golang may report a wrong binary location pointing to the invalid `/tmp/go-buildXXX` directory
define compile_tool
$(shell \
(cd $(src_dir)/$(1) \
&& GOWORK=off go tool -n $(2) > /dev/null \
&& GOWORK=off go tool -n $(2)) | sed 's/^[[:space:]]*//g'; \
)
endef
# Tool: "bra"
bra = "$(call compile_tool,bra,github.com/unknwon/bra)"
# Tool: "cog"
cog = "$(call compile_tool,cog,github.com/grafana/cog/cmd/cli)"
# Tool: "cue"
cue = "$(call compile_tool,cue,cuelang.org/go/cmd/cue)"
# Tool: "golangci-lint"
golangci-lint = "$(call compile_tool,golangci-lint,github.com/golangci/golangci-lint/v2/cmd/golangci-lint)"
# Tool: "jb"
jb = "$(call compile_tool,jb,github.com/jsonnet-bundler/jsonnet-bundler/cmd/jb)"
# Tool: "lefthook"
lefthook = "$(call compile_tool,lefthook,github.com/evilmartians/lefthook)"
# Tool: "swagger"
swagger = "$(call compile_tool,swagger,github.com/go-swagger/go-swagger/cmd/swagger)"

View File

@@ -17,7 +17,7 @@ require (
github.com/google/go-cmp v0.7.0 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/grafana/codejen v0.0.4-0.20230321061741-77f656893a3d // indirect
github.com/grafana/cog v0.0.34 // indirect
github.com/grafana/cog v0.0.28 // indirect
github.com/hashicorp/errwrap v1.1.0 // indirect
github.com/hashicorp/go-multierror v1.1.1 // indirect
github.com/huandu/xstrings v1.5.0 // indirect

View File

@@ -27,8 +27,8 @@ github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/grafana/codejen v0.0.4-0.20230321061741-77f656893a3d h1:hrXbGJ5jgp6yNITzs5o+zXq0V5yT3siNJ+uM8LGwWKk=
github.com/grafana/codejen v0.0.4-0.20230321061741-77f656893a3d/go.mod h1:zmwwM/DRyQB7pfuBjTWII3CWtxcXh8LTwAYGfDfpR6s=
github.com/grafana/cog v0.0.34 h1:tXtjIB0A0Y6jeZ5iAQBJIAz5vkAJsV0iEFfX94PH/+Q=
github.com/grafana/cog v0.0.34/go.mod h1:UDstzYqMdgIROmbfkHL8fB9XWQO2lnf5z+4W/eJo4Dc=
github.com/grafana/cog v0.0.28 h1:0+FNuxyfNWm1OBZPPjgBIno3nzR4gOpSxsVe34hdN7g=
github.com/grafana/cog v0.0.28/go.mod h1:wZWsTLV7uX0jCbGpqvjawQ7JbaDVT9oW+PQhHwqanHc=
github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4=
github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY2I=
github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4=

View File

@@ -1,36 +0,0 @@
#!/bin/bash
set -euo pipefail
TOOLS_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
TOOLS_SRC_DIR="$TOOLS_DIR/src"
TOOLS_MK="$TOOLS_DIR/Variables.mk"
echo "# Generated tool paths" > "$TOOLS_MK"
cat <<'EOL' >> "$TOOLS_MK"
tools_dir := $(shell cd $(dir $(lastword $(MAKEFILE_LIST))) && pwd)
src_dir := $(tools_dir)/src
# Due to a race condition, after initial call to `go tool` golang may report a wrong binary location pointing to the invalid `/tmp/go-buildXXX` directory
define compile_tool
$(shell \
(cd $(src_dir)/$(1) \
&& GOWORK=off go tool -n $(2) > /dev/null \
&& GOWORK=off go tool -n $(2)) | sed 's/^[[:space:]]*//g'; \
)
endef
EOL
for tooldir in "$TOOLS_SRC_DIR"/*; do
[ -d "$tooldir" ] || continue
tool=$(basename "$tooldir")
fqtn=$(awk '/^tool / { print $2 }' "$tooldir/go.mod")
cat <<EOL >> "$TOOLS_MK"
# Tool: "$tool"
${tool} = "\$(call compile_tool,${tool},${fqtn})"
EOL
done

View File

@@ -131,7 +131,7 @@ require (
github.com/prometheus/client_golang v1.22.0 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.63.0 // indirect
github.com/prometheus/procfs v0.16.0 // indirect
github.com/prometheus/procfs v0.16.1 // indirect
github.com/quasilyte/go-ruleguard v0.4.4 // indirect
github.com/quasilyte/go-ruleguard/dsl v0.3.22 // indirect
github.com/quasilyte/gogrep v0.5.0 // indirect
@@ -185,7 +185,7 @@ require (
go.uber.org/automaxprocs v1.6.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.27.0 // indirect
golang.org/x/exp v0.0.0-20250305212735-054e65f0b394 // indirect
golang.org/x/exp v0.0.0-20250506013437-ce4c2cf36ca6 // indirect
golang.org/x/exp/typeparams v0.0.0-20250210185358-939b2ce775ac // indirect
golang.org/x/mod v0.24.0 // indirect
golang.org/x/sync v0.14.0 // indirect

View File

@@ -310,8 +310,8 @@ github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.63.0 h1:YR/EIY1o3mEFP/kZCD7iDMnLPlGyuU2Gb3HIcXnA98k=
github.com/prometheus/common v0.63.0/go.mod h1:VVFF/fBIoToEnWRVkYoXEkq3R3paCoxG9PXP74SnV18=
github.com/prometheus/procfs v0.16.0 h1:xh6oHhKwnOJKMYiYBDWmkHqQPyiY40sny36Cmx2bbsM=
github.com/prometheus/procfs v0.16.0/go.mod h1:8veyXUu3nGP7oaCxhX6yeaM5u4stL2FeMXnCqhDthZg=
github.com/prometheus/procfs v0.16.1 h1:hZ15bTNuirocR6u0JZ6BAHHmwS1p8B4P6MRqxtzMyRg=
github.com/prometheus/procfs v0.16.1/go.mod h1:teAbpZRB1iIAJYREa1LsoWUXykVXA1KlTmWl8x/U+Is=
github.com/quasilyte/go-ruleguard v0.4.4 h1:53DncefIeLX3qEpjzlS1lyUmQoUEeOWPFWqaTJq9eAQ=
github.com/quasilyte/go-ruleguard v0.4.4/go.mod h1:Vl05zJ538vcEEwu16V/Hdu7IYZWyKSwIy4c88Ro1kRE=
github.com/quasilyte/go-ruleguard/dsl v0.3.22 h1:wd8zkOhSNr+I+8Qeciml08ivDt1pSXe60+5DqOpCjPE=
@@ -453,8 +453,8 @@ golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPh
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
golang.org/x/crypto v0.13.0/go.mod h1:y6Z2r+Rw4iayiXXAIxJIDAJ1zMW4yaTpebo8fPOliYc=
golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4=
golang.org/x/exp v0.0.0-20250305212735-054e65f0b394 h1:nDVHiLt8aIbd/VzvPWN6kSOPE7+F/fNFDSXLVYkE/Iw=
golang.org/x/exp v0.0.0-20250305212735-054e65f0b394/go.mod h1:sIifuuw/Yco/y6yb6+bDNfyeQ/MdPUy/hKEMYQV17cM=
golang.org/x/exp v0.0.0-20250506013437-ce4c2cf36ca6 h1:y5zboxd6LQAqYIhHnB48p0ByQ/GnQx2BE33L8BOHQkI=
golang.org/x/exp v0.0.0-20250506013437-ce4c2cf36ca6/go.mod h1:U6Lno4MTRCDY+Ba7aCcauB9T60gsv5s4ralQzP72ZoQ=
golang.org/x/exp/typeparams v0.0.0-20220428152302-39d4317da171/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk=
golang.org/x/exp/typeparams v0.0.0-20230203172020-98cc5a0785f9/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk=
golang.org/x/exp/typeparams v0.0.0-20250210185358-939b2ce775ac h1:TSSpLIG4v+p0rPv1pNOQtl1I8knsO4S9trOxNMOLVP4=

View File

@@ -1,33 +0,0 @@
#!/bin/bash
set -euo pipefail
TOOLS_BASE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
TOOLS_SRC_DIR="$TOOLS_BASE_DIR/src"
IMPORT_PATH_WITH_VERSION="$1"
if [[ "$IMPORT_PATH_WITH_VERSION" != *"@"* ]]; then
echo "Error: tool version must be specified (e.g., github.com/foo/bar@v1.2.3)"
exit 1
fi
TOOL_PATH="${IMPORT_PATH_WITH_VERSION%@*}"
TOOL_NAME="${TOOL_PATH##*/}"
TOOL_DIR="$TOOLS_SRC_DIR/$TOOL_NAME"
MOD_FILE="$TOOL_DIR/go.mod"
mkdir -p "$TOOL_DIR"
cd "$TOOL_DIR"
# Create a new module if go.mod doesn't exist
if [ ! -f go.mod ]; then
go mod init "$TOOL_NAME"
fi
go get -tool --modfile="$MOD_FILE" "$IMPORT_PATH_WITH_VERSION"
echo "Installed $TOOL_NAME"
echo " Directory: $TOOL_DIR"
echo " Modfile: $MOD_FILE"
exec "$TOOLS_BASE_DIR/generate.sh"

View File

@@ -42,11 +42,10 @@ require (
github.com/subosito/gotenv v1.6.0 // indirect
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/exp v0.0.0-20250305212735-054e65f0b394 // indirect
golang.org/x/exp v0.0.0-20250506013437-ce4c2cf36ca6 // indirect
golang.org/x/sys v0.33.0 // indirect
golang.org/x/term v0.32.0 // indirect
golang.org/x/text v0.25.0 // indirect
golang.org/x/tools v0.33.0 // indirect
gopkg.in/alessio/shellescape.v1 v1.0.0-20170105083845-52074bc9df61 // indirect
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect

View File

@@ -88,8 +88,8 @@ github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e h1:JVG44RsyaB9T2KIHavM
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e/go.mod h1:RbqR21r5mrJuqunuUZ/Dhy/avygyECGrLceyNeo4LiM=
go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0=
go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y=
golang.org/x/exp v0.0.0-20250305212735-054e65f0b394 h1:nDVHiLt8aIbd/VzvPWN6kSOPE7+F/fNFDSXLVYkE/Iw=
golang.org/x/exp v0.0.0-20250305212735-054e65f0b394/go.mod h1:sIifuuw/Yco/y6yb6+bDNfyeQ/MdPUy/hKEMYQV17cM=
golang.org/x/exp v0.0.0-20250506013437-ce4c2cf36ca6 h1:y5zboxd6LQAqYIhHnB48p0ByQ/GnQx2BE33L8BOHQkI=
golang.org/x/exp v0.0.0-20250506013437-ce4c2cf36ca6/go.mod h1:U6Lno4MTRCDY+Ba7aCcauB9T60gsv5s4ralQzP72ZoQ=
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.33.0 h1:q3i8TbbEz+JRD9ywIRlyRAQbM0qF7hu24q3teo2hbuw=
golang.org/x/sys v0.33.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=

View File

@@ -12,6 +12,7 @@ load("scripts/drone/events/main.star", "main_pipelines")
load("scripts/drone/events/pr.star", "pr_pipelines")
load(
"scripts/drone/events/release.star",
"integration_test_pipelines",
"publish_artifacts_pipelines",
"publish_npm_pipelines",
"publish_packages_pipeline",
@@ -37,6 +38,7 @@ def main(_ctx):
publish_npm_pipelines() +
publish_packages_pipeline() +
rgm() +
integration_test_pipelines() +
cronjobs() +
secrets()
)

2390
.drone.yml

File diff suppressed because it is too large Load Diff

139
.github/CODEOWNERS vendored
View File

@@ -48,10 +48,7 @@
/docs/sources/developers/plugins/ @grafana/plugins-platform-frontend @grafana/plugins-platform-backend
/docs/sources/dashboards/share-dashboards-panels/_index.md @imatwawana @jtvdez
/docs/sources/dashboards/share-dashboards-panels/shared-dashboards/index.md @jtvdez
/docs/sources/panels-visualizations/query-transform-data/transform-data/index.md @imatwawana @baldm0mma
/docs/sources/panels-visualizations/query-transform-data/sql-expressions/index.md @lwandz13 @irenerl24
# END Technical documentation
# Backend code
@@ -70,7 +67,6 @@
/scripts/go-workspace @grafana/grafana-app-platform-squad
/scripts/ci/backend-tests @grafana/grafana-operator-experience-squad
/hack/ @grafana/grafana-app-platform-squad
/.air.toml @macabu
/pkg/apis/provisioning @grafana/grafana-git-ui-sync-team
/public/app/features/provisioning @grafana/grafana-git-ui-sync-team
@@ -82,7 +78,6 @@
/apps/playlist/ @grafana/grafana-app-platform-squad
/apps/investigations/ @fcjack @matryer @svennergr
/apps/advisor/ @grafana/plugins-platform-backend
/apps/iam/ @grafana/access-squad
/pkg/api/ @grafana/grafana-backend-group
/pkg/apis/ @grafana/grafana-app-platform-squad
/pkg/apis/query @grafana/grafana-datasources-core-services
@@ -138,7 +133,7 @@
/pkg/services/apikey/ @grafana/identity-squad
/pkg/services/cleanup/ @grafana/grafana-backend-group
/pkg/services/contexthandler/ @grafana/grafana-backend-group @grafana/grafana-app-platform-squad
/pkg/services/correlations/ @grafana/datapro
/pkg/services/correlations/ @grafana/dataviz-squad
/pkg/services/dashboardimport/ @grafana/grafana-backend-group
/pkg/services/dashboards/ @grafana/grafana-app-platform-squad
/pkg/services/dashboardversion/ @grafana/grafana-backend-group
@@ -171,7 +166,7 @@
/pkg/services/tag/ @grafana/grafana-search-and-storage
/pkg/services/team/ @grafana/access-squad
/pkg/services/temp_user/ @grafana/grafana-backend-group
/pkg/services/updatemanager/ @grafana/grafana-backend-group
/pkg/services/updatechecker/ @grafana/grafana-backend-group
/pkg/services/user/ @grafana/access-squad
/pkg/services/validations/ @grafana/grafana-backend-group
/pkg/setting/ @grafana/grafana-backend-services-squad
@@ -179,7 +174,7 @@
/pkg/tests/apis/ @grafana/grafana-app-platform-squad
/pkg/tests/apis/query @grafana/grafana-datasources-core-services
/pkg/tests/apis/alerting @grafana/grafana-app-platform-squad @grafana/alerting-backend
/pkg/tests/api/correlations/ @grafana/datapro
/pkg/tests/api/correlations/ @grafana/dataviz-squad
/pkg/tsdb/grafanads/ @grafana/grafana-backend-group
/pkg/tsdb/opentsdb/ @grafana/partner-datasources
/pkg/util/ @grafana/grafana-backend-group
@@ -193,8 +188,8 @@
/devenv/docker/blocks/auth/ @grafana/identity-access-team
# Logs code, developers environment
/devenv/docker/blocks/loki* @grafana/oss-big-tent
/devenv/docker/blocks/elastic* @grafana/partner-datasources
/devenv/docker/blocks/loki* @grafana/observability-logs
/devenv/docker/blocks/elastic* @grafana/aws-datasources
/devenv/docker/blocks/self-instrumentation* @grafana/oss-big-tent
/devenv/bulk-dashboards/ @grafana/dashboards-squad
@@ -231,7 +226,7 @@
/devenv/dev-dashboards/dashboards.go @grafana/dataviz-squad
/devenv/dev-dashboards/home.json @grafana/dataviz-squad
/devenv/dev-dashboards/datasource-elasticsearch/ @grafana/partner-datasources
/devenv/dev-dashboards/datasource-elasticsearch/ @grafana/aws-datasources
/devenv/dev-dashboards/datasource-opentsdb/ @grafana/partner-datasources
/devenv/dev-dashboards/datasource-influxdb/ @grafana/partner-datasources
/devenv/dev-dashboards/datasource-mssql/ @grafana/partner-datasources
@@ -261,11 +256,11 @@
/devenv/docker/blocks/etcd @grafana/grafana-app-platform-squad
/devenv/docker/blocks/grafana/ @grafana/grafana-as-code
/devenv/docker/blocks/graphite/ @grafana/partner-datasources
/devenv/docker/blocks/graphite09/ @grafana/partner-datasources
/devenv/docker/blocks/graphite1/ @grafana/partner-datasources
/devenv/docker/blocks/influxdb/ @grafana/partner-datasources
/devenv/docker/blocks/influxdb1/ @grafana/partner-datasources
/devenv/docker/blocks/jaeger/ @grafana/oss-big-tent
/devenv/docker/blocks/jaegeronly/ @grafana/grafana-operator-experience-squad
/devenv/docker/blocks/maildev/ @grafana/alerting-frontend
/devenv/docker/blocks/mariadb/ @grafana/oss-big-tent
/devenv/docker/blocks/memcached/ @grafana/grafana-backend-group
@@ -335,8 +330,8 @@
# Observability backend code
/pkg/tsdb/prometheus/ @grafana/oss-big-tent
/pkg/tsdb/elasticsearch/ @grafana/partner-datasources
/pkg/tsdb/loki/ @grafana/oss-big-tent
/pkg/tsdb/elasticsearch/ @grafana/aws-datasources
/pkg/tsdb/loki/ @grafana/observability-logs
/pkg/tsdb/tempo/ @grafana/observability-traces-and-profiling
/pkg/tsdb/grafana-pyroscope-datasource/ @grafana/observability-traces-and-profiling
/pkg/tsdb/parca/ @grafana/oss-big-tent
@@ -373,8 +368,8 @@
/public/app/features/gops/ @grafana/alerting-frontend
# Library Services
/pkg/services/libraryelements/ @grafana/sharing-squad
/pkg/services/librarypanels/ @grafana/sharing-squad
/pkg/services/libraryelements/ @grafana/dashboards-squad
/pkg/services/librarypanels/ @grafana/dashboards-squad
# Plugins
/pkg/api/pluginproxy/ @grafana/plugins-platform-backend
@@ -406,7 +401,7 @@
# Packages
/packages/ @grafana/grafana-frontend-platform @grafana/plugins-platform-frontend
/packages/grafana-data/src/**/*logs* @grafana/observability-logs
/packages/grafana-data/src/transformations/ @grafana/datapro
/packages/grafana-data/src/transformations/ @grafana/dataviz-squad
/packages/grafana-e2e-selectors/ @grafana/grafana-frontend-platform
/packages/grafana-flamegraph/ @grafana/observability-traces-and-profiling
/packages/grafana-o11y-ds-frontend/ @grafana/observability-logs
@@ -443,8 +438,6 @@
/packages/grafana-ui/src/graveyard/TimeSeries/ @grafana/dataviz-squad
/packages/grafana-ui/src/utils/storybook/ @grafana/grafana-frontend-platform
/packages/grafana-alerting/ @grafana/alerting-frontend
/packages/grafana-i18n/ @grafana/grafana-frontend-platform @grafana/plugins-platform-frontend
/packages/grafana-test-utils @grafana/grafana-frontend-platform
# root files, mostly frontend
/.browserslistrc @grafana/frontend-ops
@@ -472,7 +465,6 @@
/stylelint.config.js @grafana/frontend-ops
/tools/ @grafana/frontend-ops
/lefthook.yml @grafana/frontend-ops
/lefthook.rc @grafana/frontend-ops
/.husky/pre-commit @grafana/frontend-ops
/cypress.config.js @grafana/grafana-frontend-platform
/.levignore.js @grafana/plugins-platform-frontend
@@ -488,7 +480,7 @@ playwright.config.ts @grafana/plugins-platform-frontend
/public/app/core/components/TimelineChart/ @grafana/dataviz-squad
/public/app/core/components/Form/ @grafana/grafana-frontend-platform
/public/app/core/components/OptionsUI/ @grafana/dashboards-squad @grafana/dataviz-squad
/public/app/dev-utils.ts @grafana/grafana-frontend-platform
/public/app/core/history/ @grafana/observability-traces-and-profiling
/public/app/features/admin/ @grafana/identity-access-team
@@ -499,29 +491,32 @@ playwright.config.ts @grafana/plugins-platform-frontend
/public/app/features/actions/ @grafana/dataviz-squad
/public/app/features/auth-config/ @grafana/identity-squad
/public/app/features/annotations/ @grafana/dashboards-squad
/public/app/features/api-keys/ @grafana/identity-squad
/public/app/features/canvas/ @grafana/dataviz-squad
/public/app/features/geo/ @grafana/dataviz-squad
/public/app/features/visualization/data-hover/ @grafana/dataviz-squad
/public/app/features/commandPalette/ @grafana/grafana-search-navigate-organise
/public/app/features/commandPalette/ @grafana/grafana-frontend-platform
/public/app/features/connections/ @grafana/plugins-platform-frontend
/public/app/features/correlations/ @grafana/datapro
/public/app/features/correlations/ @grafana/dataviz-squad
/public/app/features/dashboard/ @grafana/dashboards-squad
/public/app/features/dashboard/components/TransformationsEditor/ @grafana/datapro
/public/app/features/dashboard/components/TransformationsEditor/ @grafana/dataviz-squad
/public/app/features/dashboard-scene/ @grafana/dashboards-squad
/public/app/features/scopes/ @grafana/grafana-operator-experience-squad
/public/app/features/scopes/ @grafana/dashboards-squad
/public/app/features/datasources/ @grafana/plugins-platform-frontend
/public/app/features/dimensions/ @grafana/dataviz-squad
/public/app/features/dataframe-import/ @grafana/dataviz-squad
/public/app/features/explore/ @grafana/observability-traces-and-profiling
/public/app/features/expressions/ @grafana/grafana-datasources-core-services
/public/app/features/folders/ @grafana/grafana-search-navigate-organise
/public/app/features/folders/ @grafana/grafana-frontend-platform
/public/app/features/inspector/ @grafana/dashboards-squad
/public/app/features/invites/ @grafana/grafana-frontend-platform
/public/app/features/library-panels/ @grafana/dashboards-squad
/public/app/features/logs/ @grafana/observability-logs
/public/app/features/live/ @grafana/dashboards-squad
/public/app/features/apiserver/ @grafana/grafana-app-platform-squad
/public/app/features/manage-dashboards/ @grafana/dashboards-squad
/public/app/features/notifications/ @grafana/grafana-search-navigate-organise
/public/app/features/org/ @grafana/grafana-search-navigate-organise
/public/app/features/notifications/ @grafana/grafana-frontend-platform
/public/app/features/org/ @grafana/grafana-frontend-platform
/public/app/features/panel/ @grafana/dashboards-squad
/public/app/features/playlist/ @grafana/dashboards-squad
/public/app/features/plugins/ @grafana/plugins-platform-frontend
@@ -529,27 +524,27 @@ playwright.config.ts @grafana/plugins-platform-frontend
/public/app/features/runtime/ @ryantxu
/public/app/features/query/ @grafana/dashboards-squad
/public/app/features/sandbox/ @grafana/grafana-frontend-platform
/public/app/features/browse-dashboards/ @grafana/grafana-search-navigate-organise
/public/app/features/search/ @grafana/grafana-search-navigate-organise
/public/app/features/browse-dashboards/ @grafana/grafana-frontend-platform
/public/app/features/search/ @grafana/grafana-frontend-platform
/public/app/features/serviceaccounts/ @grafana/identity-squad
/public/app/features/teams/ @grafana/access-squad
/public/app/features/templating/ @grafana/dashboards-squad
/public/app/features/trails/ @grafana/observability-metrics
/public/app/features/transformers/ @grafana/datapro
/public/app/features/transformers/ @grafana/dataviz-squad
/public/app/features/transformers/timeSeriesTable/ @grafana/dataviz-squad @grafana/app-o11y-visualizations
/public/app/features/users/ @grafana/access-squad
/public/app/features/variables/ @grafana/dashboards-squad
/public/app/features/preferences/ @grafana/grafana-frontend-platform
/public/app/features/bookmarks/ @grafana/grafana-search-navigate-organise
/public/app/features/bookmarks/ @grafana/grafana-frontend-platform
/public/app/plugins/panel/alertlist/ @grafana/alerting-frontend
/public/app/plugins/panel/annolist/ @grafana/dashboards-squad
/public/app/plugins/panel/annolist/ @grafana/grafana-frontend-platform
/public/app/plugins/panel/barchart/ @grafana/dataviz-squad
/public/app/plugins/panel/bargauge/ @grafana/dataviz-squad
/public/app/plugins/panel/dashlist/ @grafana/grafana-search-navigate-organise
/public/app/plugins/panel/dashlist/ @grafana/grafana-frontend-platform
/public/app/plugins/panel/debug/ @ryantxu
/public/app/plugins/panel/datagrid/ @grafana/dataviz-squad
/public/app/plugins/panel/gauge/ @grafana/dataviz-squad
/public/app/plugins/panel/gettingstarted/ @grafana/grafana-search-navigate-organise
/public/app/plugins/panel/gettingstarted/ @grafana/grafana-frontend-platform
/public/app/plugins/panel/heatmap/ @grafana/dataviz-squad
/public/app/plugins/panel/histogram/ @grafana/dataviz-squad
/public/app/plugins/panel/logs/ @grafana/observability-logs
@@ -568,12 +563,12 @@ playwright.config.ts @grafana/plugins-platform-frontend
/public/app/plugins/panel/canvas/ @grafana/dataviz-squad
/public/app/plugins/panel/candlestick/ @grafana/dataviz-squad
/public/app/plugins/panel/live/ @grafana/dashboards-squad
/public/app/plugins/panel/news/ @grafana/dataviz-squad
/public/app/plugins/panel/news/ @grafana/grafana-frontend-platform
/public/app/plugins/panel/stat/ @grafana/dataviz-squad
/public/app/plugins/panel/text/ @grafana/dataviz-squad
/public/app/plugins/panel/welcome/ @grafana/grafana-search-navigate-organise
/public/app/plugins/panel/text/ @grafana/grafana-frontend-platform
/public/app/plugins/panel/welcome/ @grafana/grafana-frontend-platform
/public/app/plugins/panel/xychart/ @grafana/dataviz-squad
/public/app/routes/ @grafana/grafana-search-navigate-organise
/public/app/routes/ @grafana/grafana-frontend-platform
/public/app/store/ @grafana/grafana-frontend-platform
/public/app/types/ @grafana/grafana-frontend-platform
/public/app/types/alerting.ts @grafana/alerting-frontend
@@ -601,6 +596,7 @@ playwright.config.ts @grafana/plugins-platform-frontend
/public/app/features/explore/NodeGraph/ @grafana/observability-traces-and-profiling
/public/app/features/explore/FlameGraph/ @grafana/observability-traces-and-profiling
/public/app/features/explore/TraceView/ @grafana/observability-traces-and-profiling
/public/app/features/explore/QueryLibrary/ @grafana/grafana-frontend-platform
/public/api-merged.json @grafana/grafana-backend-group
/public/api-enterprise-spec.json @grafana/grafana-backend-group
@@ -609,7 +605,6 @@ playwright.config.ts @grafana/plugins-platform-frontend
/public/app/dev.ts @grafana/frontend-ops
/public/app/core/utils/metrics.ts @grafana/plugins-platform-frontend
/public/app/index.ts @grafana/frontend-ops
/public/app/initApp.ts @grafana/frontend-ops
/public/app/AppWrapper.tsx @grafana/frontend-ops
/public/app/partials/ @grafana/grafana-frontend-platform
@@ -619,7 +614,7 @@ playwright.config.ts @grafana/plugins-platform-frontend
/scripts/circle-* @grafana/grafana-developer-enablement-squad
/scripts/publish-npm-packages.sh @grafana/grafana-developer-enablement-squad @grafana/plugins-platform-frontend
/scripts/validate-npm-packages.sh @grafana/grafana-developer-enablement-squad @grafana/plugins-platform-frontend
/scripts/ci-frontend-metrics.sh @grafana/grafana-frontend-platform @grafana/plugins-platform-frontend @grafana/dataviz-squad @grafana/datapro
/scripts/ci-frontend-metrics.sh @grafana/grafana-frontend-platform @grafana/plugins-platform-frontend @grafana/dataviz-squad
/scripts/cli/ @grafana/grafana-frontend-platform
/scripts/clean-git-or-error.sh @grafana/grafana-as-code
/scripts/grafana-server/ @grafana/grafana-frontend-platform
@@ -642,11 +637,12 @@ playwright.config.ts @grafana/plugins-platform-frontend
/scripts/levitate-parse-json-report.js @grafana/plugins-platform-frontend
/scripts/levitate-show-affected-plugins.js @grafana/plugins-platform-frontend
/scripts/codemods/explicit-barrel-imports.cjs @grafana/frontend-ops
/scripts/rtk-client-generator/ @grafana/grafana-search-navigate-organise
/scripts/**/generate-transformations* @grafana/datapro
/scripts/**/generate-transformations* @grafana/dataviz-squad
/scripts/webpack/ @grafana/frontend-ops
/scripts/generate-a11y-report.sh @grafana/grafana-frontend-platform
.pa11yci.conf.js @grafana/grafana-frontend-platform
.pa11yci-pr.conf.js @grafana/grafana-frontend-platform
.betterer.results @grafanabot
.betterer.ts @grafana/grafana-frontend-platform
@@ -656,14 +652,14 @@ playwright.config.ts @grafana/plugins-platform-frontend
# Core datasources
/public/app/plugins/datasource/dashboard/ @grafana/dashboards-squad
/public/app/plugins/datasource/cloudwatch/ @grafana/aws-datasources
/public/app/plugins/datasource/elasticsearch/ @grafana/partner-datasources
/public/app/plugins/datasource/elasticsearch/ @grafana/aws-datasources
/public/app/plugins/datasource/grafana/ @grafana/grafana-frontend-platform
/public/app/plugins/datasource/grafana-testdata-datasource/ @grafana/plugins-platform-frontend
/public/app/plugins/datasource/azuremonitor/ @grafana/partner-datasources
/public/app/plugins/datasource/graphite/ @grafana/partner-datasources
/public/app/plugins/datasource/influxdb/ @grafana/partner-datasources
/public/app/plugins/datasource/jaeger/ @grafana/oss-big-tent
/public/app/plugins/datasource/loki/ @grafana/oss-big-tent @grafana/observability-logs
/public/app/plugins/datasource/loki/ @grafana/observability-logs
/public/app/plugins/datasource/mixed/ @grafana/dashboards-squad
/public/app/plugins/datasource/mssql/ @grafana/partner-datasources
/public/app/plugins/datasource/mysql/ @grafana/oss-big-tent
@@ -680,23 +676,13 @@ playwright.config.ts @grafana/plugins-platform-frontend
# Grafana Sharing Squad
/public/app/features/dashboard-scene/sharing/ @grafana/sharing-squad
/public/app/features/dashboard/components/ShareModal/ @grafana/sharing-squad
/public/app/features/manage-dashboards/components/PublicDashboardListTable/ @grafana/sharing-squad
/public/app/features/dashboard/containers/PublicDashboardPage.tsx @grafana/sharing-squad
/public/app/features/manage-dashboards/components/SnapshotListTable.tsx @grafana/sharing-squad
/pkg/api/render.go @grafana/sharing-squad
/pkg/services/dashboardsnapshots/ @grafana/sharing-squad
/public/app/features/explore/QueryLibrary/ @grafana/sharing-squad
/public/app/features/library-panels/ @grafana/sharing-squad
/public/app/features/invites/ @grafana/sharing-squad
# Grafana Enterprise: Public Dashboards & Image Renderer
/pkg/api/render.go @grafana/grafana-operator-experience-squad
/pkg/services/publicdashboards/ @grafana/grafana-operator-experience-squad
/pkg/services/rendering/ @grafana/grafana-operator-experience-squad
/public/app/features/dashboard/containers/PublicDashboardPage* @grafana/grafana-operator-experience-squad
/public/app/features/dashboard/components/PublicDashboard/ @grafana/grafana-operator-experience-squad
/public/app/features/dashboard/components/PublicDashboardNotAvailable/ @grafana/grafana-operator-experience-squad
/public/app/features/dashboard/components/ShareModal/SharePublicDashboard/ @grafana/grafana-operator-experience-squad
/public/app/features/dashboard-scene/sharing/public-dashboards/ @grafana/grafana-operator-experience-squad
/public/app/features/manage-dashboards/components/PublicDashboardListTable/ @grafana/grafana-operator-experience-squad
/public/app/features/manage-dashboards/PublicDashboardListPage.tsx* @grafana/grafana-operator-experience-squad
/pkg/services/publicdashboards/ @grafana/sharing-squad
/pkg/services/rendering/ @grafana/sharing-squad
# SSE - Server Side Expressions
/pkg/expr/ @grafana/grafana-datasources-core-services
@@ -710,11 +696,11 @@ playwright.config.ts @grafana/plugins-platform-frontend
/pkg/services/anonymous/ @grafana/identity-access-team
/pkg/services/auth/ @grafana/identity-squad
/pkg/services/authn/ @grafana/identity-squad
/pkg/services/scimutil/ @grafana/identity-squad
/pkg/services/authz/ @grafana/access-squad
/pkg/services/signingkeys/ @grafana/identity-squad
/pkg/services/dashboards/accesscontrol.go @grafana/access-squad
/pkg/services/datasources/guardian/ @grafana/access-squad
/pkg/services/guardian/ @grafana/access-squad
/pkg/services/ldap/ @grafana/identity-squad
/pkg/services/login/ @grafana/identity-squad
/pkg/services/loginattempt/ @grafana/identity-squad
@@ -747,11 +733,11 @@ embed.go @grafana/grafana-as-code
/pkg/kinds/ @grafana/grafana-as-code
/pkg/registry/ @grafana/grafana-as-code
/pkg/registry/apis/ @grafana/grafana-app-platform-squad
/pkg/registry/apis/alerting @grafana/grafana-app-platform-squad @grafana/alerting-backend
/pkg/registry/apis/query @grafana/grafana-datasources-core-services
/pkg/registry/apis/secret @grafana/grafana-operator-experience-squad
/pkg/registry/apis/userstorage @grafana/grafana-app-platform-squad @grafana/plugins-platform-backend
/pkg/registry/apps/advisor @grafana/plugins-platform-backend
/pkg/registry/apps/alerting @grafana/alerting-backend
/pkg/codegen/ @grafana/grafana-as-code
/pkg/codegen/generators @grafana/grafana-as-code
/pkg/kinds/*/*_gen.go @grafana/grafana-as-code
@@ -767,15 +753,13 @@ embed.go @grafana/grafana-as-code
/.github/commands.json @torkelo
/.github/dependabot.yml @grafana/frontend-ops
/.github/issue-opened.json @grafana/grafana-community-support
/.github/metrics-collector.json @torkelo
/.github/pr-checks.json @tolzhabayev
/.github/pr-commands.json @tolzhabayev
/.github/renovate.json5 @grafana/frontend-ops
/.github/actions/setup-enterprise/action.yml @grafana/grafana-backend-group
/.github/actions/test-coverage-processor/action.yml @grafana/grafana-backend-group
/.github/actions/setup-grafana-bench/ @Proximyst
/.github/actions/build-package @grafana/grafana-developer-enablement-squad
/.github/actions/change-detection @grafana/grafana-developer-enablement-squad
/.github/workflows/actionlint-format.txt @grafana/grafana-developer-enablement-squad
/.github/workflows/actionlint.yml @grafana/grafana-developer-enablement-squad
/.github/workflows/add-to-whats-new.yml @grafana/docs-tooling
/.github/workflows/auto-triager/ @grafana/plugins-platform-frontend
/.github/workflows/alerting-swagger-gen.yml @grafana/alerting-backend
@@ -783,8 +767,7 @@ embed.go @grafana/grafana-as-code
/.github/workflows/auto-milestone.yml @grafana/grafana-developer-enablement-squad
/.github/workflows/backend-code-checks.yml @grafana/grafana-backend-group
/.github/workflows/backend-unit-tests.yml @grafana/grafana-backend-group
/.github/workflows/backport-trigger.yml @grafana/grafana-developer-enablement-squad
/.github/workflows/backport-workflow.yml @grafana/grafana-developer-enablement-squad
/.github/workflows/backport.yml @grafana/grafana-developer-enablement-squad
/.github/workflows/bump-version.yml @grafana/grafana-developer-enablement-squad
/.github/workflows/release-pr.yml @grafana/grafana-developer-enablement-squad
/.github/workflows/release-comms.yml @grafana/grafana-developer-enablement-squad
@@ -802,15 +785,14 @@ embed.go @grafana/grafana-as-code
/.github/workflows/github-release.yml @grafana/grafana-developer-enablement-squad
/.github/workflows/issue-opened.yml @grafana/grafana-community-support
/.github/workflows/lint-build-docs.yml @grafana/docs-tooling
/.github/workflows/metrics-collector.yml @torkelo
/.github/workflows/pr-checks.yml @tolzhabayev
/.github/workflows/pr-codeql-analysis-javascript.yml @DanCech
/.github/workflows/pr-codeql-analysis-python.yml @DanCech
/.github/workflows/pr-commands.yml @tolzhabayev
/.github/workflows/pr-external-labelling.yml @Proximyst
/.github/workflows/pr-patch-check-event.yml @grafana/grafana-developer-enablement-squad
/.github/workflows/pr-patch-check.yml @grafana/grafana-developer-enablement-squad
/.github/workflows/pr-test-integration.yml @grafana/grafana-backend-group
/.github/workflows/reject-gh-secrets.yml @grafana/grafana-developer-enablement-squad
/.github/workflows/pr-backend-coverage.yml @grafana/grafana-backend-group
/.github/workflows/sync-mirror-event.yml @grafana/grafana-developer-enablement-squad
/.github/workflows/publish-technical-documentation-next.yml @grafana/docs-tooling
/.github/workflows/publish-technical-documentation-release.yml @grafana/docs-tooling
@@ -825,38 +807,29 @@ embed.go @grafana/grafana-as-code
/.github/workflows/verify-kinds.yml @grafana/platform-monitoring
/.github/workflows/dashboards-issue-add-label.yml @grafana/dashboards-squad
/.github/workflows/run-schema-v2-e2e.yml @grafana/dashboards-squad
/.github/workflows/e2e-dashboard-new-layouts.yml @grafana/dashboards-squad
/.github/workflows/run-dashboard-search-e2e.yml @grafana/grafana-search-and-storage
/.github/workflows/trigger-dashboard-search-e2e.yml @grafana/grafana-search-and-storage
/.github/workflows/ephemeral-instances-pr-comment.yml @grafana/grafana-operator-experience-squad
/.github/workflows/ephemeral-instances-pr-comment.yml @grafana/grafana-backend-services-squad
/.github/workflows/create-security-patch-from-security-mirror.yml @grafana/grafana-developer-enablement-squad
/.github/workflows/core-plugins-build-and-release.yml @grafana/plugins-platform-frontend @grafana/plugins-platform-backend
/.github/workflows/i18n-crowdin-upload.yml @grafana/grafana-frontend-platform
/.github/workflows/i18n-crowdin-download.yml @grafana/grafana-frontend-platform
/.github/workflows/i18n-crowdin-create-tasks.yml @grafana/grafana-frontend-platform
/.github/workflows/i18n-verify.yml @grafana/grafana-frontend-platform
/.github/workflows/deploy-storybook-preview.yml @grafana/grafana-frontend-platform
/.github/workflows/scripts/crowdin/create-tasks.ts @grafana/grafana-frontend-platform
/.github/workflows/scripts/crowdin/create-tasks.js @grafana/grafana-frontend-platform
/.github/workflows/pr-go-workspace-check.yml @grafana/grafana-app-platform-squad
/.github/workflows/pr-dependabot-update-go-workspace.yml @grafana/grafana-app-platform-squad
/.github/workflows/pr-k8s-codegen-check.yml @grafana/grafana-app-platform-squad
/.github/workflows/go-lint.yml @grafana/grafana-backend-services-squad
/.github/workflows/trivy-scan.yml @grafana/grafana-backend-services-squad
/.github/workflows/trufflehog.yml @Proximyst
/.github/workflows/changelog.yml @zserge
/.github/workflows/shellcheck.yml @grafana/grafana-developer-enablement-squad
/.github/workflows/release-build.yml @grafana/grafana-developer-enablement-squad
/.github/workflows/publish-artifact.yml @grafana/grafana-developer-enablement-squad
/.github/actions/changelog @zserge
/.github/workflows/swagger-gen.yml @grafana/grafana-backend-group
/.github/workflows/pr-frontend-unit-tests.yml @grafana/grafana-frontend-platform
/.github/workflows/frontend-lint.yml @grafana/grafana-frontend-platform
/.github/workflows/analytics-events-report.yml @grafana/grafana-frontend-platform
/.github/workflows/pr-e2e-tests.yml @grafana/grafana-developer-enablement-squad
/.github/workflows/run-e2e-suite.yml @grafana/grafana-developer-enablement-squad
/.github/workflows/skye-add-to-project.yml @grafana/grafana-frontend-platform
/.github/zizmor.yml @grafana/grafana-developer-enablement-squad
/.github/license_finder.yaml @bergquist
/.github/actionlint.yaml @grafana/grafana-developer-enablement-squad
# Generated files not requiring owner approval
/packages/grafana-data/src/types/featureToggles.gen.ts @grafanabot

View File

@@ -1,8 +0,0 @@
# These are just aliases to github-hosted runners
self-hosted-runner:
labels:
- github-hosted-ubuntu-arm64
- github-hosted-ubuntu-arm64-large
- github-hosted-ubuntu-x64-small
- github-hosted-ubuntu-x64-large
- github-hosted-windows-x64-large

View File

@@ -1,152 +0,0 @@
name: Build and Package Grafana Enterprise / Pro
description: Creates Grafana artifacts using Dagger & `pkg/build/daggerbuild`
inputs:
artifacts:
description: |
Comma-delimited list of artifacts to build and package.
Artifacts follow a specific format of `{package-type}:{grafana-edition}:{architecture}`.
Not every combination of `package-type`, `grafana-edition`, and `architecture` are supported.
Examples:
* `grafana:linux/amd64:targz`, `grafana:linux/amd64:deb`
* `enterprise:linux/arm64:rpm, enterprise:linux/amd64:docker`
* `pro:docker:llinux/amd64`
required: true
type: string
grafana-path:
description: Path to a clone of the 'grafana' repo
default: grafana
type: string
grafana-enterprise-path:
description: Path to a clone of the 'grafana-enterprise' repo
default: grafana-enterprise
type: string
github-token:
type: string
required: true
version:
type: string
description: The version to embed in the grafana binary, example `v1.2.3`. If not provided, then the value in Grafana's package.json will be used
required: true
build-id:
type: string
description: an identifier number which can be traced back to the workflow run.
default: ${{github.run_id}}
required: false
patches-repo:
type: string
description: Repository to load for patches repo. If empty, patches won't be applied. Must be an HTTPS git URL.
required: false
default: ""
patches-ref:
type: string
description: git ref in the patches repo to check out.
required: false
default: main
patches-path:
type: string
description: Path in the repository where `.patch` files can be found.
required: false
default: main
checksum:
type: boolean
description: If true, then checksums will be produced for each file (with a '.sha256' extension)
required: false
default: false
verify:
type: boolean
description: If true, then the e2e smoke tests will run to verify the produced artifacts (--verify)
required: false
default: false
output:
type: string
description: Filename to redirect stdout to. Contains list of packages that were produced
default: packages.txt
required: false
docker-tag-format:
type: string
default: "{{ .version }}-{{ .arch }}"
description: Go template of Docker image tag
required: false
docker-tag-format-ubuntu:
type: string
default: "{{ .version }}-ubuntu-{{ .arch }}"
description: Go template of Docker image tag
required: false
docker-org:
type: string
description: Docker org of produced images
default: grafana
required: false
docker-registry:
type: string
description: Docker registry of produced images
default: docker.io
required: false
ubuntu-base:
type: string
default: 'ubuntu:22.04'
required: false
alpine-base:
type: string
default: 'alpine:3.22'
required: false
outputs:
dist-dir:
description: Directory where artifacts are placed
value: ${{ steps.output.outputs.dist_dir }}
file:
description: Path to file containing list of artifacts produced
value: ${{ steps.output.outputs.file }}
grafana-commit:
description: Commit hash of the HEAD of the grafana repository used to build grafana.
value: ${{ steps.output.outputs.grafana_commit }}
enterprise-commit:
description: Commit hash of the HEAD of the grafana-enterprise repository used to build grafana.
value: ${{ steps.output.outputs.enterprise_commit }}
version:
description: The `grafana` version that was embedded in the binary
value: ${{ steps.output.outputs.version }}
runs:
using: "composite"
steps:
- shell: bash
run: | # zizmor: ignore[github-env]
echo "GRAFANA_PATH=${{ github.workspace }}/${GRAFANA_DIR}" >> "$GITHUB_ENV"
echo "ENTERPRISE_PATH=${{ github.workspace }}/${ENTERPRISE_DIR}" >> "$GITHUB_ENV"
env:
GB_PATH: ${{ inputs.path }}
GRAFANA_DIR: ${{ inputs.grafana-path }}
ENTERPRISE_DIR: ${{ inputs.enterprise-path }}
- name: Build Grafana Enterprise packages
uses: dagger/dagger-for-github@e47aba410ef9bb9ed81a4d2a97df31061e5e842e
env:
VERSION: ${{ inputs.version }}
ARTIFACTS: ${{ inputs.artifacts }}
GITHUB_TOKEN: ${{ inputs.github-token }}
PATCHES_REPO: ${{ inputs.patches-repo }}
PATCHES_REF: ${{ inputs.patches-ref }}
PATCHES_PATH: ${{ inputs.patches-path }}
BUILD_ID: ${{ inputs.build-id }}
OUTFILE: ${{ inputs.output }}
DOCKER_ORG: ${{ inputs.docker-org }}
DOCKER_REGISTRY: ${{ inputs.docker-registry }}
TAG_FORMAT: ${{ inputs.docker-tag-format }}
UBUNTU_TAG_FORMAT: ${{ inputs.docker-tag-format-ubuntu }}
CHECKSUM: ${{ inputs.checksum }}
VERIFY: ${{ inputs.verify }}
ALPINE_BASE: ${{ inputs.alpine-base }}
UBUNTU_BASE: ${{ inputs.ubuntu-base }}
with:
verb: run
dagger-flags: --verbose=0
args: go run -C ${GRAFANA_PATH} ./pkg/build/cmd artifacts --artifacts ${ARTIFACTS} --grafana-dir=${GRAFANA_PATH} --alpine-base=${ALPINE_BASE} --ubuntu-base=${UBUNTU_BASE} --enterprise-dir=${ENTERPRISE_PATH} --version=${VERSION} --patches-repo=${PATCHES_REPO} --patches-ref=${PATCHES_REF} --patches-path=${PATCHES_PATH} --build-id=${BUILD_ID} --tag-format="${TAG_FORMAT}" --ubuntu-tag-format="${UBUNTU_TAG_FORMAT}" --org=${DOCKER_ORG} --registry=${DOCKER_REGISTRY} --checksum=${CHECKSUM} --verify=${VERIFY} > $OUTFILE
- id: output
shell: bash
env:
OUTFILE: ${{ inputs.output }}
run: |
echo "dist_dir=dist" | tee -a $GITHUB_OUTPUT
echo "file=${OUTFILE}" | tee -a $GITHUB_OUTPUT
echo "grafana_commit=$(git -C ${GRAFANA_PATH} rev-parse HEAD)" | tee -a $GITHUB_OUTPUT
echo "enterprise_commit=$(git -C ${ENTERPRISE_PATH} rev-parse HEAD)" | tee -a $GITHUB_OUTPUT
echo "version=$(cat ${GRAFANA_BUILD_PATH}/dist/VERSION)" | tee -a $GITHUB_OUTPUT

View File

@@ -1,141 +0,0 @@
name: Detect changed files
description: Detects whether any matching files have changed in the current PR
inputs:
self:
description: The path to the calling workflow (e.g. .github/workflows/backend-unit-tests.yml). It is regarded as any category.
required: true
outputs:
self:
description: Whether the calling workflow has changed in any way
value: ${{ steps.changed-files.outputs.self_any_changed || 'true' }}
backend:
description: Whether the backend or self have changed in any way
value: ${{ steps.changed-files.outputs.backend_any_changed || 'true' }}
frontend:
description: Whether the frontend or self has changed in any way
value: ${{ steps.changed-files.outputs.frontend_any_changed || 'true' }}
e2e:
description: Whether the e2e tests or self have changed in any way
value: ${{ steps.changed-files.outputs.e2e_any_changed == 'true' ||
steps.changed-files.outputs.backend_any_changed == 'true' ||
steps.changed-files.outputs.frontend_any_changed == 'true' || 'true' }}
dev-tooling:
description: Whether the dev tooling or self have changed in any way
value: ${{ steps.changed-files.outputs.dev_tooling_any_changed || 'true' }}
docs:
description: Whether the docs or self have changed in any way
value: ${{ steps.changed-files.outputs.docs_any_changed || 'true' }}
runs:
using: composite
steps:
# Assumption: We've done a checkout with the actions/checkout action.
# It must persist credentials to allow the changed-files action to get more history.
- name: Detect changes
id: changed-files
if: github.event_name == 'pull_request'
uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46
with:
files_yaml: |
self:
- '.github/actions/change-detection/**'
- '${{ inputs.self }}'
backend:
- '!*.md'
- '!docs/**'
- '!.github/**'
- '.github/actions/setup-enterprise/**'
- '.github/actions/checkout/**'
- '**/go.mod'
- '**/go.sum'
- '**.go'
- 'pkg/**'
- '!pkg/**.md'
- 'apps/**'
- '!apps/**.md'
- 'build.sh'
- '.github/actions/change-detection/**'
- '**.cue'
- 'devenv/docker/blocks/*_tests/**'
- 'kindsv2/**'
- '${{ inputs.self }}'
frontend:
- '.github/actions/setup-enterprise/**'
- '.github/actions/checkout/**'
- 'public/**'
- '**.js'
- '**.jsx'
- '**.ts'
- '**.tsx'
- '**.css'
- '**.mjs'
- 'yarn.lock'
- 'package.json'
- '!**.md'
- '.github/actions/change-detection/**'
- '**.cue'
- '.prettier*'
- '.betterer*'
- '.yarnrc.yml'
- 'eslint.config.js'
- 'jest.config.js'
- 'nx.json'
- 'tsconfig.json'
- '.yarn/**'
- '${{ inputs.self }}'
e2e:
- 'e2e/**'
- '.github/actions/setup-enterprise/**'
- '.github/actions/checkout/**'
- 'emails/**'
- 'pkg/**'
- 'proto/**'
- '**/Makefile'
- 'scripts/**'
- '!scripts/drone/**'
- '!**.md'
- '.github/actions/change-detection/**'
- '**.cue'
- 'conf/**'
- 'cypress.config.js'
- '${{ inputs.self }}'
dev_tooling:
- '.github/actions/setup-enterprise/**'
- '.github/actions/checkout/**'
- '**.sh'
- '.trivyignore'
- '.prettierrc.js'
- '**/Makefile'
- 'proto/**.yaml'
- 'pkg/build/**'
- 'pkg/wire/**'
- 'scripts/**'
- '!**.md'
- '.citools/**'
- '.bingo/**'
- '.github/actions/change-detection/**'
- '${{ inputs.self }}'
docs:
- 'contribute/**'
- 'docs/**'
- '**.md'
- 'LICENSE'
- '.vale.ini'
- '.github/actions/change-detection/**'
- '${{ inputs.self }}'
- name: Print all change groups
shell: bash
run: |
echo "Self: ${{ steps.changed-files.outputs.self_any_changed || 'true' }}"
echo " --> ${{ steps.changed-files.outputs.self_all_changed_files }}"
echo "Backend: ${{ steps.changed-files.outputs.backend_any_changed || 'true' }}"
echo " --> ${{ steps.changed-files.outputs.backend_all_changed_files }}"
echo "Frontend: ${{ steps.changed-files.outputs.frontend_any_changed || 'true' }}"
echo " --> ${{ steps.changed-files.outputs.frontend_all_changed_files }}"
echo "E2E: ${{ steps.changed-files.outputs.e2e_any_changed || 'true' }}"
echo " --> ${{ steps.changed-files.outputs.e2e_all_changed_files }}"
echo " --> ${{ steps.changed-files.outputs.backend_all_changed_files }}"
echo " --> ${{ steps.changed-files.outputs.frontend_all_changed_files }}"
echo "Dev Tooling: ${{ steps.changed-files.outputs.dev_tooling_any_changed || 'true' }}"
echo " --> ${{ steps.changed-files.outputs.dev_tooling_all_changed_files }}"
echo "Docs: ${{ steps.changed-files.outputs.docs_any_changed || 'true' }}"
echo " --> ${{ steps.changed-files.outputs.docs_all_changed_files }}"

View File

@@ -1,7 +1,6 @@
import {appendFileSync, writeFileSync} from 'fs';
import {exec as execCallback} from 'node:child_process';
import {promisify} from 'node:util';
import {findPreviousVersion, semverParse} from "./semver.js";
import { appendFileSync, writeFileSync } from 'fs';
import { exec as execCallback } from 'node:child_process';
import { promisify } from 'node:util';
//
// Github Action core utils: logging (notice + debug log levels), must escape
@@ -10,6 +9,35 @@ import {findPreviousVersion, semverParse} from "./semver.js";
const escapeData = (s) => s.replace(/%/g, '%25').replace(/\r/g, '%0D').replace(/\n/g, '%0A');
const LOG = (msg) => console.log(`::notice::${escapeData(msg)}`);
//
// Semver utils: parse, compare, sort etc (using official regexp)
// https://regex101.com/r/Ly7O1x/3/
//
const semverRegExp =
/^v?(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/;
const semverParse = (tag) => {
const m = tag.match(semverRegExp);
if (!m) {
return;
}
const [_, major, minor, patch, prerelease] = m;
return [+major, +minor, +patch, prerelease, tag];
};
// semverCompare takes two parsed semver tags and comparest them more or less
// according to the semver specs
const semverCompare = (a, b) => {
for (let i = 0; i < 3; i++) {
if (a[i] !== b[i]) {
return a[i] < b[i] ? 1 : -1;
}
}
if (a[3] !== b[3]) {
return a[3] < b[3] ? 1 : -1;
}
return 0;
};
// Using `git tag -l` output find the tag (version) that goes semantically
// right before the given version. This might not work correctly with some
@@ -17,32 +45,29 @@ const LOG = (msg) => console.log(`::notice::${escapeData(msg)}`);
// into this action explicitly to avoid this step.
const getPreviousVersion = async (version) => {
const exec = promisify(execCallback);
const {stdout} = await exec('git for-each-ref --sort=-creatordate --format \'%(refname:short)\' refs/tags');
const parsedTags = stdout
const { stdout } = await exec('git tag -l');
const prev = stdout
.split('\n')
.map(semverParse)
.filter(Boolean);
const parsedVersion = semverParse(version);
const prev = findPreviousVersion(parsedTags, parsedVersion);
.filter((tag) => tag)
.sort(semverCompare)
.find((tag) => semverCompare(tag, semverParse(version)) > 0);
if (!prev) {
throw `Could not find previous git tag for ${version}`;
}
return prev[5];
return prev[4];
};
// A helper for Github GraphQL API endpoint
const graphql = async (ghtoken, query, variables) => {
const {env} = process;
const { env } = process;
const results = await fetch('https://api.github.com/graphql', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
Authorization: `Bearer ${ghtoken}`,
},
body: JSON.stringify({query, variables}),
body: JSON.stringify({ query, variables }),
});
const res = await results.json();
@@ -75,7 +100,7 @@ const getCommitishDate = async (name, owner, target) => {
}
}
`,
{name, owner, target}
{ name, owner, target }
);
return result.repository.object.committedDate;
};
@@ -135,7 +160,7 @@ const getHistory = async (name, owner, from, to) => {
let cursor;
let nodes = [];
for (; ;) {
for (;;) {
const result = await graphql(ghtoken, query, {
name,
owner,
@@ -145,7 +170,7 @@ const getHistory = async (name, owner, from, to) => {
});
LOG(`GraphQL: ${JSON.stringify(result)}`);
nodes = [...nodes, ...result.repository.ref.compare.commits.nodes];
const {hasNextPage, endCursor} = result.repository.ref.compare.commits.pageInfo;
const { hasNextPage, endCursor } = result.repository.ref.compare.commits.pageInfo;
if (!hasNextPage) {
break;
}
@@ -161,7 +186,7 @@ const getHistory = async (name, owner, from, to) => {
// PR grouping relies on Github labels only, not on the PR contents.
const getChangeLogItems = async (name, owner, from, to) => {
// check if a node contains a certain label
const hasLabel = ({labels}, label) => labels.nodes.some(({name}) => name === label);
const hasLabel = ({ labels }, label) => labels.nodes.some(({ name }) => name === label);
// get all the PRs between the two "commitish" items
const history = await getHistory(name, owner, from, to);
@@ -172,17 +197,17 @@ const getChangeLogItems = async (name, owner, from, to) => {
return [];
}
const item = changes[0];
const {number, url, labels} = item;
const { number, url, labels } = item;
const title = item.title.replace(/^\[[^\]]+\]:?\s*/, '');
// for changelog PRs try to find a suitable category.
// Note that we can not detect "deprecation notices" like that
// as there is no suitable label yet.
const isBug = /fix/i.test(title) || hasLabel({labels}, 'type/bug');
const isBreaking = hasLabel({labels}, 'breaking change');
const isBug = /fix/i.test(title) || hasLabel({ labels }, 'type/bug');
const isBreaking = hasLabel({ labels }, 'breaking change');
const isPlugin =
hasLabel({labels}, 'area/grafana/ui') ||
hasLabel({labels}, 'area/grafana/toolkit') ||
hasLabel({labels}, 'area/grafana/runtime');
hasLabel({ labels }, 'area/grafana/ui') ||
hasLabel({ labels }, 'area/grafana/toolkit') ||
hasLabel({ labels }, 'area/grafana/runtime');
const author = item.commits.nodes[0].commit.author.user?.login;
return {
repo: name,
@@ -202,7 +227,7 @@ const getChangeLogItems = async (name, owner, from, to) => {
// ======================================================
LOG(`Changelog action started`);
console.log(process.argv);
const ghtoken = process.env.GITHUB_TOKEN || process.env.INPUT_GITHUB_TOKEN;
if (!ghtoken) {
throw 'GITHUB_TOKEN is not set and "github_token" input is empty';
@@ -261,15 +286,15 @@ const markdown = (changelog) => {
: `### ${title}
${items
.map(
(item) =>
`- ${item.title.replace(/^([^:]*:)/gm, '**$1**')} ${
item.repo === 'grafana-enterprise'
? '(Enterprise)'
: `${pullRequestLink(item.number)}${item.author ? ', ' + userLink(item.author) : ''}`
}`
)
.join('\n')}
.map(
(item) =>
`- ${item.title.replace(/^([^:]*:)/gm, '**$1**')} ${
item.repo === 'grafana-enterprise'
? '(Enterprise)'
: `${pullRequestLink(item.number)}${item.author ? ', ' + userLink(item.author) : ''}`
}`
)
.join('\n')}
`;
// Render all present sections for the given changelog

View File

@@ -1,92 +0,0 @@
//
// Semver utils: parse, compare, sort etc (using official regexp)
// https://regex101.com/r/Ly7O1x/3/
//
const semverRegExp =
/^v?(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/;
export function semverParse(tag) {
const m = tag.match(semverRegExp);
if (!m) {
return;
}
const [_, major, minor, patch, prerelease, build] = m;
return [+major, +minor, +patch, prerelease, build, tag];
};
// semverCompare takes two parsed semver tags and comparest them more or less
// according to the semver specs
export function semverCompare(a, b) {
for (let i = 0; i < 3; i++) {
if (a[i] !== b[i]) {
return a[i] < b[i] ? 1 : -1;
}
}
if (a[3] !== b[3]) {
return a[3] < b[3] ? 1 : -1;
}
return 0;
};
// Finds the highest version that is lower than the target version.
//
// This function relies on the following invariant: versions are sorted by the release date.
// It will produce wrong result if invariant doesn't hold.
export const findPreviousVersion = (versionByDate, target) => {
let prev = null;
for (let i = 0; i < versionByDate.length; i++) {
const version = versionByDate[i];
// version is greater than the target
if (semverCompare(target, version) > 0) {
continue;
}
// we came across the target version, all versions seen previously have greater release date.
if (semverCompare(target, version) === 0 && target[4] === version[4]) {
prev = null;
continue;
}
if (prev == null) {
prev = version;
continue;
}
if (semverCompare(prev, version) > 0) {
prev = version;
}
}
return prev;
};
const versionsByDate = [
"v10.4.19", "v12.0.1", "v11.6.2", "v11.5.5", "v11.4.5", "v11.3.7", "v11.2.10", "v12.0.0+security-01", "v11.2.9+security-01", "v11.3.6+security-01",
"v11.6.1+security-01", "v11.4.4+security-01", "v11.5.4+security-01", "v10.4.18+security-01", "v12.0.0", "v11.6.1",
"v11.5.4", "v11.4.4", "v11.3.6", "v11.2.9", "v10.4.18", "v11.6.0+security-01", "v11.5.3+security-01", "v11.4.3+security-01",
"v11.3.5+security-01", "v11.2.8+security-01", "v10.4.17+security-01", "v11.2.8", "v11.6.0", "v11.5.2", "v11.4.2",
"v11.3.4", "v11.2.7", "v11.1.12", "v11.0.11", "v10.4.16", "v11.5.1", "v11.5.0", "v11.3.3", "v11.1.11", "v11.2.6",
"v11.0.10", "v10.4.15", "v11.4.1", "v11.4.0", "v11.3.2", "v11.2.5", "v11.1.10", "v11.0.9", "v10.4.14", "v11.3.1",
"v11.2.4", "v11.1.9", "v11.0.8", "v10.4.13", "v11.0.2", "v10.4.6", "v10.3.8", "v10.2.9", "v11.1.0", "v11.0.1",
"v10.4.5", "v10.3.7", "v10.2.8", "v9.5.20", "v10.4.4", "v9.5.19", "v10.1.10", "v10.2.7", "v10.3.6", "v10.4.3",
"v11.0.0", "v10.4.2", "v11.0.0-preview", "v10.1.9", "v10.0.13", "v9.2.0", "v9.1.8",
].map(semverParse);
function test(version, expected) {
const v1 = semverParse(version);
const prev = findPreviousVersion(versionsByDate, v1);
const failureMessage = `FAIILED. Expected ${expected}, but was ${prev[5]}`;
console.log(`Test ${version}, ${prev[5] === expected ? 'PASSED' : failureMessage}`);
}
test("v11.5.4+security-01", "v11.5.4");
test("v11.5.4", "v11.5.3+security-01");
test("v12.0.0", "v11.6.1");
test("v12.0.0+security-01", "v12.0.0");
test("v11.0.0", "v11.0.0-preview");

View File

@@ -34,9 +34,9 @@ runs:
GH_TOKEN: ${{ steps.generate_token.outputs.token }}
run: |
git clone https://x-access-token:${GH_TOKEN}@github.com/grafana/grafana-enterprise.git ../grafana-enterprise;
cd ../grafana-enterprise
if git checkout ${GITHUB_HEAD_REF}; then
echo "checked out ${GITHUB_HEAD_REF}"
elif git checkout ${GITHUB_BASE_REF}; then
@@ -44,5 +44,5 @@ runs:
else
git checkout main
fi
QUIET=1 ./build.sh
./build.sh

View File

@@ -0,0 +1,50 @@
name: 'Go Coverage Processor'
description: 'Process Go test coverage files and generate reports'
inputs:
test-type:
description: 'Type of test (e.g., be-unit, be-integration)'
required: true
type: string
coverage-file:
description: 'Path to the Go coverage file (.cov)'
required: true
type: string
codecov-token:
description: 'Token for CodeCov (required for CodeCov reporting)'
required: false
default: ''
codecov-flag:
description: 'Flag to categorize the upload to CodeCov'
required: false
default: ''
codecov-name:
description: 'Custom name for the upload to CodeCov'
required: false
default: ''
runs:
using: 'composite'
steps:
- name: Process Go coverage output
shell: bash
env:
COVERAGE_FILE: ${{ inputs.coverage-file }}
run: |
# Ensure valid coverage file even if empty
if [ ! -s "$COVERAGE_FILE" ]; then
echo "Coverage file is empty, creating a minimal valid file"
echo "mode: set" > "$COVERAGE_FILE"
fi
- name: Report coverage to CodeCov
uses: codecov/codecov-action@ad3126e916f78f00edff4ed0317cf185271ccc2d # v5
if: inputs.codecov-token != ''
with:
files: ${{ inputs.coverage-file }}
flags: ${{ inputs.codecov-flag || inputs.test-type }}
name: ${{ inputs.codecov-name || inputs.test-type }}
slug: grafana/grafana
# This URL doesn't use the Google auth, but is much more locked down. As such, it requires OIDC or a CodeCov-provided token to do anything.
url: https://codecov-webhook.grafana-dev.net
token: ${{ inputs.codecov-token }}

34
.github/commands.json vendored
View File

@@ -128,7 +128,7 @@
"name": "datasource/Loki",
"action": "addToProject",
"addToProject": {
"url": "https://github.com/orgs/grafana/projects/457"
"url": "https://github.com/orgs/grafana/projects/203"
}
},
{
@@ -160,7 +160,7 @@
"name": "datasource/Elasticsearch",
"action": "addToProject",
"addToProject": {
"url": "https://github.com/orgs/grafana/projects/190"
"url": "https://github.com/orgs/grafana/projects/97"
}
},
{
@@ -488,23 +488,7 @@
"name": "area/transformations",
"action": "addToProject",
"addToProject": {
"url": "https://github.com/orgs/grafana/projects/908"
}
},
{
"type": "label",
"name": "area/correlations",
"action": "addToProject",
"addToProject": {
"url": "https://github.com/orgs/grafana/projects/908"
}
},
{
"type": "label",
"name": "area/expressions/sql",
"action": "addToProject",
"addToProject": {
"url": "https://github.com/orgs/grafana/projects/908"
"url": "https://github.com/orgs/grafana/projects/56"
}
},
{
@@ -664,7 +648,7 @@
"name": "area/frontend/library-panels",
"action": "addToProject",
"addToProject": {
"url": "https://github.com/orgs/grafana/projects/482"
"url": "https://github.com/orgs/grafana/projects/202"
}
},
{
@@ -896,7 +880,7 @@
"name": "area/dashboard/library-panel",
"action": "addToProject",
"addToProject": {
"url": "https://github.com/orgs/grafana/projects/482"
"url": "https://github.com/orgs/grafana/projects/202"
}
},
{
@@ -1210,13 +1194,5 @@
"addToProject": {
"url": "https://github.com/orgs/grafana/projects/699"
}
},
{
"type": "label",
"name": "type/docs",
"action": "addToProject",
"addToProject": {
"url": "https://github.com/orgs/grafana/projects/69"
}
}
]

View File

@@ -1,128 +0,0 @@
---
- - :permit
- MIT
- :who: Carl Bergquist
:why: Compatible license
:versions: []
:when: 2021-03-25 11:11:50.696368005 Z
- - :permit
- Apache 2.0
- :who: Carl Bergquist
:why: Compatible license
:versions: []
:when: 2021-03-25 11:12:09.344787957 Z
- - :permit
- New BSD
- :who: Carl Bergquist
:why: Compatible license
:versions: []
:when: 2021-03-25 11:12:09.344787957 Z
- - :permit
- Simplified BSD
- :who: Carl Bergquist
:why: Compatible license
:versions: []
:when: 2021-03-25 11:12:09.344787957 Z
- - :permit
- Mozilla Public License 2.0
- :who: Carl Bergquist
:why: Compatible license
:versions: []
:when: 2021-03-25 11:12:09.344787957 Z
- - :permit
- ISC
- :who: Carl Bergquist
:why: Compatible license
:versions: []
:when: 2021-03-25 11:12:09.344787957
- - :license
- github.com/grafana/alerting
- GNU Affero GPL
- :who: Carl Bergquist
:why: repository is owned by Grafana Labs
:versions: []
:when: 2025-05-03 13:10:00.000000000 Z
- - :license
- github.com/grafana/grafana/apps/advisor
- unknown
- :who: Carl Bergquist
:why: repository is owned by Grafana Labs
:versions: []
:when: 2025-05-03 13:10:00.000000000 Z
- - :license
- github.com/grafana/grafana/apps/alerting/notifications
- unknown
- :who: Carl Bergquist
:why: repository is owned by Grafana Labs
:versions: []
:when: 2025-05-03 13:10:00.000000000 Z
- - :license
- github.com/grafana/grafana/apps/dashboard
- unknown
- :who: Carl Bergquist
:why: repository is owned by Grafana Labs
:versions: []
:when: 2025-05-03 13:10:00.000000000 Z
- - :license
- github.com/grafana/grafana/apps/folder
- unknown
- :who: Carl Bergquist
:why: repository is owned by Grafana Labs
:versions: []
:when: 2025-05-03 13:10:00.000000000 Z
- - :license
- github.com/grafana/grafana/apps/investigations
- unknown
- :who: Carl Bergquist
:why: repository is owned by Grafana Labs
:versions: []
:when: 2025-05-03 13:10:00.000000000 Z
- - :license
- github.com/grafana/grafana/apps/playlist
- unknown
- :who: Carl Bergquist
:why: repository is owned by Grafana Labs
:versions: []
:when: 2025-05-03 13:10:00.000000000 Z
- - :license
- github.com/grafana/grafana/pkg/aggregator
- unknown
- :who: Carl Bergquist
:why: repository is owned by Grafana Labs
:versions: []
:when: 2025-05-03 13:10:00.000000000 Z
- - :license
- github.com/grafana/grafana/pkg/apimachinery
- unknown
- :who: Carl Bergquist
:why: repository is owned by Grafana Labs
:versions: []
:when: 2025-05-03 13:10:00.000000000 Z
- - :license
- github.com/grafana/grafana/pkg/apis/secret
- unknown
- :who: Carl Bergquist
:why: repository is owned by Grafana Labs
:versions: []
:when: 2025-05-03 13:10:00.000000000 Z
- - :license
- github.com/grafana/grafana/pkg/apiserver
- unknown
- :who: Carl Bergquist
:why: repository is owned by Grafana Labs
:versions: []
:when: 2025-05-03 13:10:00.000000000 Z
- - :license
- github.com/grafana/grafana/pkg/promlib
- unknown
- :who: Carl Bergquist
:why: repository is owned by Grafana Labs
:versions: []
:when: 2025-05-03 13:10:00.000000000 Z
- - :license
- github.com/grafana/grafana/pkg/semconv
- unknown
- :who: Carl Bergquist
:why: repository is owned by Grafana Labs
:versions: []
:when: 2025-05-03 13:10:00.000000000 Z

32
.github/metrics-collector.json vendored Normal file
View File

@@ -0,0 +1,32 @@
{
"queries": [
{
"name": "type_bug",
"query": "label:\"type/bug\" is:issue is:open"
},
{
"name": "type_docs",
"query": "label:\"type/docs\" is:issue is:open"
},
{
"name": "needs_investigation",
"query": "label:\"needs investigation\" is:issue is:open"
},
{
"name": "needs_more_info",
"query": "label:\"needs more info\" is:issue is:open"
},
{
"name": "triage_needs_confirmation",
"query": "label:\"triage/needs-confirmation\" is:issue is:open"
},
{
"name": "unlabeled",
"query": "is:open is:issue no:label"
},
{
"name": "open_prs",
"query": "is:open is:pull-request"
}
]
}

View File

@@ -253,6 +253,38 @@
"action": "updateLabel",
"addLabel": "area/alerting"
},
{
"type": "label",
"name": "area/alerting",
"action": "addToProject",
"addToProject": {
"url": "https://github.com/orgs/grafana/projects/52"
}
},
{
"type": "author",
"name": "pr/external",
"notMemberOf": {
"org": "grafana"
},
"ignoreList": [
"renovate[bot]",
"dependabot[bot]",
"grafana-delivery-bot[bot]",
"grafanabot",
"alerting-team[bot]"
],
"action": "updateLabel",
"addLabel": "pr/external"
},
{
"type": "label",
"name": "type/docs",
"action": "addToProject",
"addToProject": {
"url": "https://github.com/orgs/grafana/projects/69"
}
},
{
"type": "changedfiles",
"matches": [

View File

@@ -2,15 +2,6 @@
extends: ["config:recommended"],
enabledManagers: ["npm"],
ignoreDeps: [
// ignoring these until we can upgrade to react 19
// see epic here: https://github.com/grafana/grafana/issues/98813
'@types/react',
'@types/react-dom',
'eslint-plugin-react-hooks',
'react',
'react-dom',
'react-refresh',
"@types/history", // this can be removed entirely when we upgrade history since v5 exposes types directly
"history", // we should bump this together with react-router-dom (see https://github.com/grafana/grafana/issues/76744)
"react-router", // we should bump this together with history and react-router-dom

View File

@@ -1,66 +0,0 @@
{
"$schema": "https://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Schemata/sarif-schema-2.1.0.json",
"version": "2.1.0",
"runs": [
{
"tool": {
"driver": {
"name": "GitHub Actions lint",
"version": {{ getVersion | json }},
"informationUri": "https://github.com/rhysd/actionlint",
"rules": [
{{$first := true}}
{{range $ := allKinds }}
{{if $first}}{{$first = false}}{{else}},{{end}}
{
"id": {{json $.Name}},
"name": {{$.Name | toPascalCase | json}},
"defaultConfiguration": {
"level": "error"
},
"properties": {
"description": {{json $.Description}},
"queryURI": "https://github.com/rhysd/actionlint/blob/main/docs/checks.md"
},
"fullDescription": {
"text": {{json $.Description}}
},
"helpUri": "https://github.com/rhysd/actionlint/blob/main/docs/checks.md"
}
{{end}}
]
}
},
"results": [
{{$first := true}}
{{range $ := .}}
{{if $first}}{{$first = false}}{{else}},{{end}}
{
"ruleId": {{json $.Kind}},
"message": {
"text": {{json $.Message}}
},
"locations": [
{
"physicalLocation": {
"artifactLocation": {
"uri": {{json $.Filepath}},
"uriBaseId": "%SRCROOT%"
},
"region": {
"startLine": {{$.Line}},
"startColumn": {{$.Column}},
"endColumn": {{$.EndColumn}},
"snippet": {
"text": {{json $.Snippet}}
}
}
}
}
]
}
{{end}}
]
}
]
}

View File

@@ -1,60 +0,0 @@
# This workflow depends on the ./actionlint-format.txt file. It is MIT licensed (thanks, rhysd!): https://github.com/rhysd/actionlint/blob/2ab3a12c7848f6c15faca9a92612ef4261d0e370/testdata/format/sarif_template.txt
name: Actionlint
on:
push:
branches:
- main
- release-*
pull_request:
types:
- opened
- synchronize
- reopened
permissions: {}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
jobs:
run-actionlint:
name: Lint GitHub Actions files
runs-on: ubuntu-latest
permissions:
contents: read # to check out the code
actions: read # to read the workflow files
security-events: write # for uploading the SARIF report
env:
ACTIONLINT_VERSION: 1.7.7
# curl -LXGET https://github.com/rhysd/actionlint/releases/download/v${ACTIONLINT_VERSION}/actionlint_${ACTIONLINT_VERSION}_checksums.txt | grep linux_amd64
CHECKSUM: 023070a287cd8cccd71515fedc843f1985bf96c436b7effaecce67290e7e0757
steps:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
persist-credentials: false
# GitHub Actions only runs x86_64. This will break if that assumption changes.
- name: Download Actionlint
run: |
set -euo pipefail
curl -OLXGET https://github.com/rhysd/actionlint/releases/download/v"${ACTIONLINT_VERSION}"/actionlint_"${ACTIONLINT_VERSION}"_linux_amd64.tar.gz
echo "${CHECKSUM} actionlint_${ACTIONLINT_VERSION}_linux_amd64.tar.gz" | sha256sum -c -
tar xzf actionlint_"${ACTIONLINT_VERSION}"_linux_amd64.tar.gz
test -f actionlint
chmod +x actionlint
- name: Run Actionlint
run: ./actionlint -format "$(cat .github/workflows/actionlint-format.txt)" | tee results.sarif
- name: Upload to GitHub security events
if: success() || failure()
# If there are security problems, GitHub will automatically comment on the PR for us.
uses: github/codeql-action/upload-sarif@28deaeda66b76a05916b6923827895f2b14ab387 # v3.28.16
with:
sarif_file: results.sarif
category: actionlint

View File

@@ -37,7 +37,7 @@ jobs:
id: current-commit
run: |
FROM_COMMIT=$(go list -m -json github.com/grafana/alerting | jq -r '.Version' | grep -oP '(?<=-)[a-f0-9]+$')
echo "from_commit=$FROM_COMMIT" >> "$GITHUB_OUTPUT"
echo "from_commit=$FROM_COMMIT" >> $GITHUB_OUTPUT
- name: Get current branch name
id: current-branch-name
@@ -47,14 +47,14 @@ jobs:
id: latest-commit
env:
GH_TOKEN: ${{ github.token }}
BRANCH: ${{ steps.current-branch-name.outputs.name }}
run: |
TO_COMMIT="$(gh api repos/grafana/alerting/commits/"$BRANCH" --jq '.sha')"
BRANCH="${{ steps.current-branch-name.outputs.name }}"
TO_COMMIT=$(gh api repos/grafana/alerting/commits/$BRANCH --jq '.sha')
if [ -z "$TO_COMMIT" ]; then
echo "Branch $BRANCH not found in alerting repo, falling back to main branch"
exit 1
fi
echo "to_commit=$TO_COMMIT" >> "$GITHUB_OUTPUT"
echo "to_commit=$TO_COMMIT" >> $GITHUB_OUTPUT
- name: Compare commit hashes
run: |
@@ -74,31 +74,26 @@ jobs:
id: check-commits
env:
GH_TOKEN: ${{ github.token }}
FROM_COMMIT: ${{ steps.current-commit.outputs.from_commit }}
TO_COMMIT: ${{ steps.latest-commit.outputs.to_commit }}
run: |
# get all commits that contains 'Alerting:' in the message
ALERTING_COMMITS="$(gh api repos/grafana/alerting/compare/"$FROM_COMMIT"..."$TO_COMMIT" \
--jq '.commits[].commit.message | split("\n")[0]')" || true
# get all commits that contains 'Alerting:' in the message
ALERTING_COMMITS=$(gh api repos/grafana/alerting/compare/${{ steps.current-commit.outputs.from_commit }}...${{ steps.latest-commit.outputs.to_commit }} \
--jq '.commits[].commit.message | split("\n")[0]') || true
# Use printf instead of echo -e for better multiline handling
printf "%s\n" "$ALERTING_COMMITS"
# make the list for markdown and replace PR numbers with links
ALERTING_COMMITS_FORMATTED="$(echo "$ALERTING_COMMITS" | while read -r line; do echo "- $line" | sed -E 's/\(#([0-9]+)\)/[#\1](https:\/\/github.com\/grafana\/grafana\/pull\/\1)/g'; done)"
{
echo "alerting_commits<<EOF"
echo "$ALERTING_COMMITS_FORMATTED"
echo "EOF"
} >> "$GITHUB_OUTPUT"
ALERTING_COMMITS_FORMATTED=$(echo "$ALERTING_COMMITS" | while read -r line; do echo "- $line" | sed -E 's/\(#([0-9]+)\)/[#\1](https:\/\/github.com\/grafana\/grafana\/pull\/\1)/g'; done)
echo "alerting_commits<<EOF" >> $GITHUB_OUTPUT
echo "$ALERTING_COMMITS_FORMATTED" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
- name: Update alerting module
env:
GOSUMDB: off
PINNED_COMMIT: ${{ steps.latest-commit.outputs.to_commit }}
run: |
go get github.com/grafana/alerting@"$PINNED_COMMIT"
go get github.com/grafana/alerting@${{ steps.latest-commit.outputs.to_commit }}
make update-workspace
- id: get-secrets
@@ -129,7 +124,7 @@ jobs:
Compare changes: https://github.com/grafana/alerting/compare/${{ steps.current-commit.outputs.from_commit }}...${{ steps.latest-commit.outputs.to_commit }}
<details>
<summary>Commits</summary>
${{ steps.check-commits.outputs.alerting_commits }}
</details>
@@ -137,10 +132,6 @@ jobs:
Created by: [GitHub Action Job](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})
- name: Add PR URL to Summary
if: steps.create-pr.outputs.pull-request-url != ''
env:
PR_URL: ${{ steps.create-pr.outputs.pull-request-url }}
run: |
{
echo "## Pull Request Created"
echo "🔗 [View Pull Request]($PR_URL)"
} >> "$GITHUB_STEP_SUMMARY"
echo "## Pull Request Created" >> $GITHUB_STEP_SUMMARY
echo "🔗 [View Pull Request](${{ steps.create-pr.outputs.pull-request-url }})" >> $GITHUB_STEP_SUMMARY

View File

@@ -3,13 +3,9 @@ name: Analytics Events Report
on:
workflow_dispatch:
permissions: {}
jobs:
generate-report:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v4

View File

@@ -2,10 +2,16 @@ name: Backend Unit Tests
on:
pull_request:
paths-ignore:
- 'docs/**'
- '**/*.md'
push:
branches:
- main
- release-*.*.*
paths-ignore:
- 'docs/**'
- '**/*.md'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
@@ -14,29 +20,10 @@ concurrency:
permissions: {}
jobs:
detect-changes:
name: Detect whether code changed
runs-on: ubuntu-latest
permissions:
contents: read
outputs:
changed: ${{ steps.detect-changes.outputs.backend }}
steps:
- uses: actions/checkout@v4
with:
persist-credentials: true # required to get more history in the changed-files action
fetch-depth: 2
- name: Detect changes
id: detect-changes
uses: ./.github/actions/change-detection
with:
self: .github/workflows/backend-unit-tests.yml
grafana:
# Run this workflow only for PRs from forks
# Run this workflow only for PRs from forks; if it gets merged into `main` or `release-*`,
# the `pr-backend-unit-tests-enterprise` workflow will run instead
needs: detect-changes
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork == true && needs.detect-changes.outputs.changed == 'true'
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork == true
strategy:
matrix:
shard: [
@@ -60,18 +47,18 @@ jobs:
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Generate Go code
run: make gen-go
- name: Run unit tests
env:
SHARD: ${{ matrix.shard }}
run: |
set -euo pipefail
readarray -t PACKAGES <<< "$(./scripts/ci/backend-tests/shard.sh -N"$SHARD")"
go test -short -timeout=30m "${PACKAGES[@]}"
grafana-enterprise:
# Run this workflow for non-PR events (like pushes to `main` or `release-*`) OR for internal PRs (PRs not from forks)
needs: detect-changes
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false && needs.detect-changes.outputs.changed == 'true'
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false
strategy:
matrix:
shard: [
@@ -86,7 +73,6 @@ jobs:
contents: read
id-token: write
steps:
# Set up repository clone
- name: Checkout code
uses: actions/checkout@v4
with:
@@ -99,48 +85,11 @@ jobs:
uses: ./.github/actions/setup-enterprise
with:
github-app-name: 'grafana-ci-bot'
# Prepare what we need to upload test results
- run: echo "RESULTS_FILE=$(date --rfc-3339=seconds --utc | sed -s 's/ /-/g')_${SHARD/\//_}.xml" >> "$GITHUB_ENV"
env:
SHARD: ${{ matrix.shard }}
- run: go install github.com/jstemmer/go-junit-report/v2@85bf4716ac1f025f2925510a9f5e9f5bb347c009
# Run code
- name: Generate Go code
run: make gen-go
- name: Run unit tests
env:
SHARD: ${{ matrix.shard }}
run: |
set -euo pipefail
readarray -t PACKAGES <<< "$(./scripts/ci/backend-tests/shard.sh -N"$SHARD")"
# This tee requires pipefail to be set, otherwise `go test`'s exit code is thrown away.
# That means having no `-o pipefail` => failing tests => exit code 0, which is wrong.
go test -short -timeout=30m "${PACKAGES[@]}"
# This is the job that is actually required by rulesets.
# We need to require EITHER the OSS or the Enterprise job to pass.
# However, if one is skipped, GitHub won't flat-map the shards,
# so they won't be accepted by a ruleset.
required-backend-unit-tests:
needs:
- grafana
- grafana-enterprise
# always() is the best function here.
# success() || failure() will skip this function if any need is also skipped.
# That means conditional test suites will fail the entire requirement check.
if: always()
name: All backend unit tests complete
runs-on: ubuntu-latest
steps:
- name: Check test suites
env:
NEEDS: ${{ toJson(needs) }}
run: |
FAILURES="$(echo "$NEEDS" | jq 'with_entries(select(.value.result == "failure")) | map_values(.result)')"
echo "$FAILURES"
if [ "$(echo "$FAILURES" | jq '. | length')" != "0" ]; then
exit 1
fi
echo "All OK!"

View File

@@ -1,47 +0,0 @@
# We need secrets to backport, but they're not available for actions ran by forks.
# So this workflow is used as a 'trigger', which the backport-workflow.yml will with
# via workflow_run
name: Backport (trigger)
on:
pull_request:
types:
- closed
- labeled
permissions: {}
jobs:
trigger:
# Only run this job if the PR has been merged and has a label containing "backport v"
if: |
github.repository == 'grafana/grafana' &&
github.event.pull_request.merged == true &&
contains(join(github.event.pull_request.labels.*.name, ','), 'backport v')
runs-on: ubuntu-latest
steps:
# TODO: save this as job summary instead?
- name: Trigger
run: |
echo "Triggering workflow"
echo "See https://github.com/${{ github.repository }}/actions/workflows/workflow_run.yml for progress"
# Create a JSON artifact with details of this PR to pass to the backport workflow.
# The { action: 'labelled', label: 'backport-1.23.x' } can only be determined from this event payload,
# and is needed to do a backport after a PR has been merged
#
# Important that we don't run *anything* from the PR which could modify the backport_data.json file
- name: Create action data
run: |
jq '{
action: .action,
label: .label.name,
pr_number: .number,
}' "$GITHUB_EVENT_PATH" > /tmp/pr_info.json
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: pr_info
path: /tmp/pr_info.json
retention-days: 1

View File

@@ -1,88 +0,0 @@
# Runs the actual backport, after being triggered by the backport-trigger.yml workflow.
name: Backport (workflow)
run-name: "Backport for ${{ github.event.workflow_run.head_branch }} #${{ github.event.workflow_run.run_number }}"
on:
workflow_run: # zizmor: ignore[dangerous-triggers] backport-trigger.yml does not run any user code
workflows: ["Backport (trigger)"]
types:
- completed
permissions: {}
jobs:
backport:
# Only run this job if the triggering workflow was not skipped (and on grafana repo)
if: github.repository == 'grafana/grafana' && github.event.workflow_run.conclusion == 'success'
runs-on: ubuntu-latest
permissions:
id-token: write
actions: read
steps:
- name: Get vault secrets
id: secrets
uses: grafana/shared-workflows/actions/get-vault-secrets@main
with:
export_env: false
# Secrets placed in the ci/data/repo/grafana/grafana/delivery-bot-app path in Vault
repo_secrets: |
APP_PEM=delivery-bot-app:PRIVATE_KEY
- name: Generate token
id: generate_token
uses: tibdex/github-app-token@b62528385c34dbc9f38e5f4225ac829252d1ea92
with:
app_id: ${{ vars.DELIVERY_BOT_APP_ID }}
private_key: ${{ fromJSON(steps.secrets.outputs.secrets).APP_PEM }}
- name: Download PR info artifact
uses: actions/download-artifact@v4
id: download-pr-info
with:
github-token: ${{ github.token }}
run-id: ${{ github.event.workflow_run.id }}
name: pr_info
- name: Get PR info
id: pr-info
env:
PR_INFO_FILE: ${{ steps.download-pr-info.outputs.download-path }}/pr_info.json
# jq-magic to convert the JSON object into a list of key=value pairs for $GITHUB_OUTPUT
run:
jq -r 'to_entries[] | select(.value | type != "object") | "\(.key)=\(.value)"' "$PR_INFO_FILE" >> "$GITHUB_OUTPUT"
- name: Print PR info
env:
PR_ACTION: ${{ steps.pr-info.outputs.action }}
PR_LABEL: ${{ steps.pr-info.outputs.label }}
PR_NUMBER: ${{ steps.pr-info.outputs.pr_number }}
run: |
echo "PR action: $PR_ACTION"
echo "PR label: $PR_LABEL"
echo "PR number: $PR_NUMBER"
- name: Checkout Grafana
uses: actions/checkout@v4
with:
ref: ${{ github.event.repository.default_branch }}
fetch-depth: 2
fetch-tags: false
token: ${{ steps.generate_token.outputs.token }}
persist-credentials: true
- name: Configure git user
run: |
git config --local user.name "github-actions[bot]"
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local --add --bool push.autoSetupRemote true
- name: Run backport
uses: grafana/grafana-github-actions-go/backport@dev
with:
token: ${{ steps.generate_token.outputs.token }}
# If triggered by being labelled, only backport that label.
# Otherwise, the action will backport all labels.
pr_label: ${{ steps.pr-info.outputs.action == 'labeled' && steps.pr-info.outputs.label || '' }}
pr_number: ${{ steps.pr-info.outputs.pr_number }}
repo_owner: ${{ github.repository_owner }}
repo_name: ${{ github.event.repository.name }}

32
.github/workflows/backport.yml vendored Normal file
View File

@@ -0,0 +1,32 @@
name: Backport PR Creator
on:
pull_request_target:
types:
- closed
- labeled
permissions:
contents: write
pull-requests: write
jobs:
main:
if: github.repository == 'grafana/grafana'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4 # 4.2.2
with:
persist-credentials: false
- run: git config --local user.name "github-actions[bot]"
- run: git config --local user.email "github-actions[bot]@users.noreply.github.com"
- run: git config --local --add --bool push.autoSetupRemote true
- name: Set remote URL
env:
GIT_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git remote set-url origin "https://grafana-delivery-bot:$GIT_TOKEN@github.com/grafana/grafana.git"
- name: Run backport
uses: grafana/grafana-github-actions-go/backport@main # zizmor: ignore[unpinned-uses]
with:
token: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -44,4 +44,4 @@ jobs:
git add .
git commit -m "bump version ${VERSION}"
git push
gh pr create --dry-run="$DRY_RUN" -l "type/ci" -l "no-changelog" -B "$REF_NAME" --title "Release: Bump version to ${VERSION}" --body "Updated version to ${VERSION}"
gh pr create --dry-run=$DRY_RUN -l "type/ci" -l "no-changelog" -B "$REF_NAME" --title "Release: Bump version to ${VERSION}" --body "Updated version to ${VERSION}"

View File

@@ -22,10 +22,11 @@ on:
required: false
default: false
type: boolean
work_branch:
required: false
type: string
description: "Use specific branch for changelog"
secrets:
GRAFANA_DELIVERY_BOT_APP_ID:
required: true
GRAFANA_DELIVERY_BOT_APP_PEM:
required: true
workflow_dispatch:
inputs:
@@ -49,10 +50,6 @@ on:
required: false
default: false
type: boolean
work_branch:
required: false
type: string
description: "Use specific branch for changelog"
permissions: {}
@@ -70,32 +67,25 @@ jobs:
contents: write
pull-requests: write
steps:
- name: "Get vault secrets"
id: vault-secrets
uses: grafana/shared-workflows/actions/get-vault-secrets@main
with:
# Secrets placed in the ci/data/repo/grafana/grafana/delivery-bot-app path in Vault
repo_secrets: |
GRAFANA_DELIVERY_BOT_APP_PEM=delivery-bot-app:PRIVATE_KEY
- name: "Generate token"
id: generate_token
uses: tibdex/github-app-token@b62528385c34dbc9f38e5f4225ac829252d1ea92
with:
app_id: ${{ vars.DELIVERY_BOT_APP_ID }}
private_key: ${{ env.GRAFANA_DELIVERY_BOT_APP_PEM }}
app_id: ${{ secrets.GRAFANA_DELIVERY_BOT_APP_ID }}
private_key: ${{ secrets.GRAFANA_DELIVERY_BOT_APP_PEM }}
- name: "Checkout Grafana repo"
uses: "actions/checkout@v4"
with:
ref: main
sparse-checkout: |
.github/workflows
.github/actions
CHANGELOG.md
.nvmrc
.prettierignore
.prettierrc.js
fetch-depth: 0
fetch-tags: true
persist-credentials: false
- name: Setup nodejs environment
uses: actions/setup-node@v4
with:
@@ -106,20 +96,7 @@ jobs:
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local --add --bool push.autoSetupRemote true
- name: "Create branch"
run: |
if [[ "$WORK_BRANCH" == '' ]]; then
git switch -c "changelog/${RUN_ID}/${VERSION}"
exit 0
fi
# Checkout the changelog branch if exists, otherwise create a new one
if git show-ref --verify --quiet "refs/remotes/origin/$WORK_BRANCH"; then
git switch --track "origin/$WORK_BRANCH"
else
git switch -c "$WORK_BRANCH"
fi
env:
WORK_BRANCH: ${{ inputs.work_branch }}
run: git checkout -b "changelog/${RUN_ID}/${VERSION}"
- name: "Generate changelog"
id: changelog
uses: ./.github/actions/changelog
@@ -163,29 +140,16 @@ jobs:
- name: "Commit changelog changes"
run: git add CHANGELOG.md && git commit --allow-empty -m "Update changelog" CHANGELOG.md
- name: "git push"
if: inputs.dry_run != true
if: ${{ inputs.dry_run }} != true
run: git push
- name: "Create changelog PR"
run: |
if gh pr view &>/dev/null; then
echo "Changelog pr has already been created"
else
gh pr create \
--dry-run="${DRY_RUN}" \
--label "no-backport" \
--label "no-changelog" \
-B "${TARGET}" \
--title "Release: update changelog for ${TARGET}" \
--body "Changelog changes for release versions:"
fi
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: "Add release version to PR description"
if: inputs.dry_run != true
run: |
gh pr view --json body --jq .body > pr_body.md
echo " - ${VERSION}" >> pr_body.md
gh pr edit --body-file pr_body.md
run: >
gh pr create \
--dry-run=${DRY_RUN} \
--label "no-backport" \
--label "no-changelog" \
-B "${TARGET}" \
--title "Release: update changelog for ${VERSION}" \
--body "Changelog changes for release ${VERSION}"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -4,13 +4,9 @@ on:
pull_request:
branches: [ main ]
permissions: {}
jobs:
codeowners-validator:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
# Checks-out your repository, which is validated in the next step
- uses: actions/checkout@v4
@@ -27,7 +23,7 @@ jobs:
# "The comma-separated list of experimental checks that should be executed. By default, all experimental checks are turned off. Possible values: notowned,avoid-shadowing"
experimental_checks: "notowned,avoid-shadowing"
# The repository path in which CODEOWNERS file should be validated."
repository_path: "."
@@ -41,4 +37,4 @@ jobs:
owner_checker_allow_unowned_patterns: "false"
# Specifies whether only teams are allowed as owners of files.
owner_checker_owners_must_be_teams: "false"
owner_checker_owners_must_be_teams: "false"

View File

@@ -33,9 +33,8 @@ jobs:
fail-fast: false
matrix:
# Override automatic language detection by changing the below list
# Supported options are listed here
# https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning#changing-the-languages-that-are-analyzed
language: ['actions', 'javascript', 'go']
# Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']
language: ['javascript', 'go', 'python']
# Learn more...
# https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection

View File

@@ -24,7 +24,7 @@ jobs:
id: check
shell: bash
run: |
if [ "${{ github.repository }}" == "grafana/grafana" ]; then
if [ "${{ github.repository }}" == "grafana/grafana" ] && [ -n "${{ secrets.GRAFANA_MISC_STATS_API_KEY }}" ]; then
echo "has-secrets=1" >> "$GITHUB_OUTPUT"
fi
@@ -42,15 +42,15 @@ jobs:
with:
# Secrets placed in the ci/repo/grafana/grafana/plugins_platform_issue_commands_github_bot path in Vault
repo_secrets: |
GITHUB_APP_ID=grafana_pr_automation_app:app_id
GITHUB_APP_PRIVATE_KEY=grafana_pr_automation_app:app_pem
GH_APP_ID=plugins_platform_issue_commands_github_bot:app_id
GH_APP_PEM=plugins_platform_issue_commands_github_bot:app_pem
- name: Generate token
- name: "Generate token"
id: generate_token
uses: actions/create-github-app-token@3ff1caaa28b64c9cc276ce0a02e2ff584f3900c5 # v2.0.2
uses: tibdex/github-app-token@b62528385c34dbc9f38e5f4225ac829252d1ea92
with:
app-id: ${{ env.GITHUB_APP_ID }}
private-key: ${{ env.GITHUB_APP_PRIVATE_KEY }}
app_id: ${{ env.GH_APP_ID }}
private_key: ${{ env.GH_APP_PEM }}
- name: Checkout Actions
uses: actions/checkout@v4 # v4.2.2
@@ -65,6 +65,6 @@ jobs:
- name: Run Commands
uses: ./actions/commands
with:
metricsWriteAPIKey: ""
metricsWriteAPIKey: ${{secrets.GRAFANA_MISC_STATS_API_KEY}}
token: ${{ steps.generate_token.outputs.token }}
configPath: commands

View File

@@ -11,6 +11,11 @@ on:
required: false
default: false
description: When enabled, this workflow will print a preview instead of creating an actual post.
secrets:
GRAFANA_MISC_STATS_API_KEY:
required: true
GRAFANABOT_FORUM_KEY:
required: true
workflow_dispatch:
inputs:
version:
@@ -25,25 +30,17 @@ on:
permissions:
contents: read
id-token: write
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: "Get vault secrets"
id: vault-secrets
uses: grafana/shared-workflows/actions/get-vault-secrets@main
with:
# Secrets placed in the ci/repo/grafana/grafana/community_release path in Vault
repo_secrets: |
GRAFANABOT_FORUM_KEY=community_release:GRAFANABOT_FORUM_KEY
- name: Run community-release (manually invoked)
uses: grafana/grafana-github-actions-go/community-release@main
uses: grafana/grafana-github-actions-go/community-release@main # zizmor: ignore[unpinned-uses]
with:
token: ${{ secrets.GITHUB_TOKEN }}
version: ${{ inputs.version }}
community_api_key: ${{ env.GRAFANABOT_FORUM_KEY }}
metrics_api_key: ${{ secrets.GRAFANA_MISC_STATS_API_KEY }}
community_api_key: ${{ secrets.GRAFANABOT_FORUM_KEY }}
community_api_username: grafanabot
dry_run: ${{ inputs.dry_run }}

View File

@@ -48,7 +48,7 @@ jobs:
persist-credentials: false
- name: Verify inputs
run: |
if [ -z "$PLUGIN_ID" ]; then echo "Missing plugin ID"; exit 1; fi
if [ -z $PLUGIN_ID ]; then echo "Missing plugin ID"; exit 1; fi
- id: get-secrets
uses: grafana/shared-workflows/actions/get-vault-secrets@main # zizmor: ignore[unpinned-uses]
with:
@@ -72,13 +72,13 @@ jobs:
shell: bash
id: get_dir
run: |
dir="$(dirname \
"$(grep -Elir --include=plugin.json --exclude-dir=dist \
'"id": "'"${PLUGIN_ID}"'"' \
dir=$(dirname \
$(egrep -lir --include=plugin.json --exclude-dir=dist \
'"id": "${PLUGIN_ID}"' \
public/app/plugins \
)" \
)"
echo "dir=${dir}" >> "$GITHUB_OUTPUT"
) \
)
echo "dir=${dir}" >> $GITHUB_OUTPUT
- name: Install frontend dependencies
shell: bash
working-directory: ${{ steps.get_dir.outputs.dir }}
@@ -88,17 +88,17 @@ jobs:
shell: sh
working-directory: ${{ steps.get_dir.outputs.dir }}
run: |
mkdir -pv ./bin
curl -fL -o ./bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v"$GRABPL_VERSION"/grabpl
[ ! -d ./bin ] && mkdir -pv ./bin || true
curl -fL -o ./bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v$GRABPL_VERSION/grabpl
chmod 0755 ./bin/grabpl
- name: Check backend
id: check_backend
shell: bash
run: |
if grep -Eqr --include=main.go 'datasource.Manage\('"$PLUGIN_ID" pkg/tsdb; then
echo "has_backend=true" >> "$GITHUB_OUTPUT"
if egrep -qr --include=main.go 'datasource.Manage\("$PLUGIN_ID"' pkg/tsdb; then
echo "has_backend=true" >> $GITHUB_OUTPUT
else
echo "has_backend=false" >> "$GITHUB_OUTPUT"
echo "has_backend=false" >> $GITHUB_OUTPUT
fi
- name: Setup golang environment
uses: actions/setup-go@19bb51245e9c80abacb2e91cc42b33fa478b8639
@@ -149,8 +149,6 @@ jobs:
- name: build:frontend
shell: bash
id: build_frontend
env:
OUTPUT_DIR: ${{ steps.get_dir.outputs.dir }}
run: |
command="plugin:build:commit"
if [ "$GITHUB_REF" != "refs/heads/main" ]; then
@@ -158,15 +156,15 @@ jobs:
command="plugin:build"
fi
yarn $command --scope="@grafana-plugins/$PLUGIN_ID"
version="$(jq -r .info.version "$OUTPUT_DIR"/dist/plugin.json)"
echo "version=${version}" >> "$GITHUB_OUTPUT"
version=$(cat ${{ steps.get_dir.outputs.dir }}/dist/plugin.json | jq -r .info.version)
echo "version=${version}" >> $GITHUB_OUTPUT
- name: build:backend
if: steps.check_backend.outputs.has_backend == 'true'
shell: bash
env:
VERSION: ${{ steps.build_frontend.outputs.version }}
run: |
make build-plugin-go PLUGIN_ID="$PLUGIN_ID"
make build-plugin-go PLUGIN_ID=$PLUGIN_ID
- name: package
working-directory: ${{ steps.get_dir.outputs.dir }}
run: |
@@ -179,17 +177,16 @@ jobs:
env:
GCOM_TOKEN: ${{ env.PLUGINS_GCOM_TOKEN }}
VERSION: ${{ steps.build_frontend.outputs.version }}
GCOM_API: ${{ env.GCOM_API }}
run: |
api_res="$(curl -X 'GET' -H "Authorization: Bearer $GCOM_TOKEN" \
"$GCOM_API/api/plugins/$PLUGIN_ID?version=$VERSION" \
-H 'accept: application/json')"
api_res_code="$(echo "$api_res" | jq -r .code)"
api_res=$(curl -X 'GET' -H "Authorization: Bearer $GCOM_TOKEN" \
'${{ env.GCOM_API}}/api/plugins/$PLUGIN_ID?version=$VERSION' \
-H 'accept: application/json')
api_res_code=$(echo $api_res | jq -r .code)
if [ "$api_res_code" = "NotFound" ]; then
echo "No existing release found"
else
echo "Expecting a missing release, got:"
echo "$api_res"
echo $api_res
exit 1
fi
- name: store build artifacts
@@ -200,46 +197,55 @@ jobs:
- name: Publish release to Google Cloud Storage
working-directory: ${{ steps.get_dir.outputs.dir }}
env:
VERSION: ${{ steps.build_frontend.outputs.version }}
GCP_BUCKET: ${{ env.GCP_BUCKET }}
VERSION: ${{ steps.build_frontend.outputs.version }}
run: |
echo "Publish release to Google Cloud Storage:"
set -x
touch ci/packages/windows ci/packages/darwin ci/packages/linux ci/packages/any
gsutil -m cp -r ci/packages/*windows* "gs://$GCP_BUCKET/$PLUGIN_ID/release/${VERSION}/windows"
gsutil -m cp -r ci/packages/*linux* "gs://$GCP_BUCKET/$PLUGIN_ID/release/${VERSION}/linux"
gsutil -m cp -r ci/packages/*darwin* "gs://$GCP_BUCKET/$PLUGIN_ID/release/${VERSION}/darwin"
gsutil -m cp -r ci/packages/*any* "gs://$GCP_BUCKET/$PLUGIN_ID/release/${VERSION}/any"
gsutil -m cp -r ci/packages/*windows* gs://${{ env.GCP_BUCKET }}/$PLUGIN_ID/release/${VERSION}/windows
gsutil -m cp -r ci/packages/*linux* gs://${{ env.GCP_BUCKET }}/$PLUGIN_ID/release/${VERSION}/linux
gsutil -m cp -r ci/packages/*darwin* gs://${{ env.GCP_BUCKET }}/$PLUGIN_ID/release/${VERSION}/darwin
gsutil -m cp -r ci/packages/*any* gs://${{ env.GCP_BUCKET }}/$PLUGIN_ID/release/${VERSION}/any
- name: Publish new plugin version on grafana.com
if: steps.check_backend.outputs.has_backend == 'true'
working-directory: ${{ steps.get_dir.outputs.dir }}
env:
GCOM_TOKEN: ${{ env.PLUGINS_GCOM_TOKEN }}
VERSION: ${{ steps.build_frontend.outputs.version }}
GCP_BUCKET: ${{ env.GCP_BUCKET }}
OUTPUT_DIR: ${{ steps.get_dir.outputs.dir }}
GCOM_API: ${{ env.GCOM_API }}
run: |
echo "Publish new plugin version on grafana.com:"
echo "Plugin version: ${VERSION}"
OUTPUT_URL="https://github.com/grafana/grafana/tree/$OUTPUT_DIR" \
jq -n '{"url": env.OUTPUT_URL}' > body.json
osarchs=(linux_amd64 linux_arm64 linux_arm windows_amd64 darwin_amd64 darwin_arm64)
for osarch in "${osarchs[@]}"; do
echo "Processing $osarch"
KEY="${osarch//_/-}" \
OSARCH="$osarch" \
jq -s '. as $i | .[0] | .download[env.KEY] = {
"url": "https://storage.googleapis.com/\(env.GCP_BUCKET)/\(env.PLUGIN_ID)/release/\(env.VERSION)/linux/\(env.PLUGIN_ID)-\(env.VERSION).\(env.OSARCH).zip",
"md5": $i[1].plugin.md5
}' body.json ci/packages/info-"$osarch".json > tmp.json && mv tmp.json body.json
done
result="$(curl -H "Authorization: Bearer $GCOM_TOKEN" -H "Content-Type: application/json" "$GCOM_API"/api/plugins --data-binary '@body.json')"
if [[ "$(echo "$result" | jq -r .version)" == "null" ]]; then
result=`curl -H "Authorization: Bearer $GCOM_TOKEN" -H "Content-Type: application/json" ${{ env.GCOM_API}}/api/plugins -d "{
\"url\": \"https://github.com/grafana/grafana/tree/main/${{ steps.get_dir.outputs.dir }}\",
\"download\": {
\"linux-amd64\": {
\"url\": \"https://storage.googleapis.com/${{ env.GCP_BUCKET }}/$PLUGIN_ID/release/${VERSION}/linux/$PLUGIN_ID-${VERSION}.linux_amd64.zip\",
\"md5\": \"$(cat ci/packages/info-linux_amd64.json | jq -r .plugin.md5)\"
},
\"linux-arm64\": {
\"url\": \"https://storage.googleapis.com/${{ env.GCP_BUCKET }}/$PLUGIN_ID/release/${VERSION}/linux/$PLUGIN_ID-${VERSION}.linux_arm64.zip\",
\"md5\": \"$(cat ci/packages/info-linux_arm64.json | jq -r .plugin.md5)\"
},
\"linux-arm\": {
\"url\": \"https://storage.googleapis.com/${{ env.GCP_BUCKET }}/$PLUGIN_ID/release/${VERSION}/linux/$PLUGIN_ID-${VERSION}.linux_arm.zip\",
\"md5\": \"$(cat ci/packages/info-linux_arm.json | jq -r .plugin.md5)\"
},
\"windows-amd64\": {
\"url\": \"https://storage.googleapis.com/${{ env.GCP_BUCKET }}/$PLUGIN_ID/release/${VERSION}/windows/$PLUGIN_ID-${VERSION}.windows_amd64.zip\",
\"md5\": \"$(cat ci/packages/info-windows_amd64.json | jq -r .plugin.md5)\"
},
\"darwin-amd64\": {
\"url\": \"https://storage.googleapis.com/${{ env.GCP_BUCKET }}/$PLUGIN_ID/release/${VERSION}/darwin/$PLUGIN_ID-${VERSION}.darwin_amd64.zip\",
\"md5\": \"$(cat ci/packages/info-darwin_amd64.json | jq -r .plugin.md5)\"
},
\"darwin-arm64\": {
\"url\": \"https://storage.googleapis.com/${{ env.GCP_BUCKET }}/$PLUGIN_ID/release/${VERSION}/darwin/$PLUGIN_ID-${VERSION}.darwin_arm64.zip\",
\"md5\": \"$(cat ci/packages/info-darwin_arm64.json | jq -r .plugin.md5)\"
}
}
}"`
if [[ "$(echo $result | jq -r .version)" == "null" ]]; then
echo "Failed to publish plugin version. Got:"
echo "$result"
echo $result
exit 1
fi
- name: Publish new plugin version on grafana.com (frontend only)
@@ -248,29 +254,20 @@ jobs:
env:
GCOM_TOKEN: ${{ env.PLUGINS_GCOM_TOKEN }}
VERSION: ${{ steps.build_frontend.outputs.version }}
GCOM_API: ${{ env.GCOM_API }}
OUTPUT_DIR: ${{ steps.get_dir.outputs.dir }}
GCP_BUCKET: ${{ env.GCP_BUCKET }}
run: |
echo "Publish new plugin version on grafana.com:"
echo "Plugin version: ${VERSION}"
OUTPUT_URL="https://github.com/grafana/grafana/tree/$OUTPUT_DIR" \
DOWNLOAD_URL="https://storage.googleapis.com/$GCP_BUCKET/$PLUGIN_ID/release/${VERSION}/any/$PLUGIN_ID-${VERSION}.any.zip" \
MD5_CHECKSUM="$(jq -r '.plugin.md5' ci/packages/info-any.json)" \
jq -rn '{
"url": env.OUTPUT_URL,
"download": {
"any": {
"url": env.DOWNLOAD_URL,
"md5": env.MD5_CHECKSUM
result=`curl -H "Authorization: Bearer $GCOM_TOKEN" -H "Content-Type: application/json" ${{ env.GCOM_API}}/api/plugins -d "{
\"url\": \"https://github.com/grafana/grafana/tree/main/${{ steps.get_dir.outputs.dir }}\",
\"download\": {
\"any\": {
\"url\": \"https://storage.googleapis.com/${{ env.GCP_BUCKET }}/$PLUGIN_ID/release/${VERSION}/any/$PLUGIN_ID-${VERSION}.any.zip\",
\"md5\": \"$(cat ci/packages/info-any.json | jq -r .plugin.md5)\"
}
}
}' > body.json
result="$(curl -H "Authorization: Bearer $GCOM_TOKEN" -H "Content-Type: application/json" "$GCOM_API"/api/plugins --data-binary '@body.json')"
if [[ "$(echo "$result" | jq -r .version)" == "null" ]]; then
}"`
if [[ "$(echo $result | jq -r .version)" == "null" ]]; then
echo "Failed to publish plugin version. Got:"
echo "$result"
echo $result
exit 1
fi

View File

@@ -10,6 +10,11 @@ on:
description: The release branch to increment (eg providing `release-11.2.3` will result in `release-11.2.4` being created)
type: string
required: true
secrets:
GRAFANA_DELIVERY_BOT_APP_ID:
required: true
GRAFANA_DELIVERY_BOT_APP_PEM:
required: true
outputs:
branch:
description: The new branch that was created
@@ -22,32 +27,23 @@ on:
description: The release branch to increment (eg providing `release-11.2.3` will result in `release-11.2.4` being created)
type: string
required: true
permissions:
contents: read
id-token: write
secrets:
GRAFANA_DELIVERY_BOT_APP_ID:
required: true
GRAFANA_DELIVERY_BOT_APP_PEM:
required: true
jobs:
main:
runs-on: ubuntu-latest
outputs:
branch: ${{ steps.branch.outputs.branch }}
steps:
- name: "Get vault secrets"
id: vault-secrets
uses: grafana/shared-workflows/actions/get-vault-secrets@main
with:
# Secrets placed in the ci/data/repo/grafana/grafana/delivery-bot-app path in Vault
repo_secrets: |
GRAFANA_DELIVERY_BOT_APP_PEM=delivery-bot-app:PRIVATE_KEY
- name: "Generate token"
id: generate_token
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a
uses: tibdex/github-app-token@b62528385c34dbc9f38e5f4225ac829252d1ea92
with:
app_id: ${{ vars.DELIVERY_BOT_APP_ID }}
private_key: ${{ env.GRAFANA_DELIVERY_BOT_APP_PEM }}
repositories: "[\"grafana\", \"grafana-enterprise\"]"
permissions: "{\"contents\": \"write\", \"pull_requests\": \"write\", \"workflows\":\"write\"}"
app_id: ${{ secrets.GRAFANA_DELIVERY_BOT_APP_ID }}
private_key: ${{ secrets.GRAFANA_DELIVERY_BOT_APP_PEM }}
- name: Create release branch
id: branch
uses: grafana/grafana-github-actions-go/bump-release@main # zizmor: ignore[unpinned-uses]

View File

@@ -11,7 +11,7 @@ env:
ORGANIZATION: ${{ github.repository_owner }}
REPO: ${{ github.event.repository.name }}
TARGET_PROJECT: 202
LABEL_IDS: "LA_kwDOAOaWjc8AAAABT38U-A"
LABEL_IDs: "LA_kwDOAOaWjc8AAAABT38U-A"
concurrency:
group: issue-label-when-in-project-${{ github.event.number }}
@@ -26,26 +26,25 @@ jobs:
with:
# Secrets placed in the ci/repo/grafana/grafana/plugins_platform_issue_commands_github_bot path in Vault
repo_secrets: |
GITHUB_APP_ID=grafana_pr_automation_app:app_id
GITHUB_APP_PRIVATE_KEY=grafana_pr_automation_app:app_pem
GH_APP_ID=plugins_platform_issue_commands_github_bot:app_id
GH_APP_PEM=plugins_platform_issue_commands_github_bot:app_pem
- name: Generate token
- name: "Generate token"
id: generate_token
uses: actions/create-github-app-token@3ff1caaa28b64c9cc276ce0a02e2ff584f3900c5 # v2.0.2
uses: tibdex/github-app-token@b62528385c34dbc9f38e5f4225ac829252d1ea92
with:
app-id: ${{ env.GITHUB_APP_ID }}
private-key: ${{ env.GITHUB_APP_PRIVATE_KEY }}
app_id: ${{ env.GH_APP_ID }}
private_key: ${{ env.GH_APP_PEM }}
- name: Check if issue is in target project
env:
GH_TOKEN: ${{ steps.generate_token.outputs.token }}
ISSUE_NUMBER: ${{ github.event.issue.number }}
TARGET_PROJECT: ${{ env.TARGET_PROJECT }}
run: |
# shellcheck disable=SC2016 # we don't want the $s to be expanded
gh api graphql -f query='
query($org: String!, $repo: String!, $issueNumber: Int!) {
query($org: String!, $repo: String!) {
repository(name: $repo, owner: $org) {
issue (number: $issueNumber) {
issue (number: $ISSUE_NUMBER) {
id
projectItems(first:20) {
nodes {
@@ -56,18 +55,15 @@ jobs:
}
}
}
}' -f org="$ORGANIZATION" -f repo="$REPO" -F issueNumber="$ISSUE_NUMBER" > projects_data.json
}' -f org=$ORGANIZATION -f repo=$REPO > projects_data.json
{
echo "IN_TARGET_PROJ=$(jq '.data.repository.issue.projectItems.nodes[] | select(.project.number=='"$TARGET_PROJECT"') | .project != null' projects_data.json)"
echo "ITEM_ID=$(jq '.data.repository.issue.id' projects_data.json)"
} >> "$GITHUB_ENV"
echo 'IN_TARGET_PROJ='$(jq '.data.repository.issue.projectItems.nodes[] | select(.project.number=='"$TARGET_PROJECT"') | .project != null' projects_data.json) >> $GITHUB_ENV
echo 'ITEM_ID='$(jq '.data.repository.issue.id' projects_data.json) >> $GITHUB_ENV
- name: Set up label array
if: env.IN_TARGET_PROJ
env:
LABEL_IDS: ${{ env.LABEL_IDS }}
run: |
# shellcheck disable=SC2153 # we define the variable on the line above in 'read'
IFS=',' read -ra LABEL_IDs <<< "$LABEL_IDS"
for item in "${LABEL_IDs[@]}"; do
echo "Item: $item"
@@ -78,7 +74,6 @@ jobs:
GH_TOKEN: ${{ steps.generate_token.outputs.token }}
LABEL_IDS: ${{ env.LABEL_IDS }}
run: |
# shellcheck disable=SC2016 # we don't want the $s to be expanded
gh api graphql -f query='
mutation ($labelableId: ID!, $labelIds: [ID!]!) {
addLabelsToLabelable(
@@ -86,4 +81,4 @@ jobs:
) {
clientMutationId
}
}' -f labelableId="$ITEM_ID" -f labelIds="$LABEL_IDS"
}' -f labelableId=$ITEM_ID -f labelIds=$LABEL_IDS

View File

@@ -9,8 +9,6 @@ on:
paths:
- "docs/sources/**"
permissions: {}
jobs:
deploy-pr-preview:
permissions:

View File

@@ -1,93 +0,0 @@
name: Deploy Storybook preview
on:
pull_request:
paths:
- 'packages/grafana-ui/**'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: {}
jobs:
deploy-storybook-preview:
name: Deploy Storybook preview
runs-on: ubuntu-latest
# Don't run from forks for the moment. If we find this useful we can do the workflow_run dance
# to make it work for forks.
if: github.event.pull_request.head.repo.fork == false
permissions:
contents: read
id-token: write
env:
BUCKET_NAME: grafana-storybook-previews
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- name: Cache node_modules
uses: actions/cache@v4
with:
path: |
node_modules
key: node_modules-${{ hashFiles('yarn.lock') }}
restore-keys: |
node_modules-
- name: Install dependencies
env:
# If the PR isn't from a fork then don't use the slower yarn checks
YARN_ENABLE_HARDENED_MODE: ${{ github.event.pull_request.head.repo.fork == false && '1' || '0' }}
run: yarn install --immutable
- name: Build storybook
run: yarn storybook:build
# Create the GCS folder name for the preview. Creates a consistent name for all deploys for the PR.
# Matches format of `pr_<PR_NUMBER>_<SANITIZED_BRANCH>`.
# Where `SANITIZED_BRANCH` is the branch name with only alphanumeric and hyphens, limited to 30 characters.
- name: Create deploy name
id: create-deploy-name
env:
BRANCH_NAME: ${{ github.event.pull_request.head.ref }}
PR_NUMBER: ${{ github.event.pull_request.number }}
run: |
# Convert branch name to only contain alphanumeric and hyphens
SANITIZED_BRANCH=$(echo "$BRANCH_NAME" | tr -cs "[:alnum:]-" "-" | sed "s/^-//;s/-$//")
# Check if SANITIZED_BRANCH is empty and fail if it is
if [ -z "$SANITIZED_BRANCH" ]; then
echo "Error: Branch name resulted in empty string after sanitization"
exit 1
fi
echo "deploy-name=pr_${PR_NUMBER}_${SANITIZED_BRANCH:0:30}" >> "$GITHUB_OUTPUT"
- name: Upload Storybook
uses: grafana/shared-workflows/actions/push-to-gcs@main
with:
environment: prod
bucket: ${{ env.BUCKET_NAME }}
bucket_path: ${{ steps.create-deploy-name.outputs.deploy-name }}
path: packages/grafana-ui/dist/storybook
service_account: github-gf-storybook-preview@grafanalabs-workload-identity.iam.gserviceaccount.com
parent: false
- name: Write summary
env:
DEPLOY_NAME: ${{ steps.create-deploy-name.outputs.deploy-name }}
run: |
echo "## Storybook preview deployed! 🚀" >> $GITHUB_STEP_SUMMARY
echo "Check it out at https://storage.googleapis.com/${BUCKET_NAME}/${DEPLOY_NAME}/index.html" >> $GITHUB_STEP_SUMMARY

View File

@@ -12,8 +12,6 @@ on:
pull_request:
paths:
- 'packages/**'
- '.nvmrc'
- '.github/workflows/detect-breaking-changes-levitate.yml'
branches:
- 'main'
@@ -33,10 +31,9 @@ jobs:
with:
path: './pr'
persist-credentials: false
- uses: actions/setup-node@v4
with:
node-version-file: './pr/.nvmrc'
node-version: 22.11.0
- name: Get yarn cache directory path
id: yarn-cache-dir-path
@@ -84,11 +81,10 @@ jobs:
with:
path: './base'
ref: ${{ github.event.pull_request.base.ref }}
persist-credentials: false
- uses: actions/setup-node@v4
with:
node-version-file: './base/.nvmrc'
node-version: 22.11.0
- name: Get yarn cache directory path
id: yarn-cache-dir-path
@@ -133,12 +129,9 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
node-version: 22.11.0
- name: Get built packages from pr
uses: actions/download-artifact@v4
@@ -159,8 +152,8 @@ jobs:
- id: 'auth'
uses: 'google-github-actions/auth@6fc4af4b145ae7821d527454aa9bd537d1f2dc5f'
with:
workload_identity_provider: projects/304398677251/locations/global/workloadIdentityPools/github/providers/github-provider
service_account: github-plugins-data-levitate@grafanalabs-workload-identity.iam.gserviceaccount.com
workload_identity_provider: ${{ secrets.WIF_PROVIDER }}
service_account: ${{ secrets.LEVITATE_SA }}
project_id: 'grafanalabs-global'
- name: 'Set up Cloud SDK'
@@ -179,11 +172,7 @@ jobs:
- name: Persisting the check output
run: |
mkdir -p ./levitate
echo "{ \"exit_code\": ${IS_BREAKING}, \"message\": \"${MESSAGE}\", \"pr_number\": \"${PR_NUMBER}\" }" > ./levitate/result.json
env:
IS_BREAKING: ${{ steps.breaking-changes.outputs.is_breaking }}
MESSAGE: ${{ steps.breaking-changes.outputs.message }}
PR_NUMBER: ${{ github.event.pull_request.number }}
echo "{ \"exit_code\": ${{ steps.breaking-changes.outputs.is_breaking }}, \"message\": \"${{ steps.breaking-changes.outputs.message }}\", \"pr_number\": \"${{ github.event.pull_request.number }}\" }" > ./levitate/result.json
- name: Upload check output as artifact
uses: actions/upload-artifact@v4
@@ -201,24 +190,14 @@ jobs:
id-token: write
steps:
- id: get-secrets
uses: grafana/shared-workflows/actions/get-vault-secrets@28361cdb22223e5f1e34358c86c20908e7248760 # get-vault-secrets-v1.1.0
with:
# Secrets placed in the ci/repo/grafana/grafana in vault
repo_secrets: |
GITHUB_APP_ID=grafana_pr_automation_app:app_id
GITHUB_APP_PRIVATE_KEY=grafana_pr_automation_app:app_pem
- name: Generate token
- name: "Generate token"
id: generate_token
uses: actions/create-github-app-token@3ff1caaa28b64c9cc276ce0a02e2ff584f3900c5 # v2.0.2
uses: tibdex/github-app-token@b62528385c34dbc9f38e5f4225ac829252d1ea92
with:
app-id: ${{ env.GITHUB_APP_ID }}
private-key: ${{ env.GITHUB_APP_PRIVATE_KEY }}
app_id: ${{ secrets.GRAFANA_PR_AUTOMATION_APP_ID }}
private_key: ${{ secrets.GRAFANA_PR_AUTOMATION_APP_PEM }}
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: 'Download artifact'
uses: actions/download-artifact@v4
@@ -226,7 +205,7 @@ jobs:
name: levitate
- name: Parsing levitate result
uses: actions/github-script@v7
uses: actions/github-script@v6
id: levitate-run
with:
script: |
@@ -237,7 +216,7 @@ jobs:
# Check if label exists
- name: Check if "levitate breaking change" label exists
id: does-label-exist
uses: actions/github-script@v7
uses: actions/github-script@v6
env:
PR_NUMBER: ${{ github.event.pull_request.number }}
with:
@@ -316,7 +295,7 @@ jobs:
"fields": [
{
"type": "mrkdwn",
"text": "*PR:* <${{ github.event.pull_request.html_url }}|#${{ github.event.pull_request.number }}>\n\nAuthor: ${{ github.event.pull_request.user.login }}"
"text": "*PR:* <${{ github.event.pull_request.html_url }}|#${{ github.event.pull_request.number }}>"
},
{
"type": "mrkdwn",
@@ -330,7 +309,7 @@ jobs:
# Add the label
- name: Add "levitate breaking change" label
if: steps.levitate-run.outputs.exit_code == 1 && steps.does-label-exist.outputs.result == 0
uses: actions/github-script@v7
uses: actions/github-script@v6
env:
PR_NUMBER: ${{ steps.levitate-run.outputs.pr_number }}
with:
@@ -346,7 +325,7 @@ jobs:
# Remove label (no more breaking changes)
- name: Remove "levitate breaking change" label
if: steps.levitate-run.outputs.exit_code == 0 && steps.does-label-exist.outputs.result == 1
uses: actions/github-script@v7
uses: actions/github-script@v6
env:
PR_NUMBER: ${{ steps.levitate-run.outputs.pr_number }}
with:
@@ -364,7 +343,7 @@ jobs:
# Related issue: https://github.com/renovatebot/renovate/issues/1908
- name: Add "grafana/plugins-platform-frontend" as a reviewer
if: steps.levitate-run.outputs.exit_code == 1
uses: actions/github-script@v7
uses: actions/github-script@v6
env:
PR_NUMBER: ${{ steps.levitate-run.outputs.pr_number }}
with:
@@ -381,7 +360,7 @@ jobs:
# Remove reviewers (no more breaking changes)
- name: Remove "grafana/plugins-platform-frontend" from the list of reviewers
if: steps.levitate-run.outputs.exit_code == 0
uses: actions/github-script@v7
uses: actions/github-script@v6
env:
PR_NUMBER: ${{ steps.levitate-run.outputs.pr_number }}
with:
@@ -397,11 +376,9 @@ jobs:
- name: Exit
run: |
if [ "${LV_EXIT_CODE}" -ne 0 ]; then
if [ "${{ steps.levitate-run.outputs.exit_code }}" -ne 0 ]; then
echo "Breaking changes detected. Please check the levitate report in your pull request. This workflow won't block merging."
fi
exit "${LV_EXIT_CODE}"
exit ${{ steps.levitate-run.outputs.exit_code }}
shell: bash
env:
LV_EXIT_CODE: ${{ steps.levitate-run.outputs.exit_code }}

View File

@@ -4,18 +4,11 @@ on:
branches: ["main"]
paths: ["docs/sources/**"]
workflow_dispatch:
permissions: {}
jobs:
vale:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
security-events: write
container:
image: grafana/vale:latest # zizmor: ignore[unpinned-images]
image: grafana/vale:latest
steps:
- uses: actions/checkout@v4
with:

View File

@@ -1,42 +0,0 @@
name: Run e2e for dashboardNewLayouts
on:
pull_request:
branches:
- '**'
paths:
- 'e2e/dashboard-new-layouts/**'
- 'public/app/features/dashboard-scene/**'
env:
ARCH: linux-amd64
jobs:
dashboard-new-layouts-e2e:
runs-on: ubuntu-latest
continue-on-error: true
if: github.event.pull_request.draft == false
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Pin Go version to mod file
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- run: go version
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- name: Install dependencies
run: yarn install --immutable
- name: Build grafana
run: make build
- name: Install Cypress dependencies
uses: cypress-io/github-action@108b8684ae52e735ff7891524cbffbcd4be5b19f
with:
runTests: false
- name: Run dashboardNewLayouts e2e
run: yarn e2e:dashboard-new-layouts

View File

@@ -1,48 +1,47 @@
name: "Ephemeral instances"
name: 'Ephemeral instances'
on:
issue_comment:
types: [created]
pull_request:
types: [closed]
permissions: {}
jobs:
handle-ephemeral-instances:
if: ${{ github.event.issue.pull_request && (startsWith(github.event.comment.body, '/deploy-to-hg') || github.event.action == 'closed') && github.repository_owner == 'grafana' }}
runs-on:
labels: ubuntu-latest-16-cores
continue-on-error: true
permissions:
# For commenting.
pull-requests: write
# No contents permission is needed because we will impersonate an app to create the PR instead.
id-token: write # required for vault access
config:
runs-on: "ubuntu-latest"
outputs:
has-secrets: ${{ steps.check.outputs.has-secrets }}
steps:
- name: Get vault secrets
id: vault-secrets
uses: grafana/shared-workflows/actions/get-vault-secrets@main
with:
# Secrets placed in ci/repo/grafana/grafana/
repo_secrets: |
APP_ID=ephemeral-instances-bot:app-id
APP_PEM=ephemeral-instances-bot:app-private-key
GCOM_HOST=ephemeral-instances-bot:gcom-host
GCOM_TOKEN=ephemeral-instances-bot:gcom-token
REGISTRY=ephemeral-instances-bot:registry
GCP_SA_ACCOUNT_KEY_BASE64=ephemeral-instances-bot:sa-key
- name: "Check for secrets"
id: check
shell: bash
run: |
if [ -n "${{ (secrets.EI_APP_ID != '' &&
secrets.EI_APP_PRIVATE_KEY != '' &&
secrets.EI_GCOM_HOST != '' &&
secrets.EI_GCOM_TOKEN != '' &&
secrets.EI_EPHEMERAL_INSTANCES_REGISTRY != '' &&
secrets.EI_GCP_SERVICE_ACCOUNT_KEY_BASE64 != '' &&
secrets.EI_EPHEMERAL_ORG_ID != ''
) || '' }}" ]; then
echo "has-secrets=1" >> "$GITHUB_OUTPUT"
fi
handle-pull-request-event:
needs: config
if: needs.config.outputs.has-secrets &&
${{ github.event.issue.pull_request && (startsWith(github.event.comment.body, '/deploy-to-hg') || github.event.action == 'closed') }}
runs-on:
labels: ubuntu-latest-8-cores
continue-on-error: true
steps:
- name: Generate a GitHub app installation token
id: generate_token
uses: tibdex/github-app-token@b62528385c34dbc9f38e5f4225ac829252d1ea92 # v1.8.0
uses: tibdex/github-app-token@b62528385c34dbc9f38e5f4225ac829252d1ea92
with:
app_id: ${{ env.APP_ID }}
private_key: ${{ env.APP_PEM }}
app_id: ${{ secrets.EI_APP_ID }}
private_key: ${{ secrets.EI_APP_PRIVATE_KEY }}
- name: Checkout ephemeral instances repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
uses: actions/checkout@v4
with:
repository: grafana/ephemeral-grafana-instances-github-action
token: ${{ steps.generate_token.outputs.token }}
@@ -53,11 +52,11 @@ jobs:
- name: build and deploy ephemeral instance
uses: ./ephemeral
with:
github-token: ${{ steps.generate_token.outputs.token }}
gcom-host: ${{ env.GCOM_HOST }}
gcom-token: ${{ env.GCOM_TOKEN }}
registry: "${{ env.REGISTRY }}"
gcp-service-account-key: ${{ env.GCP_SA_ACCOUNT_KEY_BASE64 }}
ephemeral-org-id: ephemeral
github-token: ${{ steps.generate_token.outputs.token }}
gcom-host: ${{ secrets.EI_GCOM_HOST }}
gcom-token: ${{ secrets.EI_GCOM_TOKEN }}
registry: "${{ secrets.EI_EPHEMERAL_INSTANCES_REGISTRY }}"
gcp-service-account-key: "${{ secrets.EI_GCP_SERVICE_ACCOUNT_KEY_BASE64 }}"
ephemeral-org-id: "${{ secrets.EI_EPHEMERAL_ORG_ID }}"
oss-or-enterprise: oss
verbose: true

View File

@@ -7,15 +7,9 @@ on:
- 'pkg/services/featuremgmt/registry.go'
- 'docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md'
permissions: {}
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
with:

View File

@@ -9,34 +9,12 @@ on:
permissions: {}
jobs:
detect-changes:
name: Detect whether code changed
lint-frontend-verify-i18n:
name: Verify i18n
runs-on: ubuntu-latest
permissions:
contents: read
outputs:
changed: ${{ steps.detect-changes.outputs.frontend }}
steps:
- uses: actions/checkout@v4
with:
persist-credentials: true # required to get more history in the changed-files action
fetch-depth: 2
- name: Detect changes
id: detect-changes
uses: ./.github/actions/change-detection
with:
self: .github/workflows/frontend-lint.yml
lint-frontend-prettier:
needs: detect-changes
permissions:
contents: read
id-token: write
# Run this workflow only for PRs from forks; if it gets merged into `main` or `release-*`,
# the `lint-frontend-prettier-enterprise` workflow will run instead
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork == true && needs.detect-changes.outputs.changed == 'true'
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
@@ -47,21 +25,46 @@ jobs:
cache: 'yarn'
cache-dependency-path: 'yarn.lock'
- run: yarn install --immutable --check-cache
- run: yarn run prettier:check
- run: yarn run lint
lint-frontend-prettier-enterprise:
needs: detect-changes
- run: |
extract_error_message='::error::Extraction failed. Make sure that you have no dynamic translation phrases, such as "t(`preferences.theme.{themeID}`, themeName)" and that no translation key is used twice. Search the output for '[warning]' to find the offending file.'
make i18n-extract || (echo "${extract_error_message}" && false)
- run: |
uncommited_error_message="::error::Translation extraction has not been committed. Please run 'make i18n-extract', commit the changes and push again."
file_diff=$(git diff --dirstat public/locales)
if [ -n "$file_diff" ]; then
echo $file_diff
echo "${uncommited_error_message}"
exit 1
fi
lint-frontend-prettier:
permissions:
contents: read
id-token: write
# Run this workflow for non-PR events (like pushes to `main` or `release-*`) OR for internal PRs (PRs not from forks)
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false && needs.detect-changes.outputs.changed == 'true'
# Run this workflow only for PRs from forks; if it gets merged into `main` or `release-*`,
# the `lint-frontend-prettier-enterprise` workflow will run instead
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork == true
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
persist-credentials: false
node-version-file: '.nvmrc'
cache: 'yarn'
cache-dependency-path: 'yarn.lock'
- run: yarn install --immutable --check-cache
- run: yarn run prettier:check
- run: yarn run lint
lint-frontend-prettier-enterprise:
permissions:
contents: read
id-token: write
# Run this workflow for non-PR events (like pushes to `main` or `release-*`) OR for internal PRs (PRs not from forks)
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
@@ -75,19 +78,16 @@ jobs:
- run: yarn run prettier:check
- run: yarn run lint
lint-frontend-typecheck:
needs: detect-changes
permissions:
contents: read
id-token: write
# Run this workflow only for PRs from forks; if it gets merged into `main` or `release-*`,
# the `lint-frontend-typecheck-enterprise` workflow will run instead
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork == true && needs.detect-changes.outputs.changed == 'true'
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork == true
name: Typecheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
@@ -96,18 +96,15 @@ jobs:
- run: yarn install --immutable --check-cache
- run: yarn run typecheck
lint-frontend-typecheck-enterprise:
needs: detect-changes
permissions:
contents: read
id-token: write
# Run this workflow for non-PR events (like pushes to `main` or `release-*`) OR for internal PRs (PRs not from forks)
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false && needs.detect-changes.outputs.changed == 'true'
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false
name: Typecheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
@@ -120,17 +117,13 @@ jobs:
- run: yarn install --immutable --check-cache
- run: yarn run typecheck
lint-frontend-betterer:
needs: detect-changes
permissions:
contents: read
id-token: write
if: needs.detect-changes.outputs.changed == 'true'
name: Betterer
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'

View File

@@ -34,7 +34,6 @@ on:
permissions:
# contents: write allows the action(s) to create github releases
contents: write
id-token: write
jobs:
main:
@@ -45,5 +44,6 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
version: ${{ inputs.version }}
metrics_api_key: ${{ secrets.GRAFANA_MISC_STATS_API_KEY }}
latest: ${{ inputs.latest }}
dry_run: ${{ inputs.dry_run }}

View File

@@ -22,6 +22,7 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version-file: ./go.mod
- run: make gen-go
- name: golangci-lint
uses: golangci/golangci-lint-action@1481404843c368bc19ca9406f87d6e0fc97bdcfd
with:

View File

@@ -1,13 +1,27 @@
name: Crowdin automatic task management
name: Crowdin Create Tasks
on:
workflow_dispatch:
# once a month on the first day of the month at midnight
schedule:
- cron: "0 0 1 * *"
# schedule:
# - cron: "0 0 * * *"
jobs:
create-tasks-in-crowdin:
uses: grafana/grafana-github-actions/.github/workflows/crowdin-create-tasks.yml@main
with:
crowdin_project_id: 5
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Create tasks
env:
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
run: node ./.github/workflows/scripts/crowdin/create-tasks.js

View File

@@ -7,9 +7,153 @@ on:
jobs:
download-sources-from-crowdin:
uses: grafana/grafana-github-actions/.github/workflows/crowdin-download.yml@main
with:
crowdin_project_id: 5
pr_labels: 'area/frontend, area/internationalization, no-changelog, no-backport'
github_board_id: 78 # Frontend Platform project
en_paths: public/locales/en-US/grafana.json, public/app/plugins/datasource/azuremonitor/locales/en-US/grafana-azure-monitor-datasource.json, public/app/plugins/datasource/mssql/locales/en-US/mssql.json, packages/grafana-prometheus/src/locales/en-US/grafana-prometheus.json, packages/grafana-sql/src/locales/en-US/grafana-sql.json
runs-on: ubuntu-latest
permissions:
contents: write # needed to commit changes into the PR
pull-requests: write # needed to update PR description, labels, etc
id-token: write # needed to get vault secrets
steps:
- name: Generate token
id: generate_token
uses: tibdex/github-app-token@b62528385c34dbc9f38e5f4225ac829252d1ea92
with:
app_id: ${{ secrets.GRAFANA_PR_AUTOMATION_APP_ID }}
private_key: ${{ secrets.GRAFANA_PR_AUTOMATION_APP_PEM }}
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
token: ${{ steps.generate_token.outputs.token }}
persist-credentials: false
- name: Download sources
id: crowdin-download
uses: crowdin/github-action@b8012bd5491b8aa8578b73ab5b5f5e7c94aaa6e2
with:
upload_sources: false
upload_translations: false
download_sources: false
download_translations: true
export_only_approved: true
localization_branch_name: i18n_crowdin_translations
create_pull_request: true
pull_request_title: 'I18n: Download translations from Crowdin'
pull_request_body: |
:robot: Automatic download of translations from Crowdin.
This runs once per day and will merge automatically if all the required checks pass.
If there's a conflict, close the pull request and **delete the branch**.
You can then either wait for the schedule to trigger a new PR, or rerun the action manually.
pull_request_labels: 'area/frontend, area/internationalization, no-changelog, no-backport'
pull_request_base_branch_name: 'main'
base_url: 'https://grafana.api.crowdin.com'
config: 'crowdin.yml'
source: 'public/locales/en-US/grafana.json'
translation: 'public/locales/%locale%/%original_file_name%'
# Magic details of the github-actions bot user, to pass CLA checks
github_user_name: "github-actions[bot]"
github_user_email: "41898282+github-actions[bot]@users.noreply.github.com"
env:
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
- name: Get pull request ID
if: steps.crowdin-download.outputs.pull_request_url
shell: bash
# Crowdin action returns us the URL of the pull request, but we need an ID for the GraphQL API
# that looks like 'PR_kwDOAOaWjc5mP_GU'
run: |
pr_id=$(gh pr view ${{ steps.crowdin-download.outputs.pull_request_url }} --json id -q .id)
echo "PULL_REQUEST_ID=$pr_id" >> "$GITHUB_ENV"
env:
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
- name: Get project board ID
uses: octokit/graphql-action@51bf543c240dcd14761320e2efc625dc32ec0d32
id: get-project-id
if: steps.crowdin-download.outputs.pull_request_url
with:
# Frontend Platform project - https://github.com/orgs/grafana/projects/78
org: grafana
project_number: 78
query: |
query getProjectId($org: String!, $project_number: Int!){
organization(login: $org) {
projectV2(number: $project_number) {
title
id
}
}
}
env:
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
- name: Add to project board
uses: octokit/graphql-action@51bf543c240dcd14761320e2efc625dc32ec0d32
if: steps.crowdin-download.outputs.pull_request_url
with:
projectid: ${{ fromJson(steps.get-project-id.outputs.data).organization.projectV2.id }}
prid: ${{ env.PULL_REQUEST_ID }}
query: |
mutation addPullRequestToProject($projectid: ID!, $prid: ID!){
addProjectV2ItemById(input: {projectId: $projectid, contentId: $prid}) {
item {
id
}
}
}
env:
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
- name: Run auto-milestone
uses: grafana/grafana-github-actions-go/auto-milestone@main # zizmor: ignore[unpinned-uses]
if: steps.crowdin-download.outputs.pull_request_url
with:
pr: ${{ steps.crowdin-download.outputs.pull_request_number }}
token: ${{ steps.generate_token.outputs.token }}
- name: Get vault secrets
id: vault-secrets
uses: grafana/shared-workflows/actions/get-vault-secrets@main # zizmor: ignore[unpinned-uses]
with:
# Secrets placed in ci/repo/grafana/grafana/grafana-pr-approver
repo_secrets: |
GRAFANA_PR_APPROVER_APP_ID=grafana-pr-approver:app-id
GRAFANA_PR_APPROVER_APP_PEM=grafana-pr-approver:private-key
- name: Generate approver token
if: steps.crowdin-download.outputs.pull_request_url
id: generate_approver_token
uses: tibdex/github-app-token@b62528385c34dbc9f38e5f4225ac829252d1ea92
with:
app_id: ${{ env.GRAFANA_PR_APPROVER_APP_ID }}
private_key: ${{ env.GRAFANA_PR_APPROVER_APP_PEM }}
- name: Approve and automerge PR
if: steps.crowdin-download.outputs.pull_request_url
shell: bash
# Only approve if:
# - the PR does not modify files other than json files under the public/locales/ directory
# - the PR does not modify the en-US locale
run: |
filesChanged=$(gh pr diff --name-only ${{ steps.crowdin-download.outputs.pull_request_url }})
if [[ $(echo $filesChanged | grep -v 'public/locales/[a-zA-Z\-]*/grafana.json' | wc -l) -ne 0 ]]; then
echo "Non-i18n changes detected, not approving"
exit 1
fi
if [[ $(echo $filesChanged | grep "public/locales/en-US" | wc -l) -ne 0 ]]; then
echo "public/locales/en-US changes detected, not approving"
exit 1
fi
echo "Approving and enabling automerge"
gh pr review ${{ steps.crowdin-download.outputs.pull_request_url }} --approve
gh pr merge --auto --squash ${{ steps.crowdin-download.outputs.pull_request_url }}
env:
GITHUB_TOKEN: ${{ steps.generate_approver_token.outputs.token }}

View File

@@ -5,15 +5,31 @@ on:
push:
paths:
- 'public/locales/en-US/grafana.json'
- 'public/app/plugins/datasource/azuremonitor/locales/en-US/grafana-azure-monitor-datasource.json'
- 'public/app/plugins/datasource/mssql/locales/en-US/mssql.json'
- 'packages/grafana-sql/src/locales/en-US/grafana-sql.json'
- 'packages/grafana-prometheus/src/locales/en-US/grafana-prometheus.json'
branches:
- main
jobs:
upload-sources-to-crowdin:
uses: grafana/grafana-github-actions/.github/workflows/crowdin-upload.yml@main
with:
crowdin_project_id: 5
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Upload sources
uses: crowdin/github-action@b8012bd5491b8aa8578b73ab5b5f5e7c94aaa6e2
with:
upload_sources: true
upload_sources_args: '--dest=public/locales/en-US/grafana.json'
upload_translations: false
download_translations: false
create_pull_request: false
base_url: 'https://grafana.api.crowdin.com'
config: 'crowdin.yml'
source: 'public/locales/en-US/grafana.json'
translation: 'public/locales/%locale%/%original_file_name%'
env:
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}

View File

@@ -1,15 +0,0 @@
name: Verify i18n
permissions:
contents: read
on:
pull_request:
push:
branches:
- main
- release-*.*.*
jobs:
verify-i18n:
uses: grafana/grafana-github-actions/.github/workflows/verify-i18n.yml@main

View File

@@ -43,19 +43,20 @@ jobs:
with:
# Secrets placed in the ci/repo/grafana/grafana/plugins_platform_issue_commands_github_bot path in Vault
repo_secrets: |
GITHUB_APP_ID=grafana_pr_automation_app:app_id
GITHUB_APP_PRIVATE_KEY=grafana_pr_automation_app:app_pem
GH_APP_ID=plugins_platform_issue_commands_github_bot:app_id
GH_APP_PEM=plugins_platform_issue_commands_github_bot:app_pem
- name: Generate token
- name: "Generate token"
id: generate_token
uses: actions/create-github-app-token@3ff1caaa28b64c9cc276ce0a02e2ff584f3900c5 # v2.0.2
uses: tibdex/github-app-token@b62528385c34dbc9f38e5f4225ac829252d1ea92
with:
app-id: ${{ env.GITHUB_APP_ID }}
private-key: ${{ env.GITHUB_APP_PRIVATE_KEY }}
app_id: ${{ env.GH_APP_ID }}
private_key: ${{ env.GH_APP_PEM }}
- name: Run Commands
uses: ./actions/commands
with:
metricsWriteAPIKey: ${{secrets.GRAFANA_MISC_STATS_API_KEY}}
token: ${{ steps.generate_token.outputs.token }}
configPath: "issue-opened"
@@ -76,20 +77,18 @@ jobs:
repo_secrets: |
AUTOTRIAGER_OPENAI_API_KEY=plugins_platform_issue_triager:AUTOTRIAGER_OPENAI_API_KEY
AUTOTRIAGER_SLACK_WEBHOOK_URL=plugins_platform_issue_triager:AUTOTRIAGER_SLACK_WEBHOOK_URL
GITHUB_APP_ID=plugins_platform_issue_triager_github_bot:app_id
GITHUB_APP_PRIVATE_KEY=plugins_platform_issue_triager_github_bot:app_pem
GH_APP_ID=plugins_platform_issue_commands_github_bot:app_id
GH_APP_PEM=plugins_platform_issue_commands_github_bot:app_pem
- name: Generate token
- name: "Generate token"
id: generate_token
uses: actions/create-github-app-token@3ff1caaa28b64c9cc276ce0a02e2ff584f3900c5 # v2.0.2
uses: tibdex/github-app-token@b62528385c34dbc9f38e5f4225ac829252d1ea92
with:
app-id: ${{ env.GITHUB_APP_ID }}
private-key: ${{ env.GITHUB_APP_PRIVATE_KEY }}
app_id: ${{ env.GH_APP_ID }}
private_key: ${{ env.GH_APP_PEM }}
- name: Checkout
uses: actions/checkout@v4 # v4.2.2
with:
persist-credentials: false
- name: Send issue to the auto triager action
id: auto_triage

View File

@@ -16,16 +16,10 @@ on:
- 'packages/**/*.md'
- 'latest.json'
permissions: {}
jobs:
docs:
name: Build & Verify Docs
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v4
@@ -35,7 +29,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
node-version: '22.11.0'
cache: 'yarn'
- name: Install dependencies
@@ -51,18 +45,18 @@ jobs:
run: |
# Create and start a container from the docs-base image in detached mode
docker run -d --name docs-builder grafana/docs-base:latest tail -f /dev/null
# Create the directory structure inside the container
docker exec docs-builder mkdir -p /hugo/content/docs/grafana/latest
# Create the _index.md file
docker exec docs-builder /bin/sh -c "echo -e '---\nredirectURL: /docs/grafana/latest/\ntype: redirect\nversioned: true\n---\n' > /hugo/content/docs/grafana/_index.md"
# Copy the docs sources from the host to the container
docker cp docs/sources/. docs-builder:/hugo/content/docs/grafana/latest/
# Run the make prod command inside the container
docker exec -w /hugo docs-builder make prod || echo "Build completed with warnings"
# Clean up the container
docker rm -f docs-builder

54
.github/workflows/metrics-collector.yml vendored Normal file
View File

@@ -0,0 +1,54 @@
#
# When triggered by the cron job it will also collect metrics for:
# * number of issues without label
# * number of issues with "needs more info"
# * number of issues with "needs investigation"
# * number of issues with label type/bug
# * number of open issues in current milestone
#
# https://github.com/grafana/grafana-github-actions/blob/main/metrics-collector/index.ts
#
name: Github issue metrics collection
on:
schedule:
- cron: "*/10 * * * *"
issues:
types: [opened, closed]
permissions:
contents: read
jobs:
config:
runs-on: "ubuntu-latest"
outputs:
has-secrets: ${{ steps.check.outputs.has-secrets }}
steps:
- name: "Check for secrets"
id: check
shell: bash
run: |
if [ -n "${{ (secrets.GRAFANA_MISC_STATS_API_KEY != '') || '' }}" ]; then
echo "has-secrets=1" >> "$GITHUB_OUTPUT"
fi
main:
needs: config
if: needs.config.outputs.has-secrets
runs-on: ubuntu-latest
steps:
- name: Checkout Actions
uses: actions/checkout@v4 # v4.2.2
with:
repository: "grafana/grafana-github-actions"
path: ./actions
ref: main
persist-credentials: false
- name: Install Actions
run: npm install --production --prefix ./actions
- name: Run metrics collector
uses: ./actions/metrics-collector
with:
metricsWriteAPIKey: ${{secrets.GRAFANA_MISC_STATS_API_KEY}}
token: ${{secrets.GITHUB_TOKEN}}
configPath: "metrics-collector"

View File

@@ -15,6 +15,11 @@ on:
description: Owner/repo of the repository where the branch is created (e.g. 'grafana/grafana')
required: true
type: string
secrets:
GRAFANA_DELIVERY_BOT_APP_ID:
required: true
GRAFANA_DELIVERY_BOT_APP_PEM:
required: true
workflow_dispatch:
inputs:
from:
@@ -29,30 +34,24 @@ on:
description: Owner/repo of the repository where the branch is created (e.g. 'grafana/grafana')
required: true
type: string
permissions:
contents: read
id-token: write
secrets:
GRAFANA_DELIVERY_BOT_APP_ID:
required: true
GRAFANA_DELIVERY_BOT_APP_PEM:
required: true
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: "Get vault secrets"
id: vault-secrets
uses: grafana/shared-workflows/actions/get-vault-secrets@main
with:
# Secrets placed in the ci/data/repo/grafana/grafana/delivery-bot-app path in Vault
repo_secrets: |
GRAFANA_DELIVERY_BOT_APP_PEM=delivery-bot-app:PRIVATE_KEY
- name: "Generate token"
id: generate_token
uses: tibdex/github-app-token@b62528385c34dbc9f38e5f4225ac829252d1ea92
with:
app_id: ${{ vars.DELIVERY_BOT_APP_ID }}
private_key: ${{ env.GRAFANA_DELIVERY_BOT_APP_PEM }}
app_id: ${{ secrets.GRAFANA_DELIVERY_BOT_APP_ID }}
private_key: ${{ secrets.GRAFANA_DELIVERY_BOT_APP_PEM }}
- name: Migrate PRs
uses: grafana/grafana-github-actions-go/migrate-open-prs@main
uses: grafana/grafana-github-actions-go/migrate-open-prs@main # zizmor: ignore[unpinned-uses]
with:
token: ${{ steps.generate_token.outputs.token }}
ownerRepo: ${{ inputs.ownerRepo }}

View File

@@ -0,0 +1,71 @@
name: Coverage
on:
workflow_dispatch:
push:
branches:
- main
paths-ignore:
- 'docs/**'
- '**/*.md'
permissions:
contents: read
id-token: write
env:
EDITION: 'oss'
WIRE_TAGS: 'oss'
jobs:
main:
name: Backend Unit Tests
runs-on: ubuntu-latest-8-cores
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y build-essential shared-mime-info
go install github.com/mfridman/tparse@c1754a1f484ac5cd422697b0fec635177ddc8507 # v0.17.0
- name: Generate Go code
run: make gen-go
- name: Run unit tests
run: COVER_OPTS="-coverprofile=be-unit.cov -coverpkg=github.com/grafana/grafana/..." GO_TEST_OUTPUT="/tmp/unit.log" make test-go-unit-cov
- name: Process and upload coverage
uses: ./.github/actions/test-coverage-processor
with:
test-type: 'be-unit'
# Needs to be named 'unit.cov' based on the Makefile command `make test-go-unit`
coverage-file: 'unit.cov'
codecov-token: ${{ secrets.CODECOV_TOKEN }}
codecov-flag: 'be-unit'
codecov-name: 'be-unit'
- name: Install Grafana Bench
# We can't allow forks here, as we need secret access.
if: ${{ github.event_name != 'pull_request' }}
uses: ./.github/actions/setup-grafana-bench
- name: Process output for Bench
if: ${{ github.event_name != 'pull_request' }}
run: |
grafana-bench report \
--trigger pr-backend-unit-tests-oss \
--report-input go \
--report-output log \
--grafana-version "$(git rev-parse HEAD)" \
--suite-name grafana-oss-unit-tests \
/tmp/unit.log || true
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false

View File

@@ -25,24 +25,11 @@ jobs:
fetch-depth: 2
persist-credentials: false
- name: Check for Python files
id: check-python
run: |
if [ -z "$(find . -name '*.py' -type f)" ]; then
echo "No Python files found, skipping analysis"
echo "skip=true" >> "$GITHUB_OUTPUT"
else
echo "Python files found, proceeding with analysis"
echo "skip=false" >> "$GITHUB_OUTPUT"
fi
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
if: steps.check-python.outputs.skip != 'true'
uses: github/codeql-action/init@v3
with:
languages: "python"
- name: Perform CodeQL Analysis
if: steps.check-python.outputs.skip != 'true'
uses: github/codeql-action/analyze@v3

View File

@@ -5,14 +5,28 @@ on:
- labeled
- opened
- synchronize
permissions: {}
concurrency:
group: pr-commands-${{ github.event.number }}
jobs:
config:
runs-on: "ubuntu-latest"
outputs:
has-secrets: ${{ steps.check.outputs.has-secrets }}
steps:
- name: "Check for secrets"
id: check
shell: bash
run: |
if [ -n "${{ (secrets.GRAFANA_PR_AUTOMATION_APP_ID != '' &&
secrets.GRAFANA_PR_AUTOMATION_APP_PEM != '' &&
secrets.GRAFANA_MISC_STATS_API_KEY != ''
) || '' }}" ]; then
echo "has-secrets=1" >> "$GITHUB_OUTPUT"
fi
main:
permissions:
contents: read
pull-requests: write
needs: config
if: needs.config.outputs.has-secrets
runs-on: ubuntu-latest
steps:
- name: Checkout Actions
@@ -24,8 +38,15 @@ jobs:
persist-credentials: false
- name: Install Actions
run: npm install --production --prefix ./actions
- name: "Generate token"
id: generate_token
uses: tibdex/github-app-token@b62528385c34dbc9f38e5f4225ac829252d1ea92
with:
app_id: ${{ secrets.GRAFANA_PR_AUTOMATION_APP_ID }}
private_key: ${{ secrets.GRAFANA_PR_AUTOMATION_APP_PEM }}
- name: Run Commands
uses: ./actions/commands
with:
token: ${{ secrets.GITHUB_TOKEN }}
metricsWriteAPIKey: ${{secrets.GRAFANA_MISC_STATS_API_KEY}}
token: ${{ steps.generate_token.outputs.token }}
configPath: pr-commands

View File

@@ -65,5 +65,5 @@ jobs:
if ! git diff --exit-code --quiet; then
echo "Committing and pushing workspace changes"
git commit -a -m "update workspace"
git push origin "$BRANCH_NAME"
git push origin $BRANCH_NAME
fi

View File

@@ -11,46 +11,27 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
permissions: {}
jobs:
detect-changes:
name: Detect whether code changed
runs-on: ubuntu-latest
permissions:
contents: read
outputs:
changed: ${{ steps.detect-changes.outputs.e2e }}
steps:
- uses: actions/checkout@v4
with:
persist-credentials: true # required to get more history in the changed-files action
fetch-depth: 2
- name: Detect changes
id: detect-changes
uses: ./.github/actions/change-detection
with:
self: .github/workflows/pr-e2e-tests.yml
build-grafana:
needs: detect-changes
if: needs.detect-changes.outputs.changed == 'true'
name: Build & Package Grafana
runs-on: ubuntu-latest-16-cores
permissions:
contents: read
outputs:
artifact: ${{ steps.artifact.outputs.artifact }}
steps:
- uses: actions/checkout@v4
with:
path: ./grafana
repository: 'grafana/grafana-build'
ref: 'main'
persist-credentials: false
- uses: actions/checkout@v4
with:
path: ./grafana
- run: echo "GRAFANA_GO_VERSION=$(grep "go 1." grafana/go.work | cut -d\ -f2)" >> "$GITHUB_ENV"
- uses: dagger/dagger-for-github@e47aba410ef9bb9ed81a4d2a97df31061e5e842e
with:
verb: run
args: go -C grafana run ./pkg/build/cmd artifacts -a targz:grafana:linux/amd64 --grafana-dir="${PWD}/grafana" > out.txt
- run: mv "$(cat out.txt)" grafana.tar.gz
args: go run ./cmd artifacts -a targz:grafana:linux/amd64 --grafana-dir=grafana --go-version=${GRAFANA_GO_VERSION} > out.txt
- run: mv $(cat out.txt) grafana.tar.gz
- run: echo "artifact=grafana-e2e-${{github.run_number}}" >> "$GITHUB_OUTPUT"
id: artifact
- uses: actions/upload-artifact@v4
@@ -59,157 +40,33 @@ jobs:
retention-days: 1
name: ${{ steps.artifact.outputs.artifact }}
path: grafana.tar.gz
build-e2e-runner:
needs: detect-changes
if: needs.detect-changes.outputs.changed == 'true'
name: Build E2E test runner
runs-on: ubuntu-latest
permissions:
contents: read
outputs:
artifact: ${{ steps.artifact.outputs.artifact }}
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: ${{ !github.event.pull_request.head.repo.fork }}
- name: Build E2E test runner
id: artifact
run: |
set -euo pipefail
# We want a static binary, so we need to set CGO_ENABLED=0
CGO_ENABLED=0 go build -o ./e2e-runner ./e2e/
echo "artifact=e2e-runner-${{github.run_number}}" >> "$GITHUB_OUTPUT"
- uses: actions/upload-artifact@v4
id: upload
with:
retention-days: 1
name: ${{ steps.artifact.outputs.artifact }}
path: e2e-runner
run-e2e-tests:
needs:
- build-grafana
- build-e2e-runner
strategy:
fail-fast: false
matrix:
include:
- suite: various-suite
path: e2e/various-suite
- suite: dashboards-suite
path: e2e/dashboards-suite
- suite: smoke-tests-suite
path: e2e/smoke-tests-suite
- suite: panels-suite
path: e2e/panels-suite
- suite: various-suite (old arch)
path: e2e/old-arch/various-suite
flags: --flags="--env dashboardScene=false"
- suite: dashboards-suite (old arch)
path: e2e/old-arch/dashboards-suite
flags: --flags="--env dashboardScene=false"
- suite: smoke-tests-suite (old arch)
path: e2e/old-arch/smoke-tests-suite
flags: --flags="--env dashboardScene=false"
- suite: panels-suite (old arch)
path: e2e/old-arch/panels-suite
flags: --flags="--env dashboardScene=false"
e2e-matrix:
name: ${{ matrix.suite }}
runs-on: ubuntu-latest-8-cores
permissions:
contents: read
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/download-artifact@v4
with:
name: ${{ needs.build-grafana.outputs.artifact }}
- uses: actions/download-artifact@v4
with:
name: ${{ needs.build-e2e-runner.outputs.artifact }}
- name: chmod +x
run: chmod +x ./e2e-runner
- name: Run E2E tests
uses: dagger/dagger-for-github@e47aba410ef9bb9ed81a4d2a97df31061e5e842e
with:
verb: run
args: go run ./pkg/build/e2e --package=grafana.tar.gz
--suite=${{ matrix.path }}
${{ matrix.flags }}
- name: Set suite name
id: set-suite-name
if: success() || failure()
env:
SUITE: ${{ matrix.path }}
run: |
set -euo pipefail
echo "suite=$(echo "$SUITE" | sed 's/\//-/g')" >> "$GITHUB_OUTPUT"
- uses: actions/upload-artifact@v4
if: success() || failure()
with:
name: ${{ steps.set-suite-name.outputs.suite }}-${{ github.run_number }}
path: videos
retention-days: 1
run-a11y-test:
strategy:
matrix:
suite:
- various-suite
- dashboards-suite
- smoke-tests-suite
- panels-suite
needs:
- build-grafana
name: A11y test
runs-on: ubuntu-latest-8-cores
permissions:
contents: read
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/download-artifact@v4
with:
name: ${{ needs.build-grafana.outputs.artifact }}
- name: Run PR a11y test
if: github.event_name == 'pull_request'
uses: dagger/dagger-for-github@e47aba410ef9bb9ed81a4d2a97df31061e5e842e
with:
verb: run
args: go run ./pkg/build/a11y --package=grafana.tar.gz
- name: Run non-PR a11y test
if: github.event_name != 'pull_request'
uses: dagger/dagger-for-github@e47aba410ef9bb9ed81a4d2a97df31061e5e842e
with:
verb: run
args: go run ./pkg/build/a11y --package=grafana.tar.gz --no-threshold-fail
# This is the job that is actually required by rulesets.
# We want to only require one job instead of all the individual tests.
# Future work also allows us to start skipping some tests based on changed files.
required-e2e-tests:
uses: ./.github/workflows/run-e2e-suite.yml
with:
package: ${{ needs.build-grafana.outputs.artifact }}
suite: ${{ matrix.suite }}
e2e-matrix-old-arch:
name: ${{ matrix.suite }} (old arch)
strategy:
matrix:
suite:
- old-arch/various-suite
- old-arch/dashboards-suite
- old-arch/smoke-tests-suite
- old-arch/panels-suite
needs:
- run-e2e-tests
# a11y test is not listed on purpose: it is not an important E2E test.
# It is also totally fine to fail right now.
# always() is the best function here.
# success() || failure() will skip this function if any need is also skipped.
# That means conditional test suites will fail the entire requirement check.
if: always()
name: All E2E tests complete
runs-on: ubuntu-latest
steps:
- name: Check test suites
env:
NEEDS: ${{ toJson(needs) }}
run: |
FAILURES="$(echo "$NEEDS" | jq 'with_entries(select(.value.result == "failure")) | map_values(.result)')"
echo "$FAILURES"
if [ "$(echo "$FAILURES" | jq '. | length')" != "0" ]; then
exit 1
fi
echo "All OK!"
- build-grafana
uses: ./.github/workflows/run-e2e-suite.yml
with:
package: ${{ needs.build-grafana.outputs.artifact }}
suite: ${{ matrix.suite }}

View File

@@ -1,25 +0,0 @@
name: External PR labelling
on:
# We need "write" permissions on the PR to be able to add a label.
pull_request_target: # zizmor: ignore[dangerous-triggers] We need this to have labelling permissions. There are no user inputs here, so we should be fine.
types:
- opened
permissions: {}
jobs:
label-if-external:
name: Add 'pr/external' label if the PR is external
if: github.event.pull_request.author_association != 'MEMBER' && github.event.pull_request.author_association != 'OWNER'
runs-on: ubuntu-latest
permissions:
pull-requests: write # to write the label
steps:
- name: Add the 'pr/external' label
env:
PR_NUMBER: ${{ github.event.pull_request.number }}
run: |
echo "Adding 'pr/external' label to the PR"
gh pr edit "$PR_NUMBER" --add-label pr/external

View File

@@ -9,32 +9,13 @@ on:
permissions: {}
jobs:
detect-changes:
name: Detect whether code changed
runs-on: ubuntu-latest
permissions:
contents: read
outputs:
changed: ${{ steps.detect-changes.outputs.frontend }}
steps:
- uses: actions/checkout@v4
with:
persist-credentials: true # required to get more history in the changed-files action
fetch-depth: 2
- name: Detect changes
id: detect-changes
uses: ./.github/actions/change-detection
with:
self: .github/workflows/pr-frontend-unit-tests.yml
frontend-unit-tests:
permissions:
contents: read
id-token: write
# Run this workflow only for PRs from forks; if it gets merged into `main` or `release-*`,
# the `frontend-unit-tests-enterprise` workflow will run instead
needs: detect-changes
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork == true && needs.detect-changes.outputs.changed == 'true'
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork == true
runs-on: ubuntu-latest-8-cores
name: "Unit tests (${{ matrix.chunk }} / 8)"
strategy:
@@ -62,8 +43,7 @@ jobs:
contents: read
id-token: write
# Run this workflow for non-PR events (like pushes to `main` or `release-*`) OR for internal PRs (PRs not from forks)
needs: detect-changes
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false && needs.detect-changes.outputs.changed == 'true'
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false
runs-on: ubuntu-latest-8-cores
name: "Unit tests (${{ matrix.chunk }} / 8)"
strategy:
@@ -72,8 +52,6 @@ jobs:
chunk: [1, 2, 3, 4, 5, 6, 7, 8]
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
@@ -89,30 +67,3 @@ jobs:
TEST_MAX_WORKERS: 2
TEST_SHARD: ${{ matrix.chunk }}
TEST_SHARD_TOTAL: 8
# This is the job that is actually required by rulesets.
# We need to require EITHER the OSS or the Enterprise job to pass.
# However, if one is skipped, GitHub won't flat-map the shards,
# so they won't be accepted by a ruleset.
required-frontend-unit-tests:
needs:
- frontend-unit-tests
- frontend-unit-tests-enterprise
# always() is the best function here.
# success() || failure() will skip this function if any need is also skipped.
# That means conditional test suites will fail the entire requirement check.
if: always()
name: All frontend unit tests complete
runs-on: ubuntu-latest
steps:
- name: Check test suites
env:
NEEDS: ${{ toJson(needs) }}
run: |
FAILURES="$(echo "$NEEDS" | jq 'with_entries(select(.value.result == "failure")) | map_values(.result)')"
echo "$FAILURES"
if [ "$(echo "$FAILURES" | jq '. | length')" != "0" ]; then
exit 1
fi
echo "All OK!"

View File

@@ -1,27 +1,63 @@
# Owned by grafana-delivery-squad
# Intended to be dropped into the base repo Ex: grafana/grafana
name: Dispatch check for patch conflicts
run-name: dispatch-check-patch-conflicts-${{ github.base_ref }}-${{ github.head_ref }}
on:
pull_request:
pull_request_target:
types:
- opened
- reopened
- synchronize
branches:
- "main"
- "v*.*.*"
- "release-*"
permissions:
id-token: write
contents: read
permissions: {}
# Since this is run on a pull request, we want to apply the patches intended for the
# target branch onto the source branch, to verify compatibility before merging.
jobs:
dispatch-job:
uses: grafana/grafana/.github/workflows/pr-patch-check.yml@main
with:
head_ref: ${{ github.head_ref }}
base_ref: ${{ github.base_ref }}
repo: ${{ github.repository }}
sender_login: ${{ github.event.sender.login }}
sha: ${{ github.sha }}
pr_commit_sha: ${{ github.event.pull_request.head.sha }}
permissions:
id-token: write
contents: read
actions: write
env:
HEAD_REF: ${{ github.head_ref }}
BASE_REF: ${{ github.base_ref }}
REPO: ${{ github.repository }}
SENDER: ${{ github.event.sender.login }}
SHA: ${{ github.sha }}
PR_COMMIT_SHA: ${{ github.event.pull_request.head.sha }}
runs-on: ubuntu-latest
steps:
- name: "Generate token"
id: generate_token
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a
with:
# App needs Actions: Read/Write for the grafana/security-patch-actions repo
app_id: ${{ secrets.GRAFANA_DELIVERY_BOT_APP_ID }}
private_key: ${{ secrets.GRAFANA_DELIVERY_BOT_APP_PEM }}
- name: "Dispatch job"
uses: actions/github-script@v7
with:
github-token: ${{ steps.generate_token.outputs.token }}
script: |
const {HEAD_REF, BASE_REF, REPO, SENDER, SHA, PR_COMMIT_SHA} = process.env;
await github.rest.actions.createWorkflowDispatch({
owner: 'grafana',
repo: 'security-patch-actions',
workflow_id: 'test-patches-event.yml',
ref: 'main',
inputs: {
src_repo: REPO,
src_ref: HEAD_REF,
src_merge_sha: SHA,
src_pr_commit_sha: PR_COMMIT_SHA,
patch_repo: REPO + '-security-patches',
patch_ref: BASE_REF,
triggering_github_handle: SENDER
}
})

View File

@@ -1,78 +0,0 @@
name: Dispatch check for patch conflicts
on:
workflow_call:
inputs:
head_ref:
type: string
required: true
base_ref:
type: string
required: true
repo:
type: string
required: true
sender_login:
type: string
required: true
sha:
type: string
required: true
pr_commit_sha:
type: string
required: true
permissions:
id-token: write
contents: read
# Since this is run on a pull request, we want to apply the patches intended for the
# target branch onto the source branch, to verify compatibility before merging.
jobs:
dispatch-job:
env:
HEAD_REF: ${{ inputs.head_ref }}
BASE_REF: ${{ github.base_ref }}
REPO: ${{ inputs.repo }}
SENDER: ${{ inputs.sender_login }}
SHA: ${{ inputs.sha }}
PR_COMMIT_SHA: ${{ inputs.pr_commit_sha }}
runs-on: ubuntu-latest
steps:
- name: "Get vault secrets"
id: vault-secrets
uses: grafana/shared-workflows/actions/get-vault-secrets@main
with:
# Secrets placed in the ci/data/repo/grafana/grafana/delivery-bot-app path in Vault
repo_secrets: |
GRAFANA_DELIVERY_BOT_APP_PEM=delivery-bot-app:PRIVATE_KEY
- name: "Generate token"
id: generate_token
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a
with:
# App needs Actions: Read/Write for the grafana/security-patch-actions repo
app_id: ${{ vars.DELIVERY_BOT_APP_ID }}
private_key: ${{ env.GRAFANA_DELIVERY_BOT_APP_PEM }}
permissions: "{\"actions\": \"write\", \"workflows\": \"write\"}"
repositories: "[\"security-patch-actions\"]"
- name: "Dispatch job"
uses: actions/github-script@v7
with:
github-token: ${{ steps.generate_token.outputs.token }}
script: |
const {HEAD_REF, BASE_REF, REPO, SENDER, SHA, PR_COMMIT_SHA} = process.env;
await github.rest.actions.createWorkflowDispatch({
owner: 'grafana',
repo: 'security-patch-actions',
workflow_id: 'test-patches-event.yml',
ref: 'main',
inputs: {
src_repo: REPO,
src_ref: HEAD_REF,
src_merge_sha: SHA,
src_pr_commit_sha: PR_COMMIT_SHA,
patch_repo: REPO + '-security-patches',
patch_ref: BASE_REF,
triggering_github_handle: SENDER
}
})

View File

@@ -15,8 +15,6 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
permissions: {}
jobs:
sqlite:
strategy:
@@ -29,8 +27,6 @@ jobs:
name: Sqlite (${{ matrix.shard }})
runs-on: ubuntu-latest-8-cores
permissions:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v4
@@ -41,11 +37,12 @@ jobs:
with:
go-version-file: go.mod
cache: true
- name: Generate Go code
run: make gen-go
- name: Run tests
env:
SHARD: ${{ matrix.shard }}
run: |
set -euo pipefail
readarray -t PACKAGES <<< "$(./scripts/ci/backend-tests/pkgs-with-tests-named.sh -b TestIntegration | ./scripts/ci/backend-tests/shard.sh -N"$SHARD" -d-)"
go test -tags=sqlite -timeout=5m -run '^TestIntegration' "${PACKAGES[@]}"
mysql:
@@ -59,8 +56,6 @@ jobs:
name: MySQL (${{ matrix.shard }})
runs-on: ubuntu-latest-8-cores
permissions:
contents: read
env:
GRAFANA_TEST_DB: mysql
MYSQL_HOST: 127.0.0.1
@@ -78,8 +73,6 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Setup Go
uses: actions/setup-go@v5
with:
@@ -87,11 +80,12 @@ jobs:
cache: true
- name: Setup MySQL devenv
run: mysql -h 127.0.0.1 -P 3306 -u root -prootpass < devenv/docker/blocks/mysql_tests/setup.sql
- name: Generate Go code
run: make gen-go
- name: Run tests
env:
SHARD: ${{ matrix.shard }}
run: |
set -euo pipefail
readarray -t PACKAGES <<< "$(./scripts/ci/backend-tests/pkgs-with-tests-named.sh -b TestIntegration | ./scripts/ci/backend-tests/shard.sh -N"$SHARD" -d-)"
go test -p=1 -tags=mysql -timeout=5m -run '^TestIntegration' "${PACKAGES[@]}"
postgres:
@@ -123,8 +117,6 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Setup Go
uses: actions/setup-go@v5
with:
@@ -132,37 +124,11 @@ jobs:
cache: true
- name: Setup Postgres devenv
run: psql -p 5432 -h 127.0.0.1 -U grafanatest -d grafanatest -f devenv/docker/blocks/postgres_tests/setup.sql
- name: Generate Go code
run: make gen-go
- name: Run tests
env:
SHARD: ${{ matrix.shard }}
run: |
set -euo pipefail
readarray -t PACKAGES <<< "$(./scripts/ci/backend-tests/pkgs-with-tests-named.sh -b TestIntegration | ./scripts/ci/backend-tests/shard.sh -N"$SHARD" -d-)"
go test -p=1 -tags=postgres -timeout=5m -run '^TestIntegration' "${PACKAGES[@]}"
# This is the job that is actually required by rulesets.
# We want to only require one job instead of all the individual tests and shards.
# Future work also allows us to start skipping some tests based on changed files.
required-backend-integration-tests:
needs:
- mysql
- postgres
- sqlite
# always() is the best function here.
# success() || failure() will skip this function if any need is also skipped.
# That means conditional test suites will fail the entire requirement check.
if: always()
name: All backend integration tests complete
runs-on: ubuntu-latest
steps:
- name: Check test suites
env:
NEEDS: ${{ toJson(needs) }}
run: |
FAILURES="$(echo "$NEEDS" | jq 'with_entries(select(.value.result == "failure")) | map_values(.result)')"
echo "$FAILURES"
if [ "$(echo "$FAILURES" | jq '. | length')" != "0" ]; then
exit 1
fi
echo "All OK!"

View File

@@ -1,68 +0,0 @@
name: Publish artifacts to bucket
on:
workflow_call:
inputs:
pattern:
description: |
(From actinos/download-artifact) Glob pattern of artifacts (instead of `name`)
Be careful when using this option; the contents of the root of each artifact are coalesced, so ensure that they do not collide.
type: string
required: false
name:
description: (From actinos/download-artifact) Name of the GitHub artifact to upload (Ignored if `pattern` is set)
type: string
required: false
bucket:
description: Name of the GCS bucket
type: string
required: true
bucket-path:
description: Path in the GCS bucket
type: string
required: false
default: "."
environment:
description: "'prod' or 'dev'"
type: string
required: false
default: dev
run-id:
type: string
required: true
service-account:
type: string
required: false
default: github-prerelease-writer@grafanalabs-workload-identity.iam.gserviceaccount.com
jobs:
publish:
runs-on: github-hosted-ubuntu-x64-small
name: Publish
permissions:
id-token: write
steps:
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093
with:
name: ${{ inputs.name }}
pattern: ${{ inputs.pattern }}
run-id: ${{ inputs.run-id }}
path: ./artifact
- name: Log in to GCS
id: login-to-gcs
uses: grafana/shared-workflows/actions/login-to-gcs@login-to-gcs/v0.2.1
with:
environment: ${{ inputs.environment }}
service_account: ${{ inputs.service-account }}
- name: Coalesce artifacts
run: |
mkdir out
find ./artifact -mindepth 2 -maxdepth 2 -exec cp -r {} out/ \;
ls -al out
- name: Upload artifacts
uses: grafana/shared-workflows/actions/push-to-gcs@push-to-gcs-v0.2.0
with:
bucket: ${{ inputs.bucket }}
environment: ${{ inputs.environment }}
parent: false
path: out
bucket_path: ${{ inputs.bucket-path }}
service_account: ${{ inputs.service-account }}

View File

@@ -8,17 +8,25 @@ on:
- '**/*.cue'
workflow_dispatch:
permissions: {}
jobs:
main:
if: github.repository == 'grafana/grafana'
config:
runs-on: "ubuntu-latest"
permissions:
contents: read # cloning repo
actions: read # reading .github/workflows/ dir
id-token: write # reading vault secrets
if: github.repository == 'grafana/grafana'
outputs:
has-secrets: ${{ steps.check.outputs.has-secrets }}
steps:
- name: "Check for secrets"
id: check
shell: bash
run: |
if [ -n "${{ (secrets.GRAFANA_DELIVERY_BOT_APP_ID != '' &&secrets.GRAFANA_DELIVERY_BOT_APP_PEM != '') || '' }}" ]; then
echo "has-secrets=1" >> "$GITHUB_OUTPUT"
fi
main:
needs: config
if: github.repository == 'grafana/grafana' && needs.config.outputs.has-secrets
runs-on: "ubuntu-latest"
steps:
- name: "Checkout Grafana repo"
uses: "actions/checkout@v4"
@@ -34,20 +42,12 @@ jobs:
- name: "Verify kinds"
run: go run .github/workflows/scripts/kinds/verify-kinds.go
- name: "Get vault secrets"
id: vault-secrets
uses: grafana/shared-workflows/actions/get-vault-secrets@main
with:
# Secrets placed in the ci/data/repo/grafana/grafana/delivery-bot-app path in Vault
repo_secrets: |
GRAFANA_DELIVERY_BOT_APP_PEM=delivery-bot-app:PRIVATE_KEY
- name: "Generate token"
id: generate_token
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a
uses: tibdex/github-app-token@b62528385c34dbc9f38e5f4225ac829252d1ea92
with:
# App needs Actions: Read/Write for the grafana/security-patch-actions repo
app_id: ${{ vars.DELIVERY_BOT_APP_ID }}
private_key: ${{ env.GRAFANA_DELIVERY_BOT_APP_PEM }}
app_id: ${{ secrets.GRAFANA_DELIVERY_BOT_APP_ID }}
private_key: ${{ secrets.GRAFANA_DELIVERY_BOT_APP_PEM }}
- name: "Clone website-sync Action"
run: "git clone --single-branch --no-tags --depth 1 -b master https://grafana-delivery-bot:${{ steps.generate_token.outputs.token }}@github.com/grafana/website-sync ./.github/actions/website-sync"

View File

@@ -10,17 +10,25 @@ on:
- '**/*.cue'
workflow_dispatch:
permissions: {}
jobs:
main:
if: github.repository == 'grafana/grafana'
config:
runs-on: "ubuntu-latest"
permissions:
contents: read # cloning repo
actions: read # reading .github/workflows/ dir
id-token: write # reading vault secrets
if: github.repository == 'grafana/grafana'
outputs:
has-secrets: ${{ steps.check.outputs.has-secrets }}
steps:
- name: "Check for secrets"
id: check
shell: bash
run: |
if [ -n "${{ (secrets.GRAFANA_DELIVERY_BOT_APP_ID != '' && secrets.GRAFANA_DELIVERY_BOT_APP_PEM != '') || '' }}" ]; then
echo "has-secrets=1" >> "$GITHUB_OUTPUT"
fi
main:
needs: config
if: github.repository == 'grafana/grafana' && needs.config.outputs.has-secrets
runs-on: "ubuntu-latest"
steps:
- name: "Checkout Grafana repo"
uses: "actions/checkout@v4"
@@ -42,7 +50,6 @@ jobs:
with:
repository: "grafana/grafana-github-actions"
path: "./actions"
persist-credentials: false
- name: "Install Actions from library"
run: "npm install --production --prefix ./actions"
@@ -55,20 +62,12 @@ jobs:
release_tag_regexp: "^v(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"
release_branch_regexp: "^v(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.x$"
- name: "Get vault secrets"
id: vault-secrets
uses: grafana/shared-workflows/actions/get-vault-secrets@main
with:
# Secrets placed in the ci/data/repo/grafana/grafana/delivery-bot-app path in Vault
repo_secrets: |
GRAFANA_DELIVERY_BOT_APP_PEM=delivery-bot-app:PRIVATE_KEY
- name: "Generate token"
id: generate_token
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a
uses: tibdex/github-app-token@b62528385c34dbc9f38e5f4225ac829252d1ea92
with:
# App needs Actions: Read/Write for the grafana/security-patch-actions repo
app_id: ${{ vars.DELIVERY_BOT_APP_ID }}
private_key: ${{ env.GRAFANA_DELIVERY_BOT_APP_PEM }}
app_id: ${{ secrets.GRAFANA_DELIVERY_BOT_APP_ID }}
private_key: ${{ secrets.GRAFANA_DELIVERY_BOT_APP_PEM }}
- name: "Clone website-sync Action"
if: "steps.has-matching-release-tag.outputs.bool == 'true'"

View File

@@ -16,8 +16,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: grafana/writers-toolkit/publish-technical-documentation@publish-technical-documentation/v1 # zizmor: ignore[unpinned-uses]
with:
website_directory: content/docs/grafana/next

View File

@@ -1,31 +0,0 @@
name: Reject GitHub secrets
on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches:
- main
- release-*
permissions: {}
jobs:
reject-gh-secrets:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
persist-credentials: false
- name: Grep for secrets accesses
run: |
if grep -E '\$\{\{\s*secrets\s*\.\s*[a-zA-Z0-9_\-]+\s*\}\}' .github/workflows/*.yml | grep -vF 'secrets.GITHUB_TOKEN' | grep -vF '# nolint:reject-gh-secrets'; then
echo "Found secrets access in the codebase. Please remove it in favour of Vault secrets."
echo "If you are sure this is correct, add '# nolint:reject-gh-secrets' to the end of the line. Be VERY careful with this."
exit 1
fi

View File

@@ -1,190 +0,0 @@
name: Build Release Packages
on:
workflow_dispatch:
push:
branches:
- release-*.*.*
- main
permissions:
contents: read
# Builds the following artifacts:
#
# npm:grafana
# storybook
# targz:grafana:linux/amd64
# targz:grafana:linux/arm64
# targz:grafana:linux/arm/v6
# targz:grafana:linux/arm/v7
# deb:grafana:linux/amd64
# deb:grafana:linux/arm64
# deb:grafana:linux/arm/v6
# deb:grafana:linux/arm/v7
# rpm:grafana:linux/amd64:sign
# rpm:grafana:linux/arm64:sign
# docker:grafana:linux/amd64
# docker:grafana:linux/arm64
# docker:grafana:linux/arm/v7
# docker:grafana:linux/amd64:ubuntu
# docker:grafana:linux/arm64:ubuntu
# docker:grafana:linux/arm/v7:ubuntu
# targz:grafana:windows/amd64
# targz:grafana:windows/arm64
# targz:grafana:darwin/amd64
# targz:grafana:darwin/arm64
# zip:grafana:windows/amd64
# msi:grafana:windows/amd64
jobs:
setup:
name: setup
runs-on: github-hosted-ubuntu-x64-small
if: github.repository == 'grafana/grafana'
outputs:
version: ${{ steps.output.outputs.version }}
grafana-commit: ${{ steps.output.outputs.grafana_commit }}
permissions:
contents: read
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Set up version (Release Branches)
if: startsWith(github.ref_name, 'release-')
run: echo "${REF_NAME#release-}" > VERSION
env:
REF_NAME: ${{ github.ref_name }}
- name: Set up version (Non-release branches)
if: ${{ !startsWith(github.ref_name, 'release-') }}
run: jq -r .version package.json | sed -s "s/pre/${BUILD_ID}/g" > VERSION
env:
REF_NAME: ${{ github.ref_name }}
BUILD_ID: ${{ github.run_id }}
- id: output
run: |
echo "version=$(cat VERSION)" >> "$GITHUB_OUTPUT"
echo "grafana_commit=$(git rev-parse HEAD)" | tee -a "$GITHUB_OUTPUT"
# Triggers the same workflow in `grafana-enterprise` on the same ref
downstream:
runs-on: github-hosted-ubuntu-x64-small
needs: [setup]
permissions:
contents: read
id-token: write
name: Dispatch grafana-enterprise build
steps:
- id: vault-secrets
uses: grafana/shared-workflows/actions/get-vault-secrets@main
with:
repo_secrets: |
GRAFANA_DELIVERY_BOT_APP_PEM=delivery-bot-app:PRIVATE_KEY
- name: Generate token
id: generate_token
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a
with:
app_id: ${{ vars.DELIVERY_BOT_APP_ID }}
private_key: ${{ env.GRAFANA_DELIVERY_BOT_APP_PEM }}
repositories: '["grafana-enterprise"]'
permissions: '{"actions": "write"}'
- uses: actions/github-script@v7
env:
REF: ${{ github.ref_name }}
VERSION: ${{ needs.setup.outputs.version }}
BUILD_ID: ${{ github.run_id }}
BUCKET: grafana-prerelease
GRAFANA_COMMIT: ${{ needs.setup.outputs.grafana-commit }}
with:
github-token: ${{ steps.generate_token.outputs.token }}
script: |
const {REF, VERSION, BUILD_ID, BUCKET, GRAFANA_COMMIT} = process.env;
await github.rest.actions.createWorkflowDispatch({
owner: 'grafana',
repo: 'grafana-enterprise',
workflow_id: 'release-build.yml',
ref: REF,
inputs: {
"version": VERSION,
"build-id": String(BUILD_ID),
"bucket": BUCKET,
"grafana-commit": GRAFANA_COMMIT,
}
})
build:
runs-on: github-hosted-ubuntu-x64-large
needs: [setup]
permissions:
contents: read
id-token: write
name: ${{ needs.setup.outputs.version }} / ${{ matrix.name }}
strategy:
fail-fast: false
matrix:
# The artifacts in these lists are grouped by their os+arch because the
# build process can reuse the binaries for each artifact.
# The downside to this is that the frontend will be built for each one when it could be reused for all of them.
# This could be a future improvement.
include:
- name: linux-amd64
artifacts: targz:grafana:linux/amd64,deb:grafana:linux/amd64,rpm:grafana:linux/amd64,docker:grafana:linux/amd64,docker:grafana:linux/amd64:ubuntu,npm:grafana,storybook
- name: linux-arm64
artifacts: targz:grafana:linux/arm64,deb:grafana:linux/arm64,rpm:grafana:linux/arm64,docker:grafana:linux/arm64,docker:grafana:linux/arm64:ubuntu
- name: linux-s390x
artifacts: targz:grafana:linux/s390x,deb:grafana:linux/s390x,rpm:grafana:linux/s390x,docker:grafana:linux/s390x,docker:grafana:linux/s390x:ubuntu
- name: linux-armv7
artifacts: targz:grafana:linux/arm/v7,deb:grafana:linux/arm/v7,docker:grafana:linux/arm/v7,docker:grafana:linux/arm/v7:ubuntu
- name: linux-armv6
artifacts: targz:grafana:linux/arm/v6,deb:grafana:linux/arm/v6
- name: windows-amd64
artifacts: targz:grafana:windows/amd64,zip:grafana:windows/amd64,msi:grafana:windows/amd64
- name: windows-arm64
artifacts: targz:grafana:windows/arm64,zip:grafana:windows/arm64
- name: darwin-amd64
artifacts: targz:grafana:darwin/amd64
- name: darwin-arm64
artifacts: targz:grafana:darwin/arm64
steps:
- uses: grafana/shared-workflows/actions/dockerhub-login@main
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Set up QEMU
uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392
with:
image: docker.io/tonistiigi/binfmt:qemu-v7.0.0-28
- uses: ./.github/actions/build-package
id: build
with:
artifacts: ${{ matrix.artifacts }}
checksum: true
grafana-path: .
github-token: ${{ secrets.GITHUB_TOKEN }}
version: ${{ needs.setup.outputs.version }}
output: artifacts-${{ matrix.name }}.txt
verify: true
build-id: ${{ github.run_id }}
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
with:
name: artifacts-list-${{ matrix.name }}
path: ${{ steps.build.outputs.file }}
retention-days: 1
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
with:
name: artifacts-${{ matrix.name }}
path: ${{ steps.build.outputs.dist-dir }}
retention-days: 1
publish-artifacts:
name: Upload artifacts
uses: grafana/grafana/.github/workflows/publish-artifact.yml@main
permissions:
id-token: write
needs:
- setup
- build
with:
bucket: grafana-prerelease
pattern: artifacts-*
run-id: ${{ github.run_id }}
bucket-path: ${{ needs.setup.outputs.version }}
environment: prod

View File

@@ -21,11 +21,6 @@ on:
- 'main'
- 'release-*.*.*'
permissions:
contents: write
pull-requests: write
id-token: write
jobs:
setup:
if: ${{ github.event_name == 'workflow_dispatch' || (github.event.pull_request.merged == true && startsWith(github.head_ref, 'release/')) }}
@@ -35,8 +30,6 @@ jobs:
release_branch: ${{ steps.output.outputs.release_branch }}
dry_run: ${{ steps.output.outputs.dry_run }}
latest: ${{ steps.output.outputs.latest }}
private_key: ${{ steps.output.outputs.delivery_bot_pem }}
app_id: ${{ vars.DELIVERY_BOT_APP_ID }}
env:
HEAD_REF: ${{ github.head_ref }}
DRY_RUN: ${{ inputs.dry_run }}
@@ -46,34 +39,36 @@ jobs:
steps:
- if: ${{ github.event.pull_request.merged == true && startsWith(github.head_ref, 'release/') }}
run: |
{
echo "VERSION=$(echo "${HEAD_REF}" | sed -e 's/release\/.*\//v/g')"
echo "DRY_RUN=${{ contains(github.event.pull_request.labels.*.name, 'release/dry-run') }}"
echo "LATEST=${{ contains(github.event.pull_request.labels.*.name, 'release/latest') && '1' || '0' }}"
} >> "$GITHUB_ENV"
echo "VERSION=$(echo ${HEAD_REF} | sed -e 's/release\/.*\//v/g')" >> $GITHUB_ENV
echo "DRY_RUN=${{ contains(github.event.pull_request.labels.*.name, 'release/dry-run') }}" >> $GITHUB_ENV
echo "LATEST=${{ contains(github.event.pull_request.labels.*.name, 'release/latest') && '1' || '0' }}" >> $GITHUB_ENV
- id: output
run: |
echo "dry_run: $DRY_RUN"
echo "latest: $LATEST"
echo "version: $VERSION"
{
echo "release_branch=$(echo "$VERSION" | sed -s 's/^v/release-/g')"
echo "dry_run=$DRY_RUN"
echo "latest=$LATEST"
echo "version=$VERSION"
} >> "$GITHUB_OUTPUT"
echo "release_branch=$(echo $VERSION | sed -s 's/^v/release-/g')" >> "$GITHUB_OUTPUT"
echo "dry_run=$DRY_RUN" >> "$GITHUB_OUTPUT"
echo "latest=$LATEST" >> "$GITHUB_OUTPUT"
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
create_next_release_branch_grafana:
name: Create next release branch (Grafana)
needs: setup
uses: grafana/grafana/.github/workflows/create-next-release-branch.yml@main
uses: ./.github/workflows/create-next-release-branch.yml
secrets:
GRAFANA_DELIVERY_BOT_APP_ID: ${{ secrets.GRAFANA_DELIVERY_BOT_APP_ID }}
GRAFANA_DELIVERY_BOT_APP_PEM: ${{ secrets.GRAFANA_DELIVERY_BOT_APP_PEM }}
with:
ownerRepo: 'grafana/grafana'
source: ${{ needs.setup.outputs.release_branch }}
create_next_release_branch_enterprise:
name: Create next release branch (Grafana Enterprise)
needs: setup
uses: grafana/grafana/.github/workflows/create-next-release-branch.yml@main
uses: ./.github/workflows/create-next-release-branch.yml
secrets:
GRAFANA_DELIVERY_BOT_APP_ID: ${{ secrets.GRAFANA_DELIVERY_BOT_APP_ID }}
GRAFANA_DELIVERY_BOT_APP_PEM: ${{ secrets.GRAFANA_DELIVERY_BOT_APP_PEM }}
with:
ownerRepo: 'grafana/grafana-enterprise'
source: ${{ needs.setup.outputs.release_branch }}
@@ -97,7 +92,10 @@ jobs:
needs:
- setup
- create_next_release_branch_grafana
uses: grafana/grafana/.github/workflows/migrate-prs.yml@main
uses: ./.github/workflows/migrate-prs.yml
secrets:
GRAFANA_DELIVERY_BOT_APP_ID: ${{ secrets.GRAFANA_DELIVERY_BOT_APP_ID }}
GRAFANA_DELIVERY_BOT_APP_PEM: ${{ secrets.GRAFANA_DELIVERY_BOT_APP_PEM }}
with:
ownerRepo: 'grafana/grafana'
from: ${{ needs.setup.outputs.release_branch }}
@@ -106,14 +104,20 @@ jobs:
needs:
- setup
- create_next_release_branch_enterprise
uses: grafana/grafana/.github/workflows/migrate-prs.yml@main
uses: ./.github/workflows/migrate-prs.yml
secrets:
GRAFANA_DELIVERY_BOT_APP_ID: ${{ secrets.GRAFANA_DELIVERY_BOT_APP_ID }}
GRAFANA_DELIVERY_BOT_APP_PEM: ${{ secrets.GRAFANA_DELIVERY_BOT_APP_PEM }}
with:
ownerRepo: 'grafana/grafana-enterprise'
from: ${{ needs.setup.outputs.release_branch }}
to: ${{ needs.create_next_release_branch_enterprise.outputs.branch }}
post_changelog_on_forum:
needs: setup
uses: grafana/grafana/.github/workflows/community-release.yml@main
uses: ./.github/workflows/community-release.yml
secrets:
GRAFANA_MISC_STATS_API_KEY: ${{ secrets.GRAFANA_MISC_STATS_API_KEY }}
GRAFANABOT_FORUM_KEY: ${{ secrets.GRAFANABOT_FORUM_KEY }}
with:
version: ${{ needs.setup.outputs.version }}
dry_run: ${{ needs.setup.outputs.dry_run == 'true' }}
@@ -122,7 +126,7 @@ jobs:
# The github-release action retrieves the changelog using the /repos/grafana/grafana/contents/CHANGELOG.md API
# endpoint.
needs: setup
uses: grafana/grafana/.github/workflows/github-release.yml@main
uses: ./.github/workflows/github-release.yml
with:
version: ${{ needs.setup.outputs.version }}
dry_run: ${{ needs.setup.outputs.dry_run == 'true' }}
@@ -135,5 +139,5 @@ jobs:
VERSION: ${{ needs.setup.outputs.version }}
steps:
- run: |
echo announce on slack that "$VERSION" has been released
echo dry run: "$DRY_RUN"
echo announce on slack that $VERSION has been released
echo dry run: $DRY_RUN

View File

@@ -15,19 +15,15 @@ on:
version:
required: true
type: string
description: The version of Grafana that is being released (without the `v` prefix)`
description: The version of Grafana that is being released
target:
required: true
type: string
description: The release branch pattern (eg v9.5.x) that these changes are being merged into
backport:
required: false
type: string
description: 'Unused: left here for backwards compatibility'
changelog:
required: false
type: boolean
default: true
bump:
required: false
type: boolean
default: true
description: Branch to backport these changes to
dry_run:
required: false
default: false
@@ -36,63 +32,29 @@ on:
required: false
default: false
type: boolean
release_date:
required: false
type: string
description: "Release date in format YYYY-MM-DD"
permissions:
contents: read
permissions: {}
jobs:
capture-date:
runs-on: ubuntu-latest
outputs:
release_date: ${{ steps.set_release_date.outputs.release_date }}
steps:
- name: compute_release_date
run: |
if [ -n "$DATE" ]; then
echo "release_date=$DATE" >> "$GITHUB_ENV"
exit 0
fi
echo "Fetching workflow run creation date..."
created_at=$(gh run view "$GITHUB_RUN_ID" --repo "$GH_REPO" --json createdAt -q .createdAt)
formatted_date=$(date -d "$created_at" +%Y-%m-%d)
echo "release_date=$formatted_date" >> "$GITHUB_ENV"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
DATE: ${{ inputs.release_date }}
- id: set_release_date
run: echo "release_date=$release_date" >> "$GITHUB_OUTPUT"
push-changelog-to-main:
needs: capture-date
permissions:
contents: write
id-token: write
pull-requests: write
name: Create PR to main to update the changelog
uses: ./.github/workflows/changelog.yml
concurrency:
group: grafana-release-pr-update-changelog-main
cancel-in-progress: false
with:
previous_version: ${{inputs.previous_version}}
version: ${{ inputs.version }}
latest: ${{ inputs.latest }}
dry_run: ${{ inputs.dry_run }}
target: main
work_branch: changelog/update-changelog-${{ needs.capture-date.outputs.release_date }}
secrets:
GRAFANA_DELIVERY_BOT_APP_ID: ${{ secrets.GRAFANA_DELIVERY_BOT_APP_ID }}
GRAFANA_DELIVERY_BOT_APP_PEM: ${{ secrets.GRAFANA_DELIVERY_BOT_APP_PEM }}
create-prs:
permissions:
contents: write
id-token: write
pull-requests: write
name: Create Release PR
runs-on: ubuntu-latest
@@ -102,62 +64,55 @@ jobs:
LATEST: ${{ inputs.latest }}
DRY_RUN: ${{ inputs.dry_run }}
steps:
- name: "Get vault secrets"
id: vault-secrets
uses: grafana/shared-workflows/actions/get-vault-secrets@main
- name: Get release branch
id: branch
uses: grafana/grafana-github-actions-go/latest-release-branch@main # zizmor: ignore[unpinned-uses]
with:
repo_secrets: |
GRAFANA_DELIVERY_BOT_APP_PEM=delivery-bot-app:PRIVATE_KEY
- name: Generate token
id: generate_changelog_token
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a
with:
app_id: ${{ vars.DELIVERY_BOT_APP_ID }}
private_key: ${{ env.GRAFANA_DELIVERY_BOT_APP_PEM }}
repositories: "[\"grafana\", \"grafana-enterprise\"]"
permissions: "{\"contents\": \"write\", \"pull_requests\": \"write\", \"workflows\":\"write\"}"
- run: echo "RELEASE_BRANCH=release-${VERSION}" >> "$GITHUB_ENV"
token: ${{ secrets.GITHUB_TOKEN }}
ownerRepo: 'grafana/grafana'
pattern: ${{ inputs.target }}
- name: Checkout Grafana
uses: actions/checkout@v4
with:
token: ${{ steps.generate_changelog_token.outputs.token }}
ref: ${{ env.RELEASE_BRANCH }}
ref: ${{ steps.branch.outputs.branch }}
fetch-tags: true
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
persist-credentials: false
- name: Checkout Grafana (main)
uses: actions/checkout@v4
with:
token: ${{ steps.generate_changelog_token.outputs.token }}
ref: main
fetch-depth: '0'
fetch-tags: 'false'
path: .grafana-main
token: ${{ secrets.GITHUB_TOKEN }}
persist-credentials: false
- name: Setup nodejs environment
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Configure git user
run: |
git config --local user.name "grafana-delivery-bot[bot]"
git config --local user.email "grafana-delivery-bot[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local --add --bool push.autoSetupRemote true
- name: Create branch
run: git checkout -b "release/${{ github.run_number }}/$VERSION"
run: git checkout -b "release/${{ github.run_id }}/$VERSION"
- name: Generate changelog token
id: generate_changelog_token
uses: tibdex/github-app-token@b62528385c34dbc9f38e5f4225ac829252d1ea92
with:
app_id: ${{ secrets.GRAFANA_DELIVERY_BOT_APP_ID }}
private_key: ${{ secrets.GRAFANA_DELIVERY_BOT_APP_PEM }}
- name: Generate changelog
id: changelog
if: ${{ inputs.changelog == true || inputs.changelog == 'true' }}
uses: ./.grafana-main/.github/actions/changelog
with:
previous: ${{inputs.previous_version}}
github_token: ${{ steps.generate_changelog_token.outputs.token }}
target: v${{ env.VERSION }}
output_file: changelog_items.md
- name: Patch CHANGELOG.md
if: ${{ inputs.changelog == true || inputs.changelog == 'true' }}
run: |
# Prepare CHANGELOG.md content with version delimiters
(
@@ -189,43 +144,58 @@ jobs:
git diff CHANGELOG.md
- name: "Prettify CHANGELOG.md"
if: ${{ inputs.changelog == true || inputs.changelog == 'true' }}
run: npx prettier --write CHANGELOG.md
- name: Commit CHANGELOG.md changes
if: ${{ inputs.changelog == true || inputs.changelog == 'true' }}
run: git add CHANGELOG.md && git commit --allow-empty -m "Update changelog" CHANGELOG.md
- name: Bump versions
if: ${{ inputs.bump == true || inputs.bump == 'true' }}
uses: dagger/dagger-for-github@e47aba410ef9bb9ed81a4d2a97df31061e5e842e
with:
verb: run
args: go run -C .grafana-main ./pkg/build/actions/bump-version -version="patch"
- name: make gen-cue
shell: bash
run: make gen-cue
- name: Update package.json versions
uses: ./.grafana-main/pkg/build/actions/bump-version
with:
version: 'patch'
- name: Add package.json changes
if: ${{ inputs.bump == true || inputs.bump == 'true' }}
run: |
git add package.json lerna.json yarn.lock packages public
test -e e2e/test-plugins && git add e2e/test-plugins
git commit -m "Update version to $VERSION"
- name: Git push
run: git push
- name: Create PR
if: ${{ inputs.dry_run }} != true
run: git push --set-upstream origin "release/${{ github.run_id }}/$VERSION"
- name: Create PR without backports
if: "${{ inputs.backport == '' }}"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DRY_RUN: ${{ inputs.dry_run }}
BRANCH: ${{ steps.branch.outputs.branch }}
run: |
LATEST_FLAG=()
LATEST_FLAG=""
if [ "$LATEST" = "true" ]; then
LATEST_FLAG=(-l "release/latest")
LATEST_FLAG='-l "release/latest"'
fi
gh pr create \
"${LATEST_FLAG[@]}" \
$LATEST_FLAG \
-l "no-changelog" \
--dry-run="$DRY_RUN" \
-B "${RELEASE_BRANCH}" \
-B "$BRANCH" \
--title "Release: $VERSION" \
--body "These code changes must be merged after a release is complete"
- name: Create PR with backports
if: "${{ inputs.backport != '' }}"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: ${{ steps.branch.outputs.branch }}
run: |
LATEST_FLAG=""
if [ "$LATEST" = "true" ]; then
LATEST_FLAG='-l "release/latest"'
fi
gh pr create \
$LATEST_FLAG \
-l "product-approved" \
-l "no-changelog" \
--dry-run="$DRY_RUN" \
-B "$BRANCH" \
--title "Release: $VERSION" \
--body "These code changes must be merged after a release is complete"

View File

@@ -2,7 +2,7 @@ name: run-dashboard-search-e2e
on:
workflow_run:
workflows:
workflows:
- trigger-dashboard-search-e2e
types:
- completed
@@ -36,11 +36,11 @@ jobs:
- run: go version
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
node-version: 20
cache: 'yarn'
- name: Cache Node Modules
id: cache-node-modules
uses: actions/cache@v4
uses: actions/cache@v3
with:
path: |
node_modules
@@ -56,7 +56,7 @@ jobs:
runTests: false
- name: Cache Grafana Build and Dependencies
id: cache-grafana
uses: actions/cache@v4
uses: actions/cache@v3
with:
path: |
bin/
@@ -74,11 +74,9 @@ jobs:
- name: Get list of .ini files
id: get_files
env:
WORKSPACE: ${{ github.workspace }}
run: |
INI_FILES="$(find "$WORKSPACE"/e2e/dashboards-search-suite/ -type f -name '*.ini' | jq -R -s -c 'split("\n")[:-1]')"
echo "ini_files=$INI_FILES" >> "$GITHUB_OUTPUT"
INI_FILES=$(ls ${{ github.workspace }}/e2e/dashboards-search-suite/*.ini | jq -R -s -c 'split("\n")[:-1]')
echo "ini_files=$INI_FILES" >> $GITHUB_OUTPUT
shell: bash
run_tests:
@@ -97,10 +95,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Restore Cached Node Modules
uses: actions/cache@v4
uses: actions/cache@v3
with:
path: |
node_modules
@@ -108,7 +104,7 @@ jobs:
key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }}
- name: Restore Cached Grafana Build and Dependencies
uses: actions/cache@v4
uses: actions/cache@v3
with:
path: |
bin/
@@ -124,12 +120,11 @@ jobs:
env:
INI_NAME: ${{ matrix.ini_file }}
run: |
FILE_NAME="$(basename "$INI_NAME" .ini)"
echo "FILE_NAME=$FILE_NAME" >> "$GITHUB_OUTPUT"
FILE_NAME=$(basename "$env.INI_NAME" .ini)
echo "FILE_NAME=$FILE_NAME" >> $GITHUB_OUTPUT
- name: Run tests for ${{ steps.set_file_name.outputs.FILE_NAME }}
env:
INI_NAME: ${{ matrix.ini_file }}
WORKSPACE: ${{ github.workspace }}
run: |
cp -rf "$INI_NAME" "$WORKSPACE"/scripts/grafana-server/custom.ini
cp -rf $INI_NAME ${{ github.workspace }}/scripts/grafana-server/custom.ini
yarn e2e:dashboards-search || echo "Test failed but marking as success since unified search is behind a feature flag and should not block PRs"

39
.github/workflows/run-e2e-suite.yml vendored Normal file
View File

@@ -0,0 +1,39 @@
name: e2e suite
on:
workflow_call:
inputs:
package:
type: string
required: true
suite:
type: string
required: true
jobs:
main:
runs-on: ubuntu-latest-8-cores
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/download-artifact@v4
with:
name: ${{ inputs.package }}
- uses: dagger/dagger-for-github@e47aba410ef9bb9ed81a4d2a97df31061e5e842e
with:
verb: run
args: go run ./pkg/build/e2e --package=grafana.tar.gz --suite=${{ inputs.suite }}
- name: Set suite name
id: set-suite-name
if: always()
env:
SUITE: ${{ inputs.suite }}
run: |
echo "suite=$(echo $SUITE | sed 's/\//-/g')" >> $GITHUB_OUTPUT
- uses: actions/upload-artifact@v4
if: always()
with:
name: e2e-${{ steps.set-suite-name.outputs.suite }}-${{github.run_number}}
path: videos
retention-days: 1

View File

@@ -6,7 +6,7 @@ on:
- main
pull_request:
branches:
- '**'
- '**'
env:
ARCH: linux-amd64
@@ -28,7 +28,7 @@ jobs:
- run: go version
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
node-version: 20
cache: 'yarn'
- name: Install dependencies
run: yarn install --immutable
@@ -40,7 +40,7 @@ jobs:
runTests: false
- name: Run dashboard scenes e2e
run: yarn e2e:schema-v2 || echo "Test failed but marking as success since schema V2 is behind a feature flag and should not block PRs"
- name: Always succeed # This is a workaround to make the job pass even if the previous step fails
if: failure()
run: exit 0

View File

@@ -0,0 +1,84 @@
const crowdin = require('@crowdin/crowdin-api-client');
const TRANSLATED_CONNECTOR_DESCRIPTION = '{{tos_service_type: premium}}';
const API_TOKEN = process.env.CROWDIN_PERSONAL_TOKEN;
if (!API_TOKEN) {
console.error('Error: CROWDIN_PERSONAL_TOKEN environment variable is not set');
process.exit(1);
}
const PROJECT_ID = process.env.CROWDIN_PROJECT_ID;
if (!PROJECT_ID) {
console.error('Error: CROWDIN_PROJECT_ID environment variable is not set');
process.exit(1);
}
const { tasksApi, projectsGroupsApi, sourceFilesApi } = new crowdin.default({
token: API_TOKEN,
organization: 'grafana'
});
const languages = await getLanguages();
const fileIds = await getFileIds();
console.log('Languages: ', languages);
console.log('File IDs: ', fileIds);
// for (const language of languages) {
// const { name, id } = language;
// await createTask(`Translate to ${name}`, id, fileIds);
// }
async function getLanguages() {
try {
const project = await projectsGroupsApi.getProject(PROJECT_ID);
const languages = project.data.targetLanguages;
return languages;
} catch (error) {
console.error('Failed to fetch languages: ', error.message);
if (error.response && error.response.data) {
console.error('Error details: ', JSON.stringify(error.response.data, null, 2));
}
process.exit(1);
}
}
async function getFileIds() {
try {
const response = await sourceFilesApi.listProjectFiles(PROJECT_ID);
const files = response.data;
const fileIds = files.map(file => file.data.id);
return fileIds;
} catch (error) {
console.error('Failed to fetch file IDs: ', error.message);
if (error.response && error.response.data) {
console.error('Error details: ', JSON.stringify(error.response.data, null, 2));
}
process.exit(1);
}
}
async function createTask(title, languageId, fileIds) {
try {
const taskParams = {
title,
description: TRANSLATED_CONNECTOR_DESCRIPTION,
languageId,
type: 2, // Translation by vendor
workflowStepId: 78, // Translation step ID
skipAssignedStrings: true,
fileIds,
};
console.log(`Creating Crowdin task: "${title}" for language ${languageId}`);
const response = await tasksApi.addTask(PROJECT_ID, taskParams);
console.log(`Task created successfully! Task ID: ${response.data.id}`);
return response.data;
} catch (error) {
console.error('Failed to create Crowdin task: ', error.message);
if (error.response && error.response.data) {
console.error('Error details: ', JSON.stringify(error.response.data, null, 2));
}
process.exit(1);
}
}

View File

@@ -1,110 +0,0 @@
import crowdinImport from '@crowdin/crowdin-api-client';
const TRANSLATED_CONNECTOR_DESCRIPTION = '{{tos_service_type: premium}}';
const TRANSLATE_BY_VENDOR_WORKFLOW_TYPE = 'TranslateByVendor'
// TODO Remove this type assertion when https://github.com/crowdin/crowdin-api-client-js/issues/508 is fixed
// @ts-expect-error
const crowdin = crowdinImport.default as typeof crowdinImport;
const API_TOKEN = process.env.CROWDIN_PERSONAL_TOKEN;
if (!API_TOKEN) {
console.error('Error: CROWDIN_PERSONAL_TOKEN environment variable is not set');
process.exit(1);
}
const PROJECT_ID = process.env.CROWDIN_PROJECT_ID ? parseInt(process.env.CROWDIN_PROJECT_ID, 10) : undefined;
if (!PROJECT_ID) {
console.error('Error: CROWDIN_PROJECT_ID environment variable is not set');
process.exit(1);
}
const credentials = {
token: API_TOKEN,
organization: 'grafana'
};
const { tasksApi, projectsGroupsApi, sourceFilesApi, workflowsApi } = new crowdin(credentials);
const languages = await getLanguages(PROJECT_ID);
const fileIds = await getFileIds(PROJECT_ID);
const workflowStepId = await getWorkflowStepId(PROJECT_ID);
for (const language of languages) {
const { name, id } = language;
await createTask(PROJECT_ID, `Translate to ${name}`, id, fileIds, workflowStepId);
}
async function getLanguages(projectId: number) {
try {
const project = await projectsGroupsApi.getProject(projectId);
const languages = project.data.targetLanguages;
console.log('Fetched languages successfully!');
return languages;
} catch (error) {
console.error('Failed to fetch languages: ', error.message);
if (error.response && error.response.data) {
console.error('Error details: ', JSON.stringify(error.response.data, null, 2));
}
process.exit(1);
}
}
async function getFileIds(projectId: number) {
try {
const response = await sourceFilesApi.listProjectFiles(projectId);
const files = response.data;
const fileIds = files.map(file => file.data.id);
console.log('Fetched file ids successfully!');
return fileIds;
} catch (error) {
console.error('Failed to fetch file IDs: ', error.message);
if (error.response && error.response.data) {
console.error('Error details: ', JSON.stringify(error.response.data, null, 2));
}
process.exit(1);
}
}
async function getWorkflowStepId(projectId: number) {
try {
const response = await workflowsApi.listWorkflowSteps(projectId);
const workflowSteps = response.data;
const workflowStepId = workflowSteps.find(step => step.data.type === TRANSLATE_BY_VENDOR_WORKFLOW_TYPE)?.data.id;
if (!workflowStepId) {
throw new Error(`Workflow step with type "${TRANSLATE_BY_VENDOR_WORKFLOW_TYPE}" not found`);
}
console.log('Fetched workflow step ID successfully!');
return workflowStepId;
} catch (error) {
console.error('Failed to fetch workflow step ID: ', error.message);
if (error.response && error.response.data) {
console.error('Error details: ', JSON.stringify(error.response.data, null, 2));
}
process.exit(1);
}
}
async function createTask(projectId: number, title: string, languageId: string, fileIds: number[], workflowStepId: number) {
try {
const taskParams = {
title,
description: TRANSLATED_CONNECTOR_DESCRIPTION,
languageId,
workflowStepId,
skipAssignedStrings: true,
fileIds,
};
console.log(`Creating Crowdin task: "${title}" for language ${languageId}`);
const response = await tasksApi.addTask(projectId, taskParams);
console.log(`Task created successfully! Task ID: ${response.data.id}`);
return response.data;
} catch (error) {
console.error('Failed to create Crowdin task: ', error.message);
if (error.response && error.response.data) {
console.error('Error details: ', JSON.stringify(error.response.data, null, 2));
}
process.exit(1);
}
}

View File

@@ -1,29 +0,0 @@
name: Shellcheck
on:
push:
branches:
- main
- release-*
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: {}
jobs:
shellcheck:
name: Shellcheck scripts
runs-on: ubuntu-latest
permissions:
contents: read # clone the repository
steps:
- name: Clone repository
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Run Shellcheck
run: find scripts/ -name '*.sh' -type f -exec shellcheck -e SC1071 -e SC2162 '{}' +

View File

@@ -1,15 +1,15 @@
name: Add issues to Skye project board
name: Add issues and PRs to Skye project board
on:
workflow_dispatch:
inputs:
manual_issue_number:
description: 'Issue to add to project'
description: 'Issue/PR number to add to project'
required: false
type: number
# Ideally we could trigger this for PRs as well, but getting the secrets on that is tricky
# so we just won't bother for now
issues:
types: [opened]
pull_request:
types: [opened]
permissions:
contents: read
@@ -47,16 +47,26 @@ jobs:
app_id: ${{ env.GH_APP_ID }}
private_key: ${{ env.GH_APP_PEM }}
# We do the check in the Github Actions expression and then export it to the output
# to reuse it
# Check if the user is in the list from the secret
- name: Check if user is allowed
id: check_user
env:
USER_IS_ALLOWED: ${{ contains(fromJSON(env.ALLOWED_USERS), github.event.sender.login) }}
ALLOWED_USERS: ${{ env.ALLOWED_USERS }}
USERNAME: ${{ github.event.sender.login }}
run: |
echo "user_allowed=${USER_IS_ALLOWED}" >> "$GITHUB_OUTPUT"
# Convert the comma-separated list to an array
IFS=',' read -ra ALLOWED_USERS <<< "$ALLOWED_USERS"
# Convert the issue to a node ID for the GraphQL API
# Check if user is in the allowed list
for allowed_user in "${ALLOWED_USERS[@]}"; do
if [ "$allowed_user" = "$USERNAME" ]; then
echo "user_allowed=true" >> $GITHUB_OUTPUT
exit 0
fi
done
echo "user_allowed=false" >> $GITHUB_OUTPUT
# Convert the issue/PR number to a node ID for the GraphQL API
- name: Get node ID for item
if: steps.check_user.outputs.user_allowed == 'true'
id: get_node_id
@@ -78,7 +88,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
# Finally, add the issue to the project board
# Finally, add the issue/PR to the project board
- name: Add to project board
if: steps.check_user.outputs.user_allowed == 'true'
uses: octokit/graphql-action@51bf543c240dcd14761320e2efc625dc32ec0d32

View File

@@ -14,30 +14,26 @@ on:
- '!docs/**'
- '!*.md'
permissions: {}
jobs:
verify-storybook:
name: Verify Storybook
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
node-version-file: 'package.json'
cache: 'yarn'
- name: Install dependencies
run: yarn install --immutable
- name: Run Storybook and E2E tests
uses: cypress-io/github-action@108b8684ae52e735ff7891524cbffbcd4be5b19f
with:

View File

@@ -1,51 +0,0 @@
name: Swagger generated code
on:
push:
branches:
- main
- release-*
pull_request:
permissions: {}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
verify:
name: Verify committed API specs match
runs-on: ubuntu-latest
if: ${{ github.repository == 'grafana/grafana' }}
permissions:
contents: read # clone the repository
id-token: write # required for Vault access
steps:
# Set up repository clone
- name: Checkout code
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Setup Enterprise
if: ${{ github.event.pull_request.head.repo.fork == false }}
uses: ./.github/actions/setup-enterprise
with:
github-app-name: 'grafana-ci-bot'
- name: Generate Swagger specs
run: make swagger-clean && make openapi3-gen
- name: Check for changes
run: |
git add -f public/api-merged.json public/openapi3.json
if [ -z "$(git diff --name-only --cached)" ]; then
echo "No changes detected in API specs."
else
echo "Changes detected in API specs. Please review the changes."
echo "You can regenerate them locally with: make swagger-clean && make openapi3-gen"
exit 1
fi

View File

@@ -1,35 +0,0 @@
name: Trufflehog
on:
pull_request:
types:
- opened
- synchronize
- reopened
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: {}
jobs:
trufflehog:
name: Run Trufflehog
runs-on: ubuntu-latest
permissions:
contents: read # clone the repo
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
persist-credentials: false
fetch-depth: 0
ref: ${{ github.head_ref }}
- name: Trufflehog
uses: trufflesecurity/trufflehog@90190deac64289cb10bb694894be8db9ead8790b # v3.88.29
with:
base: ${{ github.event.pull_request.base.sha }}
head: ${{ github.event.pull_request.head.sha }}
extra_args: --results=verified

5
.github/zizmor.yml vendored
View File

@@ -21,8 +21,6 @@ rules:
- pr-frontend-unit-tests.yml
- pr-test-integration.yml
- publish-kinds-release.yml
- pr-e2e-tests.yml
- swagger-gen.yml
dangerous-triggers:
ignore:
- auto-milestone.yml
@@ -31,6 +29,3 @@ rules:
- pr-commands.yml
- pr-patch-check-event.yml
- run-dashboard-search-e2e.yml
excessive-permissions:
ignore:
- release-comms.yml

Some files were not shown because too many files have changed in this diff Show More