20cea80795
Provisioning: Add bulk delete job ( #108580 )
...
* Add delete job type
* Regenerate spec
* Add first implementation of worker
* Move interface and mock to repository package
* Add unit tests
* Add integration tests
* Fix linting and spec
* Regenerate client
* Format file
* go fmt
* fix
---------
Co-authored-by: Stephanie Hingtgen <stephanie.hingtgen@grafana.com>
2025-07-25 16:38:10 +00:00
16339b0788
Provisioning: Move repository file API ( #108514 )
...
* Bump nanogit version
* Embed git repository in the Github one
2025-07-24 23:28:59 -05:00
915f47befd
Provisioning: commit only once staged changes ( #108590 )
2025-07-24 10:57:02 -05:00
946358900c
Provisioning: Add warning job status and different strictness ( #108446 )
...
* Add warning job status
* Different strictness for export than for pulling
* Fix some unit tests
* Fix unit tests
* Update frontend to display the warning status
* Fix status badge
* Add missing return statement
* Improve text in alert
2025-07-23 09:33:25 +00:00
ae4dc181d1
Provisioning: Add user token to git and bitbucket repository specs ( #108186 )
...
* Add token user to git and bitbucket specs
* Use token user if available in git type
2025-07-17 10:25:02 +02:00
62fd3ba36f
Secrets: Remove v0alpha1 spec, files and references ( #108100 )
2025-07-15 12:33:00 +02:00
015b2f6b0a
Chore: Update gocloud.dev dependency to v0.42.0 ( #108054 )
...
* update dependency
* make update-workspace
* rerun with ge linked
* add codeowner
* rerun WITHOUT enterprise
2025-07-14 11:11:40 -04:00
b49b103f42
Provisioning: Return available repository types in settings endpoint ( #107977 )
...
* Add types for other repositories
* Inject the types from extras
* Fix go-lint
* Fix typecheck
* Add it to the tests
---------
Co-authored-by: Stephanie Hingtgen <stephanie.hingtgen@grafana.com>
2025-07-11 22:07:04 +00:00
05a2d26787
Provisioning: Add refs endpoint ( #108014 )
2025-07-11 13:58:39 -07:00
8283d35e56
Secrets: make operations sync ( #107732 )
...
* Secrets: make operations sync
* k8s gen / update query to list secure values to include the version
* always store new version of a secret
* make update-workspace
* go mod tidy
* update queries
* update queries
* improve and use testutils in decrypt_store_test
* fix broken test
* make update-workspace
* ./hack/update-codegen.sh secret
* update Test_SecureValueMetadataStorage_CreateAndRead
* undo dependency changes
* linter: fix remaining errors
---------
Co-authored-by: Matheus Macabu <macabu.matheus@gmail.com>
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com>
2025-07-09 10:43:34 -03:00
075770070e
Future-proofing query and data source model in Dashboard Schema v2 ( #104194 )
...
---------
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com>
Co-authored-by: alexandra vargas <alexa1866@gmail.com>
Co-authored-by: Haris Rozajac <haris.rozajac12@gmail.com>
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
Co-authored-by: Igor Suleymanov <igor.suleymanov@grafana.com>
Co-authored-by: spinillos <selenepinillos@gmail.com>
2025-07-07 15:31:25 +02:00
713f6d1551
IAM: Move resource definitions to apps/iam step 1 ( #107389 )
...
* wip
* Use serviceaccount model from /apps/iam
* revert version update
* Add tembinding, userteam, other improvements
* Change serviceaccounttoken spec
* Revert the change of ServiceAccountToken
* Revert the change of UserTeam
* Clean up
* Remove files that are not needed for now
* Lint
* Update sql query's integration tests
* Fix tests
* update openapi spec
* Move LastSeenAt to the annotations
* Updte openapi_snapshots
* Change lastSeenAt annotation name
2025-07-04 11:07:48 +02:00
b340b3fb7b
Secrets: Add GetType for KeeperSpec and clean-up unused Envelope ( #107511 )
...
Co-authored-by: Michael Mandrus <michael.mandrus@grafana.com>
2025-07-02 14:33:23 +02:00
d28594d2f9
SecretsManager: Limit of 24kiB for raw input for secure value ( #107403 )
...
* SecureValues: Add limit of 24kiB for raw input
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com>
* Fix lint
---------
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com>
2025-06-30 22:28:41 +01:00
094d78c2dd
Query Service: Remove unused files ( #107190 )
2025-06-25 14:36:09 -03:00
4e19bc515e
Chore: bump grafana-plugin-sdk-go from v0.277.0 to v0.278.0 ( #107165 )
...
Chore: bump grafana-plugin-sdk-go
2025-06-25 10:16:14 +02:00
a646043066
chore: update grafana/authlib ( #106918 )
2025-06-18 22:46:27 +02:00
3cb62e370b
Provisioning: Add pure git repository type ( #106815 )
...
* Add repository type git to spec
* Register git type
* Update test checks
2025-06-18 09:05:37 +02:00
689cafc1fa
App Platform Provisioning: Add experimental nanogit mode for Git Sync ( #106763 )
...
* Add nanogit package
* Add nanoGit feature flag
* Put logger into nanogit context
* Commit go mod and go sum updates
* Add more stuff around logging
* Nanogit also in extra one
* Add owner to dependency
2025-06-17 19:07:30 +02:00
d02b62e874
Chore: Update app-sdk to v39 ( #106785 )
2025-06-16 19:11:30 +02:00
5c268c1734
Dependencies: Bump Go to v1.24.4 ( #106533 )
2025-06-11 14:25:48 +02:00
6fb0ed9886
Bump tempo to 20250529124718-87c2dc380cec ( #106220 )
...
* Bump tempo to 20250529124718-87c2dc380cec
Signed-off-by: Maicon Costa <maiconscosta@gmail.com>
* Add owners to pkg/build
Signed-off-by: Maicon Costa <maiconscosta@gmail.com>
* update workspace
Signed-off-by: Maicon Costa <maiconscosta@gmail.com>
* update pkg/build/go.sum
Signed-off-by: Maicon Costa <maiconscosta@gmail.com>
* update pkg/build/go.sum
Signed-off-by: Maicon Costa <maiconscosta@gmail.com>
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com>
2025-05-29 23:43:13 -05:00
c23ee1e116
QueryLibrary: Adding Tags as new set field to queries ( #105702 )
2025-05-29 08:47:30 -04:00
d4c446f42c
Chore: Update k8s.io to v0.33.1 ( #105307 )
2025-05-28 00:13:18 +03:00
c4c4faff1e
Dependencies: Bump github.com/openfga/openfga to v1.8.13 to address CVE-2025-48371 ( #106064 )
2025-05-27 16:30:23 +02:00
b16f34fb93
QueryLibrary: Added IsLocked field ( #105634 )
...
* QueryLibrary: Added IsLocked field
* Updated openapi
* Update backend field description
2025-05-21 15:11:21 -04:00
13f4cf162e
CI: move grafana-build into pkg/build ( #105640 )
...
* move grafana-build into pkg/build
2025-05-20 10:48:00 -05:00
5faa5f87ba
ds-querier: return 400 when no code is present ( #105633 )
2025-05-19 22:23:51 +03:00
4eadb0fec8
ds-querier: handle execute errors better ( #105496 )
...
* ds-querier: handle execute errors better
* fix: change how GetResponseCode works to return 418 if rsp is nil
418 is a bit of an easter egg which in this case works since we don't
have an rsp but we do know something went wrong, so a 200 won't work.
Also changed this to return the code in the frame, not sure why we
weren't.
* tests: fix GetResponseCode tests
* log no rsp case
* bring back og error log
2025-05-16 21:41:32 +03:00
002f46736a
refactor(unified-storage): move generated protos to own pkg ( #105356 )
2025-05-15 21:36:52 +02:00
441fa18590
Chore: Update golang.org/x/ and do not omitempty Items ( #105371 )
...
* deps and omitempty Items
* update apis
2025-05-14 14:31:45 +03:00
4b426238bd
Dependencies: Bump github.com/openfga/openfga from v1.8.6 to v1.8.12 ( #105193 )
...
* Dependencies: Bump github.com/openfga/openfga from v1.8.6 to v1.8.12
* Linter: Replace x/exp/rand with math/rand/v2
* NGAlert: Fix test after linter fixes
2025-05-14 11:09:00 +03:00
5158dce936
SecretsManager: Changes to specs as ref, description, system keeper ( #105319 )
...
* SecretsManager: Changes to specs as ref, description, system keeper
Co-authored-by: PoorlyDefinedBehaviour <brunotj2015@hotmail.com>
Co-authored-by: Dana Axinte <53751979+dana-axinte@users.noreply.github.com>
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com>
* SecretsManager: Changes to rest storage for spec ref, description, system keeper
Co-authored-by: PoorlyDefinedBehaviour <brunotj2015@hotmail.com>
Co-authored-by: Dana Axinte <53751979+dana-axinte@users.noreply.github.com>
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com>
* SecretsManager: Changes to rest storage for spec description
Co-authored-by: PoorlyDefinedBehaviour <brunotj2015@hotmail.com>
Co-authored-by: Dana Axinte <53751979+dana-axinte@users.noreply.github.com>
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com>
* SecretsManager: Changes to rest storage for spec description
Co-authored-by: PoorlyDefinedBehaviour <brunotj2015@hotmail.com>
Co-authored-by: Dana Axinte <53751979+dana-axinte@users.noreply.github.com>
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com>
---------
Co-authored-by: PoorlyDefinedBehaviour <brunotj2015@hotmail.com>
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com>
2025-05-13 16:40:17 +01:00
8738bab8b2
Chore: Update grpc to v1.72.0 ( #105311 )
2025-05-13 12:49:42 +03:00
6ebf49a383
QueryLibrary: Added IsVisibility property to Query data ( #104579 )
...
* QueryLibrary: Added IsVisibility property to Query data
* Added asserts for unit test
* generated openapi changes
2025-05-09 12:46:19 -04:00
9fb20efea9
Chore: Bump Go version to 1.24.3 ( #105098 )
2025-05-08 15:28:03 +02:00
3310149964
Chore: Update internal go.mod references ( #104262 )
2025-04-22 10:42:39 +01:00
c09ef1189e
K8s/Storage: remove github.com/grafana/grafana from go.mod ( #104212 )
2025-04-21 10:48:44 +03:00
0283c98e30
K8s/Folders: Use v1beta1 and app-sdk based spec ( #103975 )
2025-04-14 23:20:10 +03:00
f4dbbbac0c
Chore: update golang.org/x/sys+net+text+tools+crypto ( #103963 )
2025-04-14 10:01:19 +01:00
9aca2606c7
upgrade plugin-sdk-go from v0.274.0 to v0.275.0 ( #103863 )
...
* upgrade plugin-sdk-go from v0.274.0 to v0.275.0
* ignore deprecated warning
2025-04-14 08:29:58 +02:00
2c3422fc5c
Provisioning: return field paths in test error messages ( #103850 )
...
* Provisioning: Do not block connect step on error
* Display field errors
* Cleanup
* return field errors
* fix test
* convert errros to an array
* Fix history display
* Add getFormErrors
* metav1 issues
* lint
* Proper field names
* Fix notification
* Remove unused component
---------
Co-authored-by: Clarity-89 <homes89@ukr.net>
2025-04-11 14:26:42 +01:00
f5ad1ef69b
K8s: Folders: Add v1 api ( #103842 )
2025-04-11 13:09:52 +01:00
757be6365a
CI: Bump golangci-lint to 2.0.2 ( #103572 )
2025-04-10 14:42:23 +02:00
6df04f3949
Provisioning: Hold recent jobs in memory ( #103678 )
2025-04-09 12:46:01 +03:00
9df94718ab
[main] Go: Bump to 1.24.2 ( #103521 )
...
Go: Bump to 1.24.2
It is not likely we are actually affected by the CVEs, but updating proactively is not a bad idea nonetheless.
Fixes: CVE-2025-22871
Fixes: https://github.com/grafana/grafana-operator-experience-squad/issues/1311
2025-04-08 17:12:30 +02:00
18a3913782
Provisioning: Fix updating a PR from the UI ( #103571 )
...
Co-authored-by: Clarity-89 <homes89@ukr.net>
2025-04-08 12:51:31 +03:00
1824694c72
Provisioning: Show branch in save form ( #103513 )
2025-04-07 12:48:32 +03:00
38db7fad22
Build: Unpin bleve/v2 ( #103506 )
...
The commit we wanted[1] is now in v2.5.0 of bleve/v2. This means we no longer need a pin here and can update the library
instead.
[1]: af9e3111da
2025-04-07 10:21:33 +02:00
8dbaeac9da
Provisioning: Use repository view rather than raw config ( #103449 )
2025-04-07 09:39:31 +03:00