Mustafa Sencer Özcan
8ce9098765
test: improve folder integration test performance ( #113518 )
2025-11-10 13:05:05 +01:00
Rafael Bortolon Paulovic
0931423259
fix: use step output instead of !cancelled() in condition ( #113533 )
...
* fix: use step output instead of !cancelled() in condition
We are uploading profile files without need otherwise
* fix: try using !cancelled() and output
Otherwise, step isn't triggered due to failure of the previous one
2025-11-06 19:17:05 +01:00
Rafael Bortolon Paulovic
e69f3c55f7
fix: delete folders using postorder ( #113493 )
...
* fix: delete folders using postorder
* chore: use helper function and do not add method to Folder store
- addresses other review comments fixing log messages and cleans up the unit tests
* chore: run library element tests on modes 2,3,5 only
* chore: adjust to folder.SortByPostorder(folders []*Folder)
* chore: run library panels tests in mode 2,3,5 only
* chore: run tests in all modes and increase timeout
- adjusting the modes and tweaking configs will be done separately
2025-11-06 15:04:34 +01:00
dependabot[bot]
df816d00e4
deps(actions): bump actions/upload-artifact from 4 to 5 ( #113025 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 4 to 5.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-04 10:03:56 +00:00
Rafael Bortolon Paulovic
782c819727
Get traces and profiles of nocgo sqlite integration tests as GH artifact ( #113034 )
2025-11-04 10:36:20 +01:00
Kyle Brandt
4bb91a7846
Revert "SQL Expressions: (Chore) Update GMS (go-mysql-server) depende… ( #113050 )
2025-10-28 06:48:57 +00:00
Kyle Brandt
0e9a3881e7
SQL Expressions: (Chore) Update GMS (go-mysql-server) dependency ( #112289 )
...
- Added gms_pure_go build tags to disable cgo - (cgo was added to GMS since we last updated it)
- Docs note on regex limitations
---------
Co-authored-by: Matheus Macabu <macabu.matheus@gmail.com >
2025-10-27 08:22:51 -04:00
Rafael Bortolon Paulovic
4e296fa9ec
fix: sqlite nocgo with ionice and parallel flag ( #112849 )
...
* chore: log test DB path
* fix: run sqlite_nocgo with parallel 4 and ionice to reduce IO operations
2025-10-23 14:08:39 +02:00
dependabot[bot]
590230f107
deps(actions): bump actions/setup-go from 5.5.0 to 6.0.0 ( #112621 )
...
* deps(actions): bump actions/setup-go from 5.5.0 to 6.0.0
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 5.5.0 to 6.0.0.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v5.5.0...v6 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-version: 6.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* update enterprise imports
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
---------
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dave Henderson <dave.henderson@grafana.com >
2025-10-21 17:53:02 +00:00
dependabot[bot]
4b416f89bf
Chore(deps): Bump actions/checkout from 4 to 5 ( #110558 )
...
* Chore(deps): Bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases )
- [Commits](https://github.com/actions/checkout/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* remove incorrect comments
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2025-09-10 14:25:41 +01:00
Serge Zaitsev
cdd7a2cfd2
Chore: Disable CGo in tests ( #108764 )
...
* make cgo optional for sqlite
* update go.mod; check error code differently
* reduce api surface even more
* move test errors into sqlite package
* CGO_ENABLED=0 in unit tests
* disable for enterprise, too
* add driver name constant
* remove unused constants
* make test an integration one
* try integration tests without cgo
* implement error codes for modernc sqlite driver
* typo fix
* missing return
* use error pointer as an interface
* alias the driver
* update workspace, check for test errors too
* check error properly
* add missing driver after rebase
* fix missing import after rebase
* debugging, lets try again
* properly parse options, revert many previous changes
* remove another log
* better url parsing
* revert test rename, leave it for later
* revert reusedSession in unistore
* revert more code
* remove driver name
* revert formatting
* add integration test without cgo for sqlite
* remove tracing and logging
* bring driver alias back
* fix type
* wrong package
2025-09-02 17:24:30 +02:00
Kevin Minehart
67a6866c7b
CI: Skip expensive tests suites on push in forks and mirrors ( #110074 )
...
Skip expensive tests suites on push in forks and mirrors
2025-08-23 02:44:51 +00:00
Matheus Macabu
d07fa65920
GHA: Switch some BE workflows to self-hosted runners ( #109846 )
...
* GHA: Use equivalent self-hosted runners for BE unit tests Enterprise
* GHA: Use standard runners for BE unit tests OSS
* GHA: Use equivalent self-hosted runner for ephemeral env action
* GHA: Use self-hosted runners and adjust shards for BE integration tests
* GHA: Upgrade BE integration test Postgres from 12 to 17
* GHA: Upgrade BE integration test MySQL from 8.0.32 to 8.0.43
2025-08-19 16:20:58 +02:00
Tom Ratcliffe
de04be4cfe
Chore: Skip database integration tests when files are not changed ( #103923 )
2025-08-15 13:27:37 +01:00
Matheus Macabu
fc6690bf6b
IntegrationTests: Increase timeout to 8m ( #109598 )
...
Some tests are now taking longer than the 5min timeout
2025-08-13 16:03:29 +02:00
Serge Zaitsev
7cde0dfaf5
Chore: Disable cgo for postgres/mysql tests ( #109444 )
...
* disable cgo for postgres/mysql tests
* add missing error constants
2025-08-11 14:40:44 +02:00
dependabot[bot]
41df2e9d26
Bump actions/setup-go from 4.2.1 to 5.5.0 ( #108286 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-31 13:27:36 +01:00
Serge Zaitsev
406923f912
Chore: Commit wire_gen.go ( #107410 )
...
* commit wire_gen.go
* do not generate code in ci
2025-07-01 11:56:27 +02:00
Mariell Hoversholm
3f69249bc8
Actions: Join on test suites ( #106930 )
2025-06-18 17:39:16 +02:00
Mariell Hoversholm
24192745b6
Actions: set -euo pipefail on multi-cmd runs ( #106906 )
2025-06-18 15:50:30 +02:00
Mariell Hoversholm
08c55b60ab
Actions: Shard test suite ( #105166 )
2025-05-13 13:08:19 +02:00
Mariell Hoversholm
c92ff0ca75
Actions: Introduce actionlint ( #105224 )
2025-05-13 08:23:59 +02:00
Ashley Harrison
d8fb1e8e4e
Chore: Harden action permissions ( #104820 )
...
* harden action permissions
* Update .github/workflows/ephemeral-instances-pr-comment.yml
Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com >
* update documentation-ci
---------
Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com >
2025-05-02 12:13:05 +01:00
Ashley Harrison
821b44182e
Chore: don't persist creds when checking out in actions ( #104778 )
...
* don't persist creds when checking out in actions
* kick CI
* kick CI
* actually commit the merge...
* don't need
* don't need
2025-04-30 17:20:57 +01:00
Kevin Minehart
2436b4e097
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
2025-04-29 14:24:55 -05:00
Kevin Minehart
97d10b5095
CI: remove unused worklow; use GITHUB_TOKEN where possible ( #104657 )
...
* remove unused worklow; use GITHUB_TOKEN where possible
* pin usages of checkout and setup-go
* Fix zizmor errors
* add zizmor.yml
* fix `changelog.yml`
* fix `core-plugins-build-and-release.yml`
* fix `release-comms.yml`
* update release-pr.yml and run-e2e-suite.yml
* Fix errors in files outside of .github/workflows
* Remove path filter on zizmor.yml
---------
Co-authored-by: Sven Grossmann <svennergr@gmail.com >
Co-authored-by: joshhunt <josh.hunt@grafana.com >
2025-04-29 10:09:23 -05:00
Kevin Minehart
a2a13763a4
CI: Remove bad caching from integration tests ( #104546 )
2025-04-25 18:18:20 +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
Kevin Minehart
20b91cfa04
CI: Add integration tests GitHub Actions workflow ( #101732 )
...
* Add integration tests workflow
---------
Co-authored-by: Serge Zaitsev <serge.zaitsev@grafana.com >
2025-03-13 10:27:19 -05:00