Commit Graph
18 Commits
Author SHA1 Message Date
Mariell Hoversholm 46640cd882 POC/Provisioning: Resources: Move resource interactions to own package (#97107)
* POC/Provisioning: Resources: Move client to its own package

* POC/Provisioning: Resources: Move parsing to resources package

* POC/Provisioning: Test: Align disco response
2024-11-28 08:06:49 +01:00
Ryan McKinley ab2f168b71 fix test 2024-11-27 11:19:05 +03: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
Mariell Hoversholm 85dc952969 feat: use new provisioning flag 2024-11-22 12:10:15 +01:00
Mariell Hoversholm cfe36270f5 POC/Provisioning: create folder if it does not exist (#96890)
* feat: create folder if it does not exist

* feat: test the folder creation behaviour

* test: make sure deletion doesn't fail

* test: remove unnecessary settings
2024-11-22 12:03:46 +01:00
Mariell Hoversholm 3a5a27037c test: add export to list
(cherry picked from commit 81b56561c0)
2024-11-22 09:18:47 +01:00
Ryan McKinley bad1547479 POC/Provisioning: rename "file" to "files" (#96814)
(cherry picked from commit f46ba6eba2)
2024-11-22 09:18:29 +01:00
Ryan McKinley b55cd2438c POC/Provisioning: Keep settings.Cfg out of the registry (#96746) 2024-11-20 14:05:11 +03:00
Ryan McKinley 8fda03d3d5 POC/Provisioning: Add write hooks (#96670) 2024-11-19 17:25:45 +03:00
Roberto Jiménez Sánchez 76e494209f [Prototyping] automatically create github webhook in provisioning (#96645) 2024-11-19 14:54:29 +01:00
Ryan McKinley d50afe3020 put back devenv 2024-11-19 06:18:32 +03:00
Ryan McKinley 9ca2d61620 fix tests 2024-11-19 05:54:34 +03:00
Ryan McKinley 4b7521e0af lint 2024-11-19 05:03:06 +03:00
Ryan McKinleyandMariell Hoversholm 8289c8a5eb POC/Provisioning: Add basic validation (#96615)
Co-authored-by: Mariell Hoversholm <mariell.hoversholm@grafana.com>
2024-11-18 14:34:21 +03:00
Roberto Jiménez Sánchez cf15826360 [Prototype] Implement repository file read endpoint (#96569) 2024-11-15 17:33:40 +01:00
Ryan McKinley 264192a08b POC/Provisioning: update spec and examples (#96438) 2024-11-14 14:59:29 +03:00
Mariell Hoversholm 5213a801f2 test: integration test the helloworld subresource (#96443) 2024-11-14 12:01:04 +01:00
Ryan McKinley 6e408f19fa POC/Provisioning: Add basic integration tests (#96424) 2024-11-14 11:24:33 +03:00