Commit Graph

732 Commits

Author SHA1 Message Date
sam boyer
bba4d9bd7f
Introduce "scuemata" system for CUE-based specification of Grafana objects (#32527) 2021-04-08 01:11:11 -07:00
Torkel Ödegaard
4527f712e0
Themes: V8 Theme model (#32342)
* Updated

* Progress

* Progress

* Added spacings

* Updated rich color to be more descriptibe

* Added more to getRichColor to showcase how it would work

* Added more to getRichColor to showcase how it would work

* Updated

* Started on storybook

* Rename to palette

* Storybook progress

* Minor update

* Progress

* Progress

* removed unused import

* Updated

* Progress

* Added typography to new theme model

* Added shadows and zindex to new theme

* Updated based on last discussions

* Updated

* Rename shadows

* Moving storybook to new theme, renaming stories and moving to single category

* Updated snapshot

* Updated jsdoc state tags

* Reducing annonying errors
2021-04-07 19:13:00 +02:00
Kevin Minehart
82bae892eb
add memcached integration test steps in starlark (#32729)
* add memcached integration test steps to starlark

* typo
2021-04-07 08:06:10 -05:00
Kevin Minehart
5c1d4777b2
add redis integration test for enterprise (#32617) 2021-04-06 08:50:54 -05:00
Torkel Ödegaard
693985a6ba
Plugins: Support es5 plugins extending es6 core classes (#32664)
* Plugins: Support es5 plugins extending es6 core classes

* Make all base classes backward compatible
2021-04-06 14:51:35 +02:00
Torkel Ödegaard
532b8d4bc2
Babel: @babel/plugin-transform-react-constant-elements to babel config to optimize react performance (#32629) 2021-04-06 09:24:19 +02:00
Ryan McKinley
c7ea96940a
Arrow: move arrow support from frontend to backend only (#32575) 2021-04-01 10:30:08 -07:00
Leon Sorokin
a080669151
Icons: use plain SVG files, load on-demand (#32387) 2021-04-01 09:09:56 -05:00
Torkel Ödegaard
7f6229494d
Babel: Target more modern browsers, updates browserlistrc (#32573)
* Babel: Target more modern browsers, updates browserlistrc

* Updates

* Fixed circular dependencies, grafana booted
2021-04-01 10:32:00 +02:00
Torkel Ödegaard
b0ffcfd558
Babel: Refactoring config so that it's shared and removes legacy plugin (#32559)
* Updated plugins

* Fixing stuff

* Update

* Fixing more stuff
2021-03-31 19:09:19 +02:00
Alexander Zobnin
20bd591bea
Access control: Basic structure and functionality behind feature toggle (#31893)
Co-authored-by: Alexander Zobnin <alexander.zobnin@grafana.com>
Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
Co-authored-by: Arve Knudsen <arve.knudsen@grafana.com>
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@grafana.com>
2021-03-22 13:22:48 +01:00
Hugo Häggmark
c8b59b79c3
Chore: Fix strict errors, down to 340 (#32109)
* Chore: reduces misc reducerTester strict issues

* Chore: fixes various strict errors in reducer tests for ElasticSearch

* Chore: lowers errors in AzureMonitor DataSource tests
2021-03-19 13:10:03 +01:00
Dimitris Sotirakis
d59574ec1e
Update scripts and Dockerfiles to use Go 1.16.1 (#31881)
* Update scripts and Dockerfiles to use Go 1.16.1

* Update build-container image version to 1.4.1

* Update node version to 14.16.0-1nodesource1

* Updated drone configuration
2021-03-11 12:55:04 +02:00
Dimitris Sotirakis
08f500ed06
Remove pkill gpg-agent (#31169) 2021-03-03 17:28:47 +02:00
Arve Knudsen
357cd8eb81
CI: Upgrade Dockerfiles wrt. Go, Node, Debian (#31407)
* CI: Upgrade Dockerfiles wrt. Go 1.16, Node, Debian

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-02-24 08:52:48 +01:00
Dimitris Sotirakis
c86eeae132
Remove tidy-check script (#31423)
* Remove tidy-check script

* Update grabpl version to 0.5.43
2021-02-23 17:53:30 +02:00
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