Dimitris Sotirakis
ad4fc4d87e
Remove FocusConvey check ( #41165 )
2021-11-09 12:38:51 +01:00
Dimitris Sotirakis
7465716086
ReleaseNotes: Update release notes for v8.2.3 ( #41269 )
...
* ReleaseNotes: Updated release notes for v8.2.3
* Update release-notes-8-2-3.md
* Update CHANGELOG.md
2021-11-03 15:38:19 +01:00
Dimitris Sotirakis
d85b4dc7a8
CI: Update grafana/build-container version ( #41191 )
...
* Update node and yarn versions
* Update drone yaml
2021-11-02 13:52:16 +00:00
Dimitris Sotirakis
8a3e192e6a
InfluxDB: Fix regular expression to parse aliases according to documentation ( #41186 )
...
* Fix regular expression to parse aliases that start with either square brackets or dollar sign
* Fix lint
2021-11-02 13:26:11 +01:00
Dimitris Sotirakis
469a5e4a85
Comment out "Queries with new datasource ref object" test ( #41187 )
2021-11-02 13:09:51 +02:00
Dimitris Sotirakis
5e813ea454
Add isl and expat libs as tarballs explicitly ( #41138 )
2021-11-01 15:12:16 +02:00
Dimitris Sotirakis
624d7631e6
Build/CI: Make integration-tests depend on initialize ( #40782 )
...
* Make integration tests depend on initialize
* Reorder steps for better visualisation
2021-10-21 22:28:57 +02:00
Dimitris Sotirakis
bb738e35cf
Chore: Move Grafana version generator in initialize step ( #40604 )
...
* Move gen-version
* Small dependencies reorder
* Update grabpl version
2021-10-21 09:59:12 +03:00
Dimitris Sotirakis
ba60bec11b
Remove git reset - replace with git stash ( #40669 )
2021-10-20 11:39:46 +03:00
Dimitris Sotirakis
b926edf666
Add /packaging/**/*.tar.gz.sha256 to .gitignore ( #40651 )
2021-10-19 20:15:18 +02:00
Dimitris Sotirakis
0efe2e3acc
Chore: Make test-frontend step depend on initialize step ( #40616 )
...
* Make test-frontend step depend on initialize
Debug
* Clean git tree dir
* Make build-frontend depend on lint-frontend
* Add actual steps back
2021-10-19 19:54:33 +03:00
Dimitris Sotirakis
89e7a56714
Makefile: Force use drone-cli 1.4.0 version ( #40385 )
...
* Force use drone-cli 1.4.0
* Small modifications to prevent null generation
* Sign drone
* Use bingo to declare drone-cli version
* Update message in Makefile
* Update to latest grabpl version
2021-10-14 16:02:45 +02:00
Dimitris Sotirakis
534e6b3f5a
Add @grafana/grafana-release-eng to CODEOWNERS ( #40468 )
2021-10-14 15:39:54 +02:00
Dimitris Sotirakis
cc67b1802c
Remove unused push_to_deployment_tools step ( #40308 )
2021-10-12 09:44:52 +03:00
Dimitris Sotirakis
5bf37d36e7
Build Pipeline: Split to test-backend and test-backend-integration steps ( #40215 )
...
* Split to test-backend and test-backend-integration
* Sign drone
2021-10-11 12:23:55 +03:00
Dimitris Sotirakis
08a20e2247
Update grabpl version to 2.5.1 ( #40218 )
2021-10-11 09:41:19 +03:00
Dimitris Sotirakis
d023cabae6
Add Headers to http client Options ( #40214 )
2021-10-08 16:52:41 +03:00
Dimitris Sotirakis
f65372789e
Chore: Add Kevin Minehart to CODEOWNERS for CI related code ( #40074 )
...
* Add Kevin Minehart to CODEOWNERS for CI related code
* Remove zserge from CODEOWNERS
2021-10-06 14:53:02 +02:00
Dimitris Sotirakis
ccd6a2eae3
Remove dockerize leftovers ( #39960 )
2021-10-06 11:37:42 +03:00
Dimitris Sotirakis
33c4893a59
Upgrade to grabpl 2.4.8 ( #39885 )
2021-10-01 09:33:33 +02:00
Dimitris Sotirakis
b7a68a9516
Put make gen-go in initialize step ( #39854 )
2021-09-30 15:39:48 +02:00
Dimitris Sotirakis
4017c5c800
Build: Separate frontend linting from frontend testing ( #39808 )
...
* Create new lint-frontend step
* Use lint-frontend step / separate from test-frontend
* Fix typo
2021-09-30 09:56:08 +02:00
Dimitris Sotirakis
f860becc88
Chore: Move jwilder/dockerize installation to build-container ( #39581 )
...
* Move dockerize to build-container
* Sync drone
* Fix command to not point in bin dir
* Update build container version
2021-09-23 23:41:34 +02:00
Dimitris Sotirakis
fdc681788b
InfluxDB: Fix regex to identify / as separator ( #39185 )
...
* Fix regex to identify / as separator
* Update regex
2021-09-15 09:37:33 +01:00
Dimitris Sotirakis
ed810da1f6
Update to grabpl 2.4.6 ( #39177 )
2021-09-14 16:21:04 +02:00
Dimitris Sotirakis
f5ecf5c2d9
Cast fields to int64 ( #39179 )
2021-09-14 14:57:12 +02:00
Dimitris Sotirakis
ba9d5540b8
Datasources: Introduce response_limit for datasource responses ( #38962 )
...
* Introduce response_limit for datasource responses
* Fix lint
* Fix tests
* Add case where limit <= 0 - added parametrized tests
* Add max_bytes_reader.go
* Use new httpclient.MaxBytesReader instead of net/http one
* Fixes according to reviewer's comments
* Add tests for max_bytes_reader
* Add small piece in configuration.md
* Further fixes according to reviewer's comments
* Fix linting - fix test
2021-09-10 16:51:06 +03:00
Dimitris Sotirakis
78b3847014
Copy cue.mod and packages/grafana-schema to container workdir ( #38998 )
2021-09-09 08:54:36 +03:00
Dimitris Sotirakis
5f10843203
Chore: Rename scripts/star dir to scripts/drone ( #38910 )
...
* Rename scripts/star dir to scripts/drone
* Update CODEOWNERS after paths change
2021-09-07 12:15:04 +03:00
Dimitris Sotirakis
2316c3942b
Chore: Tidy up starlark files into folders ( #38874 )
...
* Tidy up starlark files into folders
* Rename steps
* Make sure lib.star only contain steps - added services.star and utils.star
2021-09-07 10:21:49 +03:00
Dimitris Sotirakis
e5cdf9e4d1
Add type/ci as label on CI related file changes ( #38831 )
2021-09-02 18:22:51 +02:00
Dimitris Sotirakis
a5ce61b539
Chore: Update to alpine:3.14.2 ( #38813 )
...
* Update apline to 3.14.2
* Remove libcrypto1.1 libssl1.1 version dependencies
* Update grabpl version
2021-09-02 12:57:11 +03:00
Dimitris Sotirakis
89716f2806
Remove ci-build-windows folder ( #38778 )
2021-09-01 10:44:08 +02:00
Dimitris Sotirakis
3fb5afb9e3
Update Dockerfile ( #38744 )
2021-08-31 12:53:17 +03:00
Dimitris Sotirakis and Marcus Efraimsson
8e2ee0a1c8
Chore: Update to Golang 1.17 ( #38608 )
...
* Update to golang 1.17
* Further updates
* Run go mod tidy on go 1.17
* Apply suggestions from code review
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com >
* Use build-container:1.4.2
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com >
2021-08-31 09:19:26 +03:00
Dimitris Sotirakis
d7daaa19df
Add CODEOWNERS for CI related code ( #38606 )
2021-08-27 09:06:15 +03:00
Dimitris Sotirakis
00886afaf1
Force use versions of libcrypto1.1 and libssl1.1 ( #38585 )
2021-08-26 15:22:53 +02:00
Dimitris Sotirakis
12320dda3c
Elasticsearch: Fix metric names for alert queries ( #38546 )
...
* Export fieldName to var
* Add empty string as frame name
2021-08-26 09:20:38 +02:00
Dimitris Sotirakis
8a04af412e
Build pipeline: Cleanup build-main pipeline steps ( #38484 )
...
* Refactor dependencies
* Regenerate drone.yml
* Reorder steps in starlark files
* Make build depend on test
* Make test steps depend on lint
* Make gen-version step depend on build steps
* Refactor step dependencies
* Move e2e-tests step before upload_cdn
* Sync with main
2021-08-26 10:11:22 +03:00
Dimitris Sotirakis
29d0a1536c
Chore: Update grabpl version to 2.3.3 ( #38516 )
...
* Update grabpl version to 2.3.1
* Update grabpl version to 2.3.2
* Update grabpl version
2021-08-25 08:50:41 +03:00
Dimitris Sotirakis
e8faa2c900
Build pipeline: Cleanup PR pipeline steps ( #38447 )
...
* Refactor dependencies
* Regenerate drone.yml
* Reorder steps in starlark files
* Make build depend on test
* Make test steps depend on lint
* Make gen-version step depend on build steps
2021-08-24 17:07:06 +02:00
Dimitris Sotirakis
da72dc55cb
Update to golang:1.16.1-alpine3.14 ( #38508 )
2021-08-24 16:13:12 +02:00
Dimitris Sotirakis
309d263531
Chore: Add public/lib to .prettierignore ( #38479 )
...
* Add public/lib to .prettierignore
* Fixes according to reviewer's comments
2021-08-24 10:11:44 +02:00
Dimitris Sotirakis
64cb000d37
Chore: Add e2e-tests-server as dependencies on steps that publish packages ( #38059 )
...
* Add e2e-tests-server as dependencies on steps that publish packages
* Sign drone yaml
2021-08-23 13:39:16 +03:00
Dimitris Sotirakis
16c518582f
Chore: Prevent branches beginning with "v*" from being considered as versioned branches ( #38016 )
...
* Add v8* and v9* "regex" to only build versioned branches
* Add glob pattern matching
* Sign drone yaml
2021-08-20 09:22:53 +03:00
Dimitris Sotirakis
050dc7bc8f
Cloudwatch: Unwrap errors - throw error from upstream ( #36334 )
...
* Unwrap errors - throw error from upstream
* Fixes according to reviewer's comments
* Fix linting
* Remove unused code
2021-08-18 10:37:13 +03:00
Dimitris Sotirakis
37b0c20984
Chore: Update channel to where failed Docker nightly builds are posted ( #37927 )
...
* Update channel
* Sign drone.yml
2021-08-16 14:54:52 +02:00
Dimitris Sotirakis
1aeafa34d1
Elasticsearch: Fix metric names for alert queries ( #37871 )
...
* Use props names as metrics names
* Make aliases work
2021-08-16 14:45:20 +03:00
Dimitris Sotirakis
db91a55d49
Remove duplicated title from slack notification ( #37834 )
2021-08-13 15:13:02 +03:00
Dimitris Sotirakis
e4779cfb4f
Remove pkg-archive from Makefile ( #37821 )
2021-08-12 11:39:09 +03:00
Dimitris Sotirakis
27c71a1f09
Prometheus: Migrate to use SDK contracts ( #37358 )
...
* Use SDK contracts (test needs fixing)
* Fix tests
* Add customQueryParametersMiddleware
* Fix merge conflicts
2021-08-09 11:11:19 +02:00
Dimitris Sotirakis
c189851339
Chore: Update grabpl version ( #37253 )
...
* Update grabpl version to 2.3.1
* Update grabpl version to 2.3.2
2021-07-27 13:18:06 +02:00
Dimitris Sotirakis
0c804df763
Update grabpl version to 2.3.1 ( #37208 )
2021-07-27 12:52:01 +03:00
Dimitris Sotirakis and sam boyer
2e0dc835cf
Scuemata: Add test to validate devenv resources ( #35810 )
...
* Add test for devenv resources
* Refactor validation tests for grokkability
* Devenv dashboards error-tracking script
* Refactor to use cueerrors.Details()
* Further test refinement
* Close major elements of dashboard schema
* Centralize dashboard validation tests
General dashboard validation testing belongs in the load package.
* Better names for error context on glue CUE code
* Fixup validate-resource
Do only one of base or dist, and fix copied docs.
* Skip the devenv test
* Remove test for validateResources
* Fix shellcheck
* Backend linter
Co-authored-by: sam boyer <sdboyer@grafana.com >
2021-07-15 20:08:03 -04:00
Dimitris Sotirakis
0df1b33d71
Plugins: Migrate Elasticsearch to backend plugin SDK ( #36132 )
...
* Migrate Elasticsearch to backend plugin SDK
* Fix linting
* Move away from Convey!
* Rebase commit
* Small logger fix
* Fixes according to reviewer's comments
* Fixes according to reviewer's comments
* Fixes according to reviewer's comments
* More cleanup
* Move things around - small refactoring
* Fix typo
* Update calculator - add tests
* Fixes according to reviewer's comments
2021-07-15 16:45:59 +02:00
Dimitris Sotirakis
069fb0cf38
HTTP Client: Introduce dataproxy_max_idle_connections config variable ( #35864 )
...
* Introduce dataproxy_max_idle_connections config var
* Fix according to reviewer's comments
* Fix according to reviewer's comments - round 2
* Remove unused const
* Bring back MaxIdleConnsPerHost
* Fixes according to reviewer's comments
2021-07-07 13:13:53 +03:00
Dimitris Sotirakis
a18d3007a7
Folders: Return 409 Conflict status when folder already exists ( #36429 )
...
* Return 409 Conflict when trying to post folder that already exists
* Fix tests
* Update documentation for new error message in folders api
2021-07-06 11:11:29 +02:00
Dimitris Sotirakis
084c9c8746
Dashboards: Add IsFolder field into models.GetDashboardQuery ( #36214 )
...
* Add IsFolder field into models.GetDashboardQuery
* Reverted folderId - return dummy success when calling get folder with id 0
* Moved condition to upper level - add test
2021-07-01 11:40:38 +03:00
Dimitris Sotirakis
4f3bc71caa
Chore: Update tests to prevent test-backend step from failing the pipeline ( #36155 )
...
* Chore: Update flight-simple-X.txt
* Fix api_notification_channel_test.go failing test
2021-06-25 10:32:01 +02:00
Dimitris Sotirakis and Elfo404
0d08881876
Elasticsearch: Convert Timeseries and Tables to Dataframes ( #34710 )
...
* Rebase (broken tests)
* Removed tables - refactored processAggregationDocs func
* Tests cleanup
* Nit - add space in percentile legend titles
* Fix labels naming - use metricAggType map
* Fix bug which appended same fields over and over again
* Replace test with dataframes
* Fix tests
* Add nolint:gocyclo - will need refactoring
* Move frames tags assignment
* Add failing test fo when ES server is booting up
* Revert "Add failing test fo when ES server is booting up"
This reverts commit fd14a1fd5e .
Co-authored-by: Elfo404 <me@giordanoricci.com >
2021-06-18 13:26:19 +03:00
Dimitris Sotirakis
7cdf8b3705
HTTP Client: Introduce go-conntrack into http client provider ( #35314 )
...
* Introduce go-conntrack into http client provider
* Fixes according to reviewer's comments
* Fixes according to reviewer's comments
2021-06-09 18:13:21 +02:00
Dimitris Sotirakis
4c8ce8a450
Scuemata: Checking json validity by enabling skipped tests ( #34385 )
...
* Make sure we don't skip any tests - refactoring
* Remove commented lines
* Move test folder
2021-06-04 08:18:03 +02:00
Dimitris Sotirakis
1c49986b2f
Chore: Remove endpoints that contain the slug field ( #35104 )
...
* Chore: Remove endpoints that contain the slug field
* More cleanups
* Lint fixes
* Remove unnecessary funcs
* Cleanup frontend code
* Remove deprecated endpoints from docs
* Revert change according to reviewer's comments
2021-06-03 16:20:13 +03:00
Dimitris Sotirakis
56e0efbb56
Chore: Update drone pipeline failure message to include target branch ( #35170 )
2021-06-03 14:09:53 +02:00
Dimitris Sotirakis
27ad970c2b
Chore: Make drone failed nightly checks send slack messages to #grafana-backend ( #35076 )
2021-06-02 08:49:42 +02:00
Dimitris Sotirakis
91657dad18
HTTP Client: Make ResponseHeaderTimeout default timeout in http client ( #34597 )
...
* HTTP Client: Add `ResponseHeaderTimeout` - split from `DialContext` timeout
* Fixes according to reviewer's comments
* Use grafana-plugin-sdk-go v0.100.0
2021-05-25 11:32:41 +03:00
Dimitris Sotirakis
6970c9ebfd
Use laher/mergefs - remove custom code ( #34571 )
2021-05-24 14:17:40 +02:00
Dimitris Sotirakis
292789ba2d
Chore: Increase number of backend test retries in grabpl to 5 in release pipelines ( #34493 )
...
* Increase number of backend test retries to 5
* Exclude release-branch pipelines
* Fixes according to reviewer's comments
* Refactor
* Remove unused arguments
* Remove magic number
2021-05-20 17:52:02 +02:00
Dimitris Sotirakis
bfcf82f861
Scuemata: Add grafana-cli command to validate resources against scuemata ( #33852 )
...
* Add validate-resource cli command
* Fixes according to reviewer's comments
2021-05-18 10:30:13 +03:00
Dimitris Sotirakis
b9eab37149
Scuemata: Add MergeFS implementation to enable iteration for multiple filesystems ( #33989 )
...
* Add MergeFS implementation to enable iteration to multiple filesystems
* Fix linting
* Fix misplaced close file
* Move mergefs functionality into tests
* Fix linting
* Add mergefs test
* Dummy commit - remove
* Test fixes - renaming
* Fix ReadDir
# Keeps first filesystem's overridden file
* Fixes according to reviewer's comments
* Remove dummy test
* Remove walkdir
* Small test refactoring
2021-05-18 09:22:31 +03:00
Dimitris Sotirakis
2b1e6c136f
Scuemata: Add error wrapper for CUE sanity errors ( #33934 )
...
* Add error wrapper for CUE sanity errors
* Fix error
* Fix linting
* Update test
* Update TestCueErrorWrapper assertions
2021-05-14 09:02:41 +02:00
Dimitris Sotirakis
ff262ed3fb
Scuemata: Simplify grafana-cli cue validation tests ( #33913 )
...
* Simplify tests
* Make PanelFieldConfig optional in missing panel scenario
2021-05-11 15:11:17 +03:00
Dimitris Sotirakis
677b73dda5
Scuemata: Add grafana-cli cue schema validation to CI ( #33798 )
...
* Add scuemata validation in CI
* Fixes according to reviewer's comments
2021-05-10 17:54:35 +03:00
Dimitris Sotirakis
47af158ddb
Scuemata: Add grafana-cli command to validate basic scuemata ( #33523 )
...
* Add grafana-cli command to validate basic scuemata
* Fix c/p outdated message
* Fix linting - naming
* Add basic testing
* Add cue schema validation
* Add tests
* Fix linting errors
* Remove code - refactored tests
* Remove unnecessary files - leftovers
* Fix linting
* Try adding public folder in testdata
2021-05-06 18:21:08 +02:00
Dimitris Sotirakis and Arve Knudsen
6acb99afde
Bug: Add git to Dockerfile.ubuntu ( #33247 )
...
* Add git to Dockerfile.ubuntu
* Use apt-get
* Add quiet flag
* Update Dockerfile.ubuntu
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-04-22 09:11:29 +02:00
Dimitris Sotirakis
d3e510e92f
Chore: Remove Revive standalone linter - use it via golangci-lint ( #33150 )
...
* Remove Revive standalone linter - use it via golangci-lint
* Add revive settings to ignore lint errors for now
* Small fix
* Update to grabpl v0.5.53
* Remove errorCode and warningCode from config
2021-04-20 16:51:08 +02:00
Dimitris Sotirakis
b3ce655b67
Remove field limitation from slack notification ( #33113 )
2021-04-20 12:01:05 +03:00
Dimitris Sotirakis
52243d859b
Fix alert frequency check ( #32974 )
2021-04-14 11:47:30 +02:00