Commit Graph

1185 Commits

Author SHA1 Message Date
Josh Hunt 60b03a5a10 CI: Update actions to use environment variables, pin actions (#104610)
* CI: use env var in backport.yml

* pin actions

* pin actions
2025-04-28 11:30:26 +01:00
Sven Grossmann d19f86a736 ci: move variables to env (#104605)
* ci: move variables to `env`

* ci: move sha to `env`

* ci: import `SHA` and `PRE_COMMIT_SHA`
2025-04-28 11:22:46 +01:00
Kevin Minehart 13eaba98d5 CI: Use pull_request_target for PR patch check (#104567)
Use pull_request_target for PR patch check
2025-04-25 12:52:52 -05:00
Kevin Minehart a2a13763a4 CI: Remove bad caching from integration tests (#104546) 2025-04-25 18:18:20 +01:00
Ashley Harrison ee93dbd2bd Chore: Run fronted unit tests + linting/typecheck against enterprise (#104479)
* run unit tests + linting/typecheck against enterprise

* update permissions

* kick CI

* keep job names the same
2025-04-25 09:22:02 +01:00
Josh Hunt a8aa6b74a8 FEMT: Basic frontend-service implementation (#104229)
* create the most basic frontend-server module

* expose prom metrics??

* add todo list

* move frontend-service to its own folder in services

* check error from writer.Write

* reword comment, add launch config
2025-04-24 13:14:21 +01:00
Gilles De Mey 1ffd64ff79 Alerting: Package 📦 (#102899) 2025-04-24 13:47:24 +02:00
Ashley Harrison 5c44ad2763 Chore: Initial scaffolding for crowdin action (#104393)
* start to scaffold github action

* test script

* simplify

* right path (maybe)

* clean up

* CONSTANT_CASE

* add CODEOWNERS

* kick CI
2025-04-23 14:30:35 +01:00
Kevin Minehart 8d883ecda1 CI: remove old patch checks (#104184)
* remove old patch checks

* remove from CODEOWNERS

* rerun CI
2025-04-17 23:13:06 +01:00
Josh Hunt 2cf67806d9 Chore: Fix number variable in skye github action (#104123)
* Chore: Fix number variable in skye github action

* try other syntax

* use fromJSON

* skip the set_number step

* comments

* newline
2025-04-17 13:24:24 +01:00
Marco de Abreu 18a870d7ca GitHub Actions: Use PR commit SHA for reporting status (#104141)
Use correct SHA for reporting status checks

Co-authored-by: Marco de Abreu <18629099+marcoabreu@users.noreply.github.com>
2025-04-17 02:44:11 +01:00
Josh Hunt fd830759ab Chore: Fix missing permissions in sky-add-to-project action (#104106)
* Chore: Fix missing permissions in sky-add-to-project action

* fix missing issue number
2025-04-16 17:33:54 +01:00
Kevin Minehart 15a50310bc CI: cancel concurrent test runs in prs but not main (#104110)
cancel concurrent builds in prs but not main
2025-04-16 09:43:26 -05:00
Josh Hunt 2208a24c72 Chore: Action to add issues to Skye project board (#104102)
* Chore: Action to add issues to Skye project board

* codeowners
2025-04-16 14:48:34 +01:00
Marco de Abreu 5d65063987 GitHub Actions: Explicitly pass github username and commit sha (#104079)
Explicitly pass github username and commit sha

Co-authored-by: Marco de Abreu <18629099+marcoabreu@users.noreply.github.com>
2025-04-15 20:01:40 -05:00
Marco de Abreu 5094bc29c3 GitHub Action: Fix syntax error (#104074)
Fix syntax error

Co-authored-by: Marco de Abreu <18629099+marcoabreu@users.noreply.github.com>
2025-04-15 21:47:44 +00:00
Marco de Abreu 4e33702ea2 GitHub: Add workflows for jobs in private repo (#104052)
Add workflows for jobs in private repo

Co-authored-by: Marco de Abreu <18629099+marcoabreu@users.noreply.github.com>
2025-04-15 21:46:31 +01:00
Kevin Minehart 79eb1b0033 CI: remove go test cache write/delete (#104064)
remove go test cache write/save/delete
2025-04-15 19:07:36 +01:00
Ryan McKinley 0283c98e30 K8s/Folders: Use v1beta1 and app-sdk based spec (#103975) 2025-04-14 23:20:10 +03:00
Nick Richmond 07a225649d MetricsDrilldown: Remove legacy Metrics Drilldown code paths (#103845)
* chore: remove feature toggles

* chore: update labels

* chore: remove `public/app/features/trails` code

* fix: typo

* chore: update betterer results

* chore: update i18n
2025-04-11 16:45:14 -04:00
Kevin Minehart 07807a0bd2 CI: run e2e tests as a matrix (#103382)
* run e2e tests as a matrix

* add old-suite/

* remove old-arch input

* run without quotes

* Update codeowners

* remove e2e-suite-various from codeowners

* ?
2025-04-11 10:17:19 -05:00
Mariell Hoversholm 757be6365a CI: Bump golangci-lint to 2.0.2 (#103572) 2025-04-10 14:42:23 +02:00
Josh Hunt c1dddeec97 Renovate: Deprioritise devDependencies, group faro deps (#103694) 2025-04-09 16:53:06 +01:00
Ryan McKinley 5634ca44f7 Chore: remove lefthook.rc (#103713) 2025-04-09 15:08:04 +01:00
Tom Ratcliffe 9d22414522 Chore: Fix alerting labelling of PRs (#103616)
Fix alerting labelling of PRs
2025-04-08 17:47:46 +03:00
Tom Ratcliffe 54192e3308 Chore: Make alerting frontend codeowners of unified alerting types (#103551)
Make alerting frontend codeowners of unified alerting types
2025-04-08 06:48:21 +01:00
Tom Ratcliffe 6d28544ef4 Alerting: Add area/alerting label to frontend code and add to project (#103517)
Add area/alerting to frontend code and add to project
2025-04-07 20:34:46 +01:00
Leonor Oliveira c63cfc11e2 [Chore] Mark CodeQL warning as safe (#101365)
* Mark CodeQL warning as safe

* Temporarily ignore file
2025-04-07 11:52:09 +02:00
Ryan McKinley 1faa855ff1 Provisioning: Improve sample provisioning (#103508) 2025-04-07 12:37:18 +03:00
Jack Baldry 8655862c8b Include rule for correct use of grafana.com (#103505)
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2025-04-07 09:55:18 +01:00
Jack Baldry bb2dfa1997 Remove doc-validator workflow (#103504)
The tool is unmaintained. Most useful rules have been ported to Vale.

The remaining rules often exhibit false positives.

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2025-04-07 09:54:58 +01:00
Jack Westbrook f96e4e9ad2 Frontend: Remove Angular (#99760)
* chore(angularsupport): delete feature toggle to disable angular

* feat(angular-support): remove config.angularSupportEnabled

* chore(jest): remove angular from setup file

* chore(angular): delete angular deprecation ui components

* refactor(angular): move migration featureflags into migration notice

* chore(dashboard): remove angular deprecation notices

* chore(annotations): remove angular editor loader

* feat(appwrapper): no more angular app loading

* feat(pluginscatalog): clean up angular plugin warnings and logic

* chore(angular): delete angular app and associated files

* feat(plugins): delete old angular graph plugin

* feat(plugins): delete old angular table panel

* feat(frontend): remove unused appEvent type

* feat(dashboards): clean up angular from panel options and menu

* feat(plugins): remove graph and table-old from built in plugins and delete sdk

* feat(frontend): remove angular related imports in routes and explore graph

* feat(theme): remove angular panel styles from global styles

* chore(i18n): run make i18n-extract

* test(api_plugins_test): refresh snapshot due to deleting old graph and table plugins

* chore(angulardeprecation): delete angular migration notice components and usage

* test(frontend): clean up tests that assert rendering angular deprecation notices

* chore(backend): remove autoMigrateOldPanels feature flag

* chore(config): remove angularSupportEnabled from config preventing loading angular plugins

* chore(graphpanel): remove autoMigrateGraphPanel from feature toggles

* chore(tablepanel): delete autoMigrateTablePanel feature flag

* chore(piechart): delete autoMigratePiechartPanel feature flag

* chore(worldmappanel): remove autoMigrateWorldmapPanel feature toggle

* chore(statpanel): remove autoMigrateStatPanel feature flag

* feat(dashboards): remove automigrate feature flags and always auto migrate angular panels

* test(pluginsintegration): fix failing loader test

* test(frontend): wip: fix failures and skip erroring migration tests

* chore(codeowners): remove deleted angular related files and directories

* test(graphite): remove angular mock from test file

* test(dashboards): skip failing exporter test, remove angularSupportEnabled flags

* test(dashbaord): skip another failing panel menu test

* Tests: fixes pkg/services/pluginsintegration/loader/loader_test.go (#100505)

* Tests: fixes pkg/services/pluginsintegration/plugins_integration_test.go

* Trigger Build

* chore(dashboards): remove angularComponent from getPanelMenu, update test

* feat(dashboards): remove all usage of AngularComponent and getAngularLoader

* chore(betterer): refresh results file

* feat(plugins): remove PluginAngularBadge component and usage

* feat(datasource_srv): remove usage of getLegacyAngularInjector

* feat(queryeditor): delete AngularQueryComponentScope type

* Chore: removes Angular from plugin_loader

* Chore: remove angular from getPlugin

* Chore: fix i18n

* Trigger Build

* Chore: remove more Angular from importPanelPlugin

* Chore: remove search options warning

* Chore: remove and deprecate Angular related

* chore(angular): remove angular dependencies from core and runtime

* chore(runtime): delete angular injector

* chore(data): delete angular scope from event bus

* chore(plugin-catalog): remove code pushing app plugins angular config page

* chore(yarn): refresh lock file

* chore(frontend): remove ng-loader from webpack configs, remove systemjs cjs plugin

* chore(navigation): remove tether-drop cleanup from GrafanaRouter, delete dependency

* chore(runtime): delete AngularLoader

* chore(betterer): refresh results file

* chore(betterer): fix out of sync results file

* feat(query): fix type and import errors in QueryEditorRow

* test(dashboards): delete skipped angular related tests

* Tests: add back tests and fix betterer

* Tests: fix broken test

* Trigger build

* chore(i18n): remove angular deprecation related strings

* test: clean up connections and plugins catalog tests

* chore(betterer): update results file

---------

Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com>
2025-04-04 11:31:35 +02:00
Matheus Macabu c7754d7065 Scripts/Build: Remove unused CI folders (#103374)
* Scripts/Build: Remove ci-deploy

* Scripts/Build: Remove ci-e2e

* Scripts/Build: Remove ci-windows-test

* Scripts/Build: Remove ci-wix

* Scripts/Build: Remove ci-msi-build

* Dependabot: Remove unused folders from docker updates

* Chore: Run make update-workspace
2025-04-03 17:44:20 +02:00
Ashley Harrison 7603a92296 CI: Add betterer check to lint step (#103361)
* add betterer check to lint step

* fix regressions

* add translation
2025-04-03 18:31:36 +03:00
Kevin Minehart 5a2eedbae1 CI: Fix bug in post-release workflow (#103368)
version should be prefixed with a v
2025-04-03 10:21:40 -05:00
Ryan McKinley 3ce4025db6 Chore: Update lerna, NX, and @babel/runtime-corejs3 (#103344) 2025-04-03 16:05:21 +03:00
Leonor Oliveira feed071815 Codeql: enable PR check (#101392)
* Enable running a CodeQL check whenever someone opens a PR (for Go code)

* Fetch main in the GHA so CodeQL can properly compare code changes

* Try to fetch more of main to see if CodeQL can compare changes

* Also trigger on push

* Rename GHA

* Use only one workflow for all languages that runs on each puch hook

* Rename GHA

* Removing owner from deleted GHA

* Temporarily mark this GHA as not required for a PR to get merged

* Always run the workflow

* Mark action as non blocking
2025-04-03 11:19:58 +02:00
Kevin Minehart 88d54892bd CI: Move e2e test pipeline from Drone to GitHub Actions (#103134)
* Add e2e dagger pipeline

* various-suite not various suite

* upload videos dir

* produce e2e videos even on failure

* nil ref

* sync doesn't return container

* fix quotes

* try without flags first?

* try without quoting?

* use two dashes in flags

* update CODEOWNERS

* make update-workspace

* go work sync

* make update-workspace

* add newline
2025-04-02 13:31:47 -05:00
Andrej Ocenas 44ca402116 Update codeowners for locale files (#103268)
Update codeowners
2025-04-02 16:03:33 +02:00
Matheus Macabu d5addcc822 Chore: Fix Go Workspace Check workflow and run make update-workspace (#103261)
* Chore: Fix Go Workspace Check workflow

* Chore: Run make update-workspace
2025-04-02 12:26:38 +02:00
Leonor Oliveira f21362ad48 Convert pkg/apis/folder to a module (#102975)
* Convert pkg/apis to a module

* Update apistore module to use apis go module

* Add module to dependabot

* Group go dependencies

* Add guidelines for adding a new gomod

* Prettier

* Only convert apis/folder to a module for now

* Add replace directive

* Add missing go mod
2025-04-02 10:10:04 +02:00
Ashley Harrison 483c6ac70d CI: Don't fail fast on unit tests (#103109)
don't fail fast on unit tests
2025-03-31 16:14:05 +01:00
Adam Simpson 99edeb6e83 fix: disable workspace cache (#102745) 2025-03-31 09:50:45 -04:00
Scott Lepper 488581fcc1 fix indent (#103018) 2025-03-27 14:44:57 -04:00
Scott Lepper 671fd6e138 Search e2e - limit paths that will trigger (#103015)
* Search - e2e - set paths and fix push branch
2025-03-27 14:09:29 -04:00
Scott Lepper e921c133c5 Search e2e- round 2 (#103010)
* run async
2025-03-27 13:14:55 -04:00
Scott Lepper 2489e423d0 Search e2e (#102827)
* search e2e
* add github action
* run test for every ini file in test folder
2025-03-27 10:38:03 -04:00
Yuri Tseretyan 9f7df8b788 Adds alerting-team[bot] to exclude list for pr-external label (#102564) 2025-03-26 09:29:52 -04:00
Mariell Hoversholm db50c3c5fb Codeowners: Fix path to moved file (#102858) 2025-03-26 09:52:07 +01:00
Kevin Minehart 91226fcb1e CI: add yarn run lint to workflow (#102798)
* add yarn run lint to workflow

* rename

* Fix lint errors

* Fix lint errors
2025-03-25 10:20:11 -05:00