Commit Graph

11 Commits

Author SHA1 Message Date
Roberto Jimenez Sanchez f7eca41957
Revert "Add some unit test coverage"
This reverts commit 420c9674d2.
2025-02-14 13:04:57 +01:00
Roberto Jimenez Sanchez 420c9674d2
Add some unit test coverage 2025-02-12 21:04:32 +01:00
Roberto Jiménez Sánchez a6ed3d6fc5
[Prototyping] Webhook managed by controller (#98085) 2024-12-18 07:34:29 +03:00
Roberto Jiménez Sánchez 278ae6c4bd
[Prototyping] Sync from previous synced commit (#97852)
* Sync from previous synced commit

* Revert changes in violations
2024-12-12 15:27:42 +01:00
Ryan McKinley d33424e265
POC/Provisioning: Support test method for repository configuration (#97485)
* add test method

* support new

* show test failure in the UI

* update betterer

* fix lint/test

* merge

* merge

* frontend more cleanup

* move common validation functions

* cleanup

* Add github repository tests

---------

Co-authored-by: Roberto Jimenez Sanchez <roberto.jimenez@grafana.com>
2024-12-10 16:03:20 +01:00
Roberto Jiménez Sánchez a722b485da
[Prototyping] Add repository history endpoint (#97345) 2024-12-03 16:42:07 +01:00
Roberto Jiménez Sánchez 48feba66e6
[Prototyping] Lint dashboard in pull requests (#97199)
* Make lint issues comment

* Make it work

* Delete previous comments

* Move linting to separate package

* Fix issue with refactoring

* Update test fixture
2024-11-29 16:24:45 +01:00
Roberto Jiménez Sánchez 364637a7e2
[Prototyping] Listen to pull requests and comment (#97040)
* Listen to Pull Requests and comment

* Fix template
2024-11-27 10:38:10 +01:00
Mariell Hoversholm ee91485b32
POC/Provisioning: Create an import endpoint (#97085)
* wip

* fix: don't panic on dirs

* fix: workaround dashboard Get returning 500 on 404
2024-11-27 10:10:29 +01:00
Roberto Jiménez Sánchez baca7c250e
[Prototyping] Ensure git branch exists in write operations for github repositories (#96998)
* Create branch when ref is passed

* Change approach to ensure branch already exists

* Fix error handling branch not found
2024-11-26 12:26:04 +01:00
Mariell Hoversholm 42e9570808
POC/Provisioning: Fix: Make github client not call prod GH in tests (#96926)
* refactor: create repository package

* refactor: abstract GH client

* feat: generate mock

* feat: wire in factories

* test: make tests pass

* chore: go fmt
2024-11-25 11:51:29 +01:00