Dimitris Sotirakis
19ab83d6ed
Update grabpl from 0.5.38 to 0.5.42 version ( #31419 )
...
* Update grabpl from 0.5.41 to 0.5.42 version
2021-02-23 16:28:39 +02:00
Torkel Ödegaard
372ae7fdd3
Chore: Fix strict errors, down to 416 ( #31365 )
2021-02-22 10:06:07 +01:00
Arve Knudsen
a20119db9f
Chore: Upgrade golangci-lint ( #31330 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-02-18 19:24:04 +01:00
Dimitris Sotirakis
d1cee1ad02
Add --tries 3
arg when triggering e2e-tests upon releasing ( #31285 )
...
* Add ``--tries 3` arg when triggering e2e-tests
* Make e2e-tests retry 3 times only for release pipelines
2021-02-18 10:16:49 +02:00
Hugo Häggmark
3c1f27b0e6
Chore: reduce strict errors for variables ( #31241 )
...
* Chore: reduces a lot of variable errors
* Chore: reduces variable Editor errors
* Chore: reduces variable Picker errors
* Chore: reduce error count
* Chore: reduces errors for ChangeEvent instead of FormEvent
* Chore: reduces errors with CombinedState
* Chore: reduces ComponentType errors
* Chore: reduce errors in reducers
* Chore: reduces misc errors
* Chore: reduce AdhocPicker errors
* Chore: reduce error limit
* Update public/app/features/variables/adhoc/picker/AdHocFilterValue.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* Chore: updates after PR comments
* Chore: small refactor
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2021-02-18 06:21:35 +01:00
Josh Hunt
5218497a3e
Chore: report eslint no-explicit-any errors to metrics ( #31182 )
...
* Chore: report eslint no-explicit-any errors to metrics
* double quote
2021-02-15 10:15:34 +00:00
Dimitris Sotirakis
d1937408bd
Replace PR with Commit truncated hash when build fails ( #31177 )
...
* Replace PR with Commit truncated hash when build fails
* Make commit literal lower case
2021-02-12 18:36:15 +02:00
Dimitris Sotirakis
a18e4d8d64
Add author name and pr number in drone pipeline notifications ( #31124 )
...
* Add author name and pr number in drone pipeline notifications
2021-02-11 17:18:13 +02:00
Torkel Ödegaard
595a47959b
Drone: Make sure CDN upload is ok before pushing docker images ( #31075 )
...
* Drone: Make sure CDN upload is ok before pushing docker images
* Trying to simplify logic
* Snake case
* Only depend on cdn upload in release mode
* Rename and use util function where we can
* removing the cdn dependency
2021-02-10 13:55:28 +01:00
Torkel Ödegaard
d6e8e47698
CDN: Add CDN upload step to enterprise and release pipelines ( #31058 )
...
* CDN: Fixing drone CI config
* was in wrong dir when I executed command
* removed whitespace
* Update path
* Update Drone master and enterprise piplelines with CDN Upload
* Update test
* removed whitespace
* Go back to public folder defined
* updated build-pipeline
* Updated drone
* wrong version
2021-02-10 08:58:41 +01:00
Torkel Ödegaard
b8a52ed0bd
CDN: Fixing drone CI config ( #31052 )
...
* CDN: Fixing drone CI config
* was in wrong dir when I executed command
* removed whitespace
2021-02-09 16:31:30 +01:00
Torkel Ödegaard
99e72e65ab
CDN: Adds uppload to CDN step to drone CI ( #30879 )
...
* CDN: Adds uppload to CDN step to drone CI
* Bump grabpl
* updated sh files
* crying
* add init dependency
* Removed last test to get this to work
2021-02-09 14:55:11 +01:00
Arve Knudsen
d963c6d868
Drone: Fix deployment image ( #31027 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-02-09 13:18:01 +01:00
Hugo Häggmark
410ab72bc4
Build: Releases e2e and e2e-selectors too ( #31006 )
2021-02-09 07:35:01 +01:00
Marcus Efraimsson
dadc8a2e2d
Chore: Upgrade docker build image ( #30820 )
...
* Chore: Upgrade docker build image
* use updated build image in drone
2021-02-05 11:47:04 +01:00
ying-jeanne
c24a4c1803
bump grabpl version to 0.5.36 ( #30874 )
...
* bump grabpl version to 0.5.36
* 2 missing shell script
2021-02-03 20:53:37 +01:00
Arve Knudsen
fdd6a84d82
DeployImage: Switch base images to Debian ( #30684 )
...
* DeployImage: Switch base images to Debian
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-01-28 11:03:18 +01:00
Jack Westbrook
54b1ce2cdb
ci(npm-publish): add missing github package token to env vars ( #30665 )
2021-01-27 15:13:08 +01:00
Tania B
bb1f84dbc7
Chore: Upgrade grabpl version ( #30486 )
2021-01-21 19:24:12 +02:00
Arve Knudsen
bd71eb23df
Chore: Upgrade build pipeline tool ( #30456 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-01-20 20:30:45 +01:00
Torkel Ödegaard
1d689888b0
Prettier: Upgrade to 2 ( #30387 )
...
* Updated package json but not updated source files
* Update eslint plugin
* updated files
2021-01-20 07:59:48 +01:00
Agnès Toulet
c040d36a70
Drone: Upgrade build pipeline tool ( #30247 )
2021-01-13 11:44:34 +01:00
Agnès Toulet
4972d7f020
Drone: Upgrade build pipeline tool ( #30104 )
2021-01-07 12:58:40 +01:00
Arve Knudsen
87633c563c
Chore: Upgrade Docker build image wrt. Go/golangci-lint/Node ( #30077 )
...
* ci-build: Upgrade base image, Go, Node, golangci-lint
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Drone: Upgrade build image
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Drone: Upgrade plugin build image
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-01-06 17:52:17 +01:00
Arve Knudsen
52f79c3625
Drone: Fix race conditions between Enterprise and Enterprise2 ( #30076 )
...
* Drone: Fix race conditions between Enterprise and Enterprise2
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-01-06 13:22:20 +01:00
Hugo Häggmark
602d8f601c
Chore: Changes source map devtool to inline-source-map ( #30004 )
2020-12-30 06:03:53 +01:00
Agnès Toulet
4de784065d
Drone: Update pipelines for Enterprise ( #29939 )
...
* update E2E tests
* fix e2e tests for new pipelines
* Add enterprise2 test, build, package and upload steps
* fix missing linting step
* Upgrade build pipeline tool
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Use grabpl lint-backend
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Refactor publishing
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Refactor package publishing
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Drone: Supply --simulate-release flag to publish-packages for simulating a release
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Drone: Run e2e tests with specific ports
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* e2e/start-server: Make more robust
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-12-23 15:42:20 +01:00
Dominik Prokop
683ce69347
Link suppliers: getLinks API update ( #29757 )
...
* ContextMenuPlugin WIP
* Remove Add annotations menu item from graph context menu
* ts ifx
* WIP
* Tests updates
* ts check fix
* Fix rebase
* Use replace function in angular graph data links
2020-12-15 13:29:37 +01:00
Arve Knudsen
c2cad26ca9
Chore: Disable default golangci-lint filter ( #29751 )
...
* Disable default golangci-lint filter
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Chore: Fix linter warnings
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-12-15 09:32:06 +01:00
Arve Knudsen
e2351f7951
Chore: Configure go-ruleguard via golangci-lint ( #28419 )
...
* Chore: Configure go-ruleguard via golangci-lint
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-12-11 11:45:17 +01:00
Torkel Ödegaard
6c1789e549
Typescript: Raise strict error limit for enterprise ( #29688 )
2020-12-08 15:56:55 +01:00
Torkel Ödegaard
a7afab4b8a
Typescript: Fixing typescript strict error, and separate check from publishing ( #29679 )
...
* Typescript: Fixing typescript string error, and seperate check from publishing
* now should pass
2020-12-08 12:56:37 +01:00
Jack Westbrook
c2e81ab166
Build: Publish next and latest npm channels to Github ( #29615 )
...
* build(npm): publish next and latest packages to github registry
* ci(release): remove redundant commands from release-npm-packages step
* Update scripts/release.star
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
* Update scripts/release.star
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-12-04 16:34:03 +01:00
Jack Westbrook
73af91192d
Build: move canary packages to github ( #29411 )
...
* ci: wip - add release next npm package step to pr for testing
* ci: remove unpublish logic and use github for package registry
* chore: refresh drone.yml config
* ci: remove redundant variable
* ci: add missing double quote
* chore: move registry arg to npm script
* chore: refresh drone config
* ci: attempt github registry auth
* build: force lerna registry
* build: remote trailing slash
* build: remove obsolete lerna bootstrap, rename next publish files to canary
* chore: remove release_canary_packages step from pr pipeline
* docs(packages): introduce steps for authenticating with github packages
* refactor: move github registry related commands to shell script
* ci(drone): remove echo commands from canary release step
* docs: add missing backtick
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2020-12-03 11:31:14 +01:00
Torkel Ödegaard
00d59ec1fc
NodeJS: Update to LTS (14) ( #29467 )
...
* NodeJS: Update to LTS (14)
* Bump Volta's Node version
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Bump version of build image
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Drone: Upgrade build image
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-12-02 18:18:49 +01:00
Ivana Huckova
2a61d7ff9f
IntelliSense: Fix autocomplete and highlighting for Loki, Prometheus, Cloudwatch ( #29381 )
...
* Pass languages directly to SlatePrism plugin
* Update
* Remove unused variables
* Update packages/grafana-ui/src/components/DataLinks/DataLinkInput.tsx
Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
* Update public/app/plugins/datasource/prometheus/components/PromQueryField.tsx
Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
* Update public/app/plugins/datasource/prometheus/components/PromQueryField.tsx
Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
* Update public/app/plugins/datasource/loki/components/LokiQueryFieldForm.tsx
Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
* Update public/app/plugins/datasource/cloudwatch/components/LogsQueryField.tsx
Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
* Try Prism import instead of languages
* Update webpack
Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
2020-12-02 14:09:55 +01:00
Torkel Ödegaard
dc93749287
Grunt: Removes grunt dependency and replaces some of its usage ( #29461 )
...
* Grunt: Removes grunt dependency and replaces some of it usage with alternatives
* Removed precommit toolkit task
* Fixed toolkit import
* Some cleanup of unused / not working stuff in build.go
* Removed sass errors
2020-12-01 10:32:12 +01:00
Arve Knudsen
f55818ca70
Chore: Enable exhaustive linter ( #29458 )
...
* Chore: Enable exhaustive linter
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-12-01 09:53:27 +01:00
Carl Bergquist
0b451486f8
removes unused golint file ( #29391 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com>
2020-11-25 19:00:21 +01:00
Arve Knudsen
5773929953
Drone: Upgrade build pipeline tool ( #29365 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-25 10:54:27 +01:00
Arve Knudsen
5cec4095b2
Drone: Upload artifacts for release branch builds ( #29297 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-25 09:26:16 +01:00
Marcus Andersson
e4f465929d
Docs: fixing link issues in auto generated frontend docs. ( #29326 )
...
* updating api-documenter package and fixed failed link.
* added documentation for matcher code.
* decreasing number of lint errors.
2020-11-25 08:54:42 +01:00
Arve Knudsen
f7567f2266
Drone: Execute artifact publishing for both editions in parallel during release ( #29362 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-25 08:49:24 +01:00
Arve Knudsen
65ca47549d
Drone: Check CUE dashboard schemas ( #29334 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-25 08:11:08 +01:00
Arve Knudsen
7d8cb6869a
Drone: Publish NPM packages after Storybook to avoid race condition ( #29340 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-24 15:13:23 +01:00
Jack Westbrook
0fc8426bf1
Chore: Bump storybook to v6 ( #28926 )
...
* Wip
* feat: get storybook and app building locally
* docs: comment webpack react alias
* build(grafana-ui): put back ts-loader
* build: prefer storybook essentials over actions and docs. bump dark-mode
* chore(storybook): migrate to latest config
* build: prevent test env throwing Invalid hook call errors
* chore: lodash resolves to package dependency rather than project
* use decorators as variable instead of function
* perf(storybook): reduce bundling time by splitting type check and compilation
* refactor(storybook): use sortOrder.order param to sort intro story first
* build: use yarn workspace command
* refactor(storybook): use previous knobs addon registration
* migrate button story to controls
* build(storybook): silence warnings in console
* build: bump storybook related ts packages
* style: remove trailing whitespace
* refactor(graphng): export interface for storybook
* controls migration guide
* fix typo
* docs(storybook): default docs to use dark theme as per current implementation
* revert(grafana-ui): put back react-is namedExport
this was changed for react 17 bump but causes rollup to fail during bundling
* chore: bump storybook to 6.1, enable fastRefresh, silence eslint prop-types
* docs(grafana-ui): move knobs -> controls migration guide to storybook style-guide
* chore(storybook): silence terminal warning about order of docs addon
* Update contribute/style-guides/storybook.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Apply documentation suggestions
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* chore(storybook): bump to 6.1.2
Co-authored-by: Peter Holmberg <peter.hlmbrg@gmail.com>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2020-11-24 10:38:41 +01:00
Arve Knudsen
e293dd40b0
Drone: Upgrade build pipeline tool ( #29308 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-23 16:16:55 +01:00
Marcus Andersson
dce998711e
decreasing frontend docs threshold. ( #29304 )
2020-11-23 14:30:46 +01:00
Arve Knudsen
9593d57914
Chore: Enable errorlint linter ( #29227 )
...
* Enable errorlint linter
* Handle wrapped errors
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
2020-11-19 14:47:17 +01:00
Zoltán Bedi
f01c3f35e1
Chore: remove compress:release grunt task ( #29225 )
2020-11-19 12:18:14 +01:00