Commit Graph

306 Commits

Author SHA1 Message Date
Steven Vachon
de3a7610d7
Print Node.js and Toolkit versions (#30230)
* Minor changes

* Print Node.js and toolkit versions when building
2021-01-12 12:17:29 -05:00
Arve Knudsen
85ec1fa0eb
Chore: Bump plugin-ci-alpine Docker image version (#30225)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-01-12 16:16:08 +01:00
Steven Vachon
807b31fb57
Use Node.js 14.x in plugin CI (#30209) 2021-01-12 09:07:07 -05: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
dependabot[bot]
4dc44f2965
Chore(deps): Bump axios from 0.19.2 to 0.21.1 (#30059)
Bumps [axios](https://github.com/axios/axios) from 0.19.2 to 0.21.1.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v0.21.1/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.19.2...v0.21.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-05 17:33:52 +01:00
Jack Westbrook
51e3d65f9f
Chore(toolkit): disable react/prop-types for eslint config (#29888) 2020-12-17 09:39:07 +01:00
kay delaney
56db402d0f
Chore: Upgrade typescript to 4.1 (#29493)
* Chore: Upgrade typescript to 4.1
2020-12-03 15:05:59 +00: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
Torkel Ödegaard
98d753d36d
Jest: Upgrade to latest (#29450) 2020-11-29 08:32:26 +01:00
Hong
2c898ab1bc
Fix README typo (#29219)
What this PR does / why we need it:

Fix typo in grafana-toolkit README

Which issue(s) this PR fixes:

None.

Special notes for your reviewer:
2020-11-19 10:55:52 +02:00
Dominik Prokop
5ae7280249
Introduce eslint-plugin-react (#29053)
* Eslint: allign with latest grafana-eslint-config

* fix ts

* Bump @grafana-eslint-congig version
2020-11-18 14:19:33 +01:00
Hugo Häggmark
1bdcd2f9ab
Chore: Bumps types for jest (#29098) 2020-11-13 14:48:11 +01:00
Dominik Prokop
5916ef94d0
grafana/toolkit: allow builds with lint warnings (#28810)
* grafana/toolkit: allow builds with lint warnings

* Remove redundant code
2020-11-04 13:51:23 +01:00
Dominik Prokop
4eeac69b29
core and grafana/toolkit: Use latest version of grafana-eslint-conifg (#28816) 2020-11-04 13:50:50 +01:00
Dominik Prokop
a9e201332a
grafana/toolkit: Drop console and debugger statements by default when building plugin with toolkit (#28776) 2020-11-04 09:06:13 +01:00
Dominik Prokop
1f36e377e2
Adds storybook integrity check to drone config (#28785)
* Adds storybook integrity check to dron config

* Update starlark files

* Review comments

* Bump grabpl version

* Drone: Fix dangling dependency

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-03 18:34:45 +01:00
Arve Knudsen
8954130f1a
Plugin Dockerfiles: Upgrade Go, golangci-lint, gcloud SDK (#28767)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-03 14:07:19 +01:00
Dominik Prokop
651ab5677c
grafana/toolkit: Extract CHANGELOG when building plugin (#28773) 2020-11-03 11:13:10 +01:00
Arve Knudsen
0490b32790
Drone: Upgrade build pipeline tool (#28769)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-03 10:34:48 +01:00
Arve Knudsen
cbb6f425c0
Drone: Upgrade build-pipeline tool (#28728)
* Drone: Upgrade build-pipeline tool

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Drone: Raise Drone's memory limit for build-storybook

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-02 10:02:42 +01:00
Zoltán Bedi
b0fbde3a0c
Chore: allow higher nodejs version than 12 (#28624) 2020-10-30 08:45:13 +01:00
Arve Knudsen
1571579c1d
Drone: Upgrade build pipeline tool (#28533)
* Drone: Upgrade grabpl

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-26 10:47:42 +01:00
Arve Knudsen
c3917e6525
Drone: Upgrade build-pipeline tool (#28520)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-26 09:27:54 +01:00
Zoltán Bedi
020dde53e4
Chore: Upgrade grafana-eslint to latest (#28444) 2020-10-21 22:56:33 +02:00
Zoltán Bedi
e1c44d7a8a
Chore: react hooks eslint fixes in grafana-ui (#28026)
* Fix some rule violation in grafan-ui

* Update eslint-plugin-react-hooks to latest

* Remove duplicate dependency

* Fix more files

* Props destruction
2020-10-21 09:06:41 +02:00
Sofia Papagiannaki
77b1e6311f
Docs: Add missing records from grafana-ui 7.2.1 CHANGELOG (#28302) 2020-10-17 21:44:42 +02:00
Brian Gann
5c5fcbf5e2
area/grafana/toolkit: update e2e docker image (#28335)
* add xvfb to image

* comment out toolkit inclusion

* add latest tag

* update packages for cypress

* cleanup script
2020-10-16 22:02:49 -05:00
Will Browne
3706fd3942
Update changelog (#28292)
* update changelog

* Update CHANGELOG.md

Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com>

Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com>
2020-10-15 18:11:48 +02:00
Arve Knudsen
febdad4da2
Chore: Update package.json (#28291)
* Chore: Update what's new and release notes URL in package.json

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Chore: Update version

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-15 14:41:25 +02:00
Steven Vachon
830e8b64c3
@grafana/eslint-config bump (#28230)
* Use latest @grafana/eslint-config

* Version bump
2020-10-13 12:45:22 -04:00
Steven Vachon
0c7fb0cf90
Use latest @grafana/eslint-config (#28225)
* Use latest @grafana/eslint-config

* Updated lockfile
2020-10-13 11:23:39 -04:00
Arve Knudsen
4d9374a051
grafana-toolkit: Remove stale reference to grafana-build-container (#28178)
* grafana-toolkit: Remove stale reference to grafana-build-container

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Update packages/grafana-toolkit/src/cli/tasks/nodeVersionChecker.ts

Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>

Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
2020-10-12 07:31:19 +02:00
Arve Knudsen
a5c03b1772
Chore: Upgrade Node to 12.19.0 (#28168)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-12 07:10:50 +02:00
Brian Gann
a9ef0f84b8
area/grafana/toolkit: ci-package needs to use synchronous writes (#28148)
* ci needs to use synchronous writes or the file ends up with zero length
2020-10-09 12:16:12 -05:00
Steven Vachon
77242b7264
Use latest @grafana/eslint-config (#28124)
* Use latest @grafana/eslint-config

* Updated lockfile
2020-10-08 13:56:30 -04:00
Ryan McKinley
2e42ae5236
Chore: update jest to 25 (#28096) 2020-10-08 09:58:05 -07:00
Steven Vachon
7a65b1e8bb
@grafana/toolkit: fix plugin test errors with react-testing-library (#28092) 2020-10-07 15:29:59 -07:00
Dan Cech
4629c44d49
Toolkit: implement plugin signing in grafana-toolkit (#27907)
* implement plugin signing in grafana-toolkit
2020-10-05 11:27:43 -04:00
Torkel Ödegaard
dfe04ea3e8
Packages: Fixed npm dependency issue (#27996)
* Packages: Fixed npm dependency issue

* Updated yarn.lock

* Fixes

* Updated
2020-10-03 07:13:19 +02:00
John S
4d3067e139
Docs: Refactor inconsistent unordered lists (#27826)
* Docs: Refactor inconsistent unordered lists

* add requested changes

* Update docs/sources/linking/data-link-variables.md

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>

* Update docs/sources/http_api/_index.md

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>

* Update docs/sources/guides/whats-new-in-v6-0.md

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>

* Update docs/sources/auth/auth-proxy.md

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>

* resolve weird line breaks

* revert unintentional change

* Update docs/sources/auth/auth-proxy.md

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>

* Update docs/sources/auth/auth-proxy.md

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>

* Update docs/sources/auth/auth-proxy.md

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2020-10-02 11:02:11 -07:00
Steven Vachon
89ebab6377
Don't use process.chdir (#27915)
... because it's global
2020-10-02 10:43:39 -04:00
Arve Knudsen
c3f277a6fe
Drone: Fix releasing of next NPM packages (#27965)
* CI: Upgrade build pipeline tool

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Drone: Don't bump NPM package version as part of script

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* cleaned up release next packages script.

* made the comment a bit better.

Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2020-10-01 17:37:56 +02:00
Domas
bd9add72de
toolkit: expose maxWorkers option for plugin build & test tasks (#27724) 2020-10-01 10:50:56 +02:00
Arve Knudsen
298ac20dc5
Drone: Upgrade build pipeline tool (#27949)
* Drone: Don't use npx

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Drone: Upgrade build pipeline tool

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-01 10:00:11 +02:00
denominator
1d2b839a1d
Docs: Fix note format for documentation (#27940) 2020-09-30 12:45:07 -07:00
Arve Knudsen
a59a89dfb8
Drone: Fix publishing of next NPM packages (#27925)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-09-30 13:36:09 +02:00
Steven Vachon
d745a66a18
@grafana/toolkit: cleanup (#27906)
* Simplify `useSpinner` to run immediately, instead of returning a function

* Removed unnecessary exports

* Avoid mutating input arguments
2020-09-29 15:05:07 -04:00
Arve Knudsen
26f86ba823
Drone: Fix publishing of master artifacts (#27902)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-09-29 18:15:25 +02:00
Steven Vachon
15a3b97dbb
@grafana/toolkit: run npm "next" publish file system functions serially (#27894)
... to hopefully avoid race conditions with working directory changes
2020-09-29 10:16:16 -04:00
Arve Knudsen
6671e4ec32
Chore: Upgrade build pipeline tool (#27893)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-09-29 16:09:46 +02:00
Arve Knudsen
262a6faad0
Chore: Upgrade build-pipeline tool (#27888)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-09-29 14:24:18 +02:00
Steven Vachon
4fd8ff092e
@grafana-toolkit: promise improvements (#27868)
* Default `useSpinner` to a void argument

* Use promise-based file system functions in package:build
2020-09-28 15:43:01 -04:00
kay delaney
d322417217
Chore: Upgrade typescript and related packages (#27316)
* Chore: Upgrade typescript and related packages
Closes #27115

* Apply suggestions from code review

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>

* fixes some tests

* Fix failing tests

* Apply suggestions from code review

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2020-09-25 15:48:41 +01:00
William Assis
8a22111a8e
Toolkit: Add --coverage flag to plugin build command (#27743)
* Add --coverage option to build script

* Update README
2020-09-25 08:12:00 +02:00
Zoltán Bedi
b98c85d81c
Chore: eslint plugin react hooks fix in jeager (#27580)
* Use eslintignore instead of gitignore

* Fix jaeger errors
2020-09-24 14:41:57 +02:00
Leonard Gram
7b77a1b1fb
changelog 7.2.0 (#27728)
* changelog 7.2.0

* Update CHANGELOG.md

Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>

* Update CHANGELOG.md

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>

* Update packages/grafana-toolkit/CHANGELOG.md

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>

* Update CHANGELOG.md

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>

Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2020-09-23 15:19:17 +02:00
Arve Knudsen
f5c2b771ee
Chore: Upgrade golangci-lint (#27719)
* Chore: Upgrade golangci-lint to latest
* ci-build: Upgrade Node/Yarn

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-09-23 10:55:25 +02:00
kennytm
ed054c205d
grafana-toolkit: avoid path.resolve with globby in moveStaticFiles (#27670) 2020-09-23 10:48:13 +02:00
Jorge Vallecillo
9e3def4214
Fix typos (#27711) 2020-09-22 11:00:59 -07:00
Ryan McKinley
b3b72b8ae6
Toolkit: clean node_modules/@grafana/data/node_modules in prepare (#27554) 2020-09-12 16:45:33 -07:00
Marcus Andersson
d75758071b
Chore: bumped to next version 7.3.0-pre (#27476)
* bumped version to the next minor.

* bumped packages version to the next minor.
2020-09-09 15:43:37 +02:00
Arve Knudsen
c7b8d85ce5
Chore: Upgrade grabpl (#27470)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-09-09 10:20:23 +02:00
Arve Knudsen
029278faeb
CI: Add Google Cloud SDK to plugin CI Docker images (#27444)
* grafana-plugin-ci-alpine: Upgrading Go,golangci-lint, adding gcloud

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* grafana-plugin-ci: Upgrading Go,golangci-lint, adding gcloud

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* grafana-plugin-ci-alpine: Minor cleanup

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Don't specify depth when cloning Mage

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* grafana-plugin-ci-e2e: Upgrading Go, golangci-lint

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* ci-deploy: Upgrading gcloud

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Update packages/grafana-toolkit/docker/grafana-plugin-ci-alpine/README.md

Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>

* grafana-plugin-ci-alpine: Install Python

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
2020-09-08 15:06:32 +02:00
Pratik Raj
cfc618ef44
Use git clone --depth (#26976)
Signed-off-by: Pratik Raj <rajpratik71@gmail.com>
2020-09-08 09:27:10 +02:00
Arve Knudsen
fb1f2746aa
Chore: Upgrade build pipeline tool in scripts (#27433)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-09-07 22:09:24 +02:00
Arve Knudsen
19c8097595
Chore: Upgrade to Go 1.15.1 (#27326)
* Chore: Upgrade to Go 1.15.1
2020-09-02 15:51:19 +02:00
Steven Vachon
7c49d6d944
Fix core E2E CI (#27254) 2020-08-27 18:23:35 -04:00
Arve Knudsen
d823b26b06
Drone/CircleCI: Upgrade build pipeline tool (#26854)
* Drone/CircleCI: Upgrade build pipeline tool

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Upgrade build pipeline tool in Docker scripts

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-08-13 16:04:34 +02:00
Zoltán Bedi
ae30482465
Chore: MEGA - Make Eslint Great Again 💅 (#26094)
* Fix lint error in types.ts

* Bump eslint and its deps to latest

* Add eslintignore and remove not needed eslintrcs

* Change webpack configs eslint config

* Update package.jsons and removed unused eslintrc files

* Chore yarn lint --fix 💅

* Add devenv to eslintignore

* Remove eslint disable comments for rules that are not used

* Remaining eslint fixes 💅

* Bump grafana/eslint-config 💥

* Modify package.json

No need for duplicate checks.

* Modify eslintignore to ignore data and dist folders

* Revert removing .eslintrc to make sure not to use certain packages

* Modify package.json to remove not needed command

* Use gitignore for ignoring paths
2020-08-11 17:52:44 +02:00
Levente Balogh
6b1a80675f
Grafana Toolkit: add an option for signing plugins as admin (#26817)
* feat(grafana-toolkit): add a flag to the plugin:ci-package command

* docs(grafana-toolkit): add a short comment above the flag

* fix(grafana-toolkit): fix option for signing a plugin with the admin endpoint
2020-08-07 15:34:30 +02:00
dependabot[bot]
49c4edb2cb
Chore(deps): Bump lodash from 4.17.15 to 4.17.19 (#26417)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-04 17:37:29 +02:00
Levente Balogh
bdbea6d1f2
fix(Toolkit/Plugin): throw an Error instead of a string (#26618) 2020-07-28 08:41:32 +02:00
Josh Soref
7d08a8497a
Chore: fix spelling of GitHub (#26182)
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2020-07-22 08:12:50 -07:00
Arve Knudsen
d28d495235
Chore: Enable PR testing in Drone (#26189)
* Add Drone configuration

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Add more steps

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Add more steps

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Build front-end before testing it

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Upgrade grafana/build-container

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Add packaging step

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Trigger on push

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Remove some steps

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Enable steps

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Install Dockerize

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Use node image for test-frontend

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Increase number of test workers

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Make plugin installation depend on frontend tests

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Make integration tests depend on frontend tests

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Use grafana/build-container also for front-end tests

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Upgrade dependencies in order to fix front-end tests

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Depend on es-check

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Dont' depend on tests before building front-end

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Add more steps

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Fix packaging

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Simplify

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Try to build images

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Fix e2e tests

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Remove steps

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Install netcat

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Include golangci-lint with grafana/build-container

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Build storybook and docs website

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Fix e2e tests

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Use build image with root user

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Drop CircleCI dependencies

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Fix e2e tests

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Fix e2e under Drone

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Execute e2e server separately

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Use own plugin for building Docker images

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Use Starlark to configure Drone

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Add enterprise steps to pipeline

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Add more enterprise steps to pipeline

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Maintain Yarn cache

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Build enterprise Docker images

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Build Ubuntu Docker images

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Refactor

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Add Postgres integration test

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Add MySQL integration test

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Fix integration tests

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Parameterize integration test DB connections

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Categorize integration tests

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Use grabpl integration-tests

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Remove unintended change

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Drone: Disable Ubuntu Docker images for PR pipeline

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Regenerate yarn.lock

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Upgrade grabpl

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Restore Yarn cache before installing in grafana-enterprise

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Use separate pipelines for OSS and enterprise

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Let OSS builds depend on tests

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Restore Go cache before building back-end

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Reduce number of variants built for PRs

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Fix building of Docker images

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Drone: Simplify logic

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Drone: Use Starlark

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Drone: Fix syntax error

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Convert .drone.star to YAML

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Upgrade AWS Go SDK

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Drone: Fix Go linting

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Undo irrelevant changes

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Revert "Undo irrelevant changes"

This reverts commit 5152f65972.

* Undo irrelevant changes

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* e2e: Support Circle

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Remove unused script

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* TypeScript fixes

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* TypeScript fixes

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Remove unused script

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* More Drone support

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Remove unused script

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Fix build on Circle

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Remove TODO comment

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-07-10 16:09:21 +02:00
Arve Knudsen
ba4a8256a4
Chore: Rename plugin CI image as grafana/grafana-plugin-ci:latest-alpine (#26106)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-07-07 19:16:22 +02:00
Arve Knudsen
c711b792fe
Plugin CI image: Pin Alpine version, don't use apk cache (#26095)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-07-06 20:44:54 +02:00
Marcus Andersson
700ab8f3d8
Chore: bumped version to next minor. (#25971) 2020-07-01 13:26:36 +02:00
Ryan McKinley
1a711e7df0
Panel Inspect: use monaco for json display (#25251) 2020-06-29 10:58:47 -07:00
Dominik Prokop
75706a4a8b
Toolkit: fix grafana-toolkit binary path so toolkit is not run in linked mode (#25860) 2020-06-26 10:45:39 -07:00
Dominik Prokop
a8b660d919
Improve yarn start output (#25773) 2020-06-24 14:37:36 +02:00
Ryan McKinley
d1b230f84a
Chore: upgrade to Typescript 3.9.3 (#25154)
* upgrade to typescript 3.9.3

* Fix errors that surfaced with update

* Null check fixs

* FIx null checks

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2020-06-17 12:26:01 +02:00
Alex Khomenko
03f241a674
Grafana UI: Add FieldSet component (#25348)
* Grafana UI: Add FieldSet

* Grafana UI: Add story

* Grafana UI: Add docs

* Grafana UI: Export FieldSet

* Grafana UI: Fix issues
2020-06-04 16:52:52 +03:00
Josh Soref
ed92b41d47
Chore: spelling - misc (#24438)
* Chore: spelling - misc

* fix master merge
2020-06-04 06:51:30 +02:00
Sofia Papagiannaki
139be3d7ba
grafana/toolkit: Modify close milestone task to remove label from more than 100 pull requests and add dry run option (#25108)
* Fix close milestone to remove label from all the required pull requests

There used to be a limit to 100 pull requests.

* Add dry run option in close-milestone task
2020-05-26 17:26:16 +03:00
Stephanie Closson
b7d5912ca8
Chore: Toolkit fixes to use toolkit for release (#24951)
* Various fixes and requests for toolkit:
1) Added toolkit to the alpine docker image, so we can get latest fixes without having to re-release
2) Removed cp from e2d docker image
3) Change github client to allow to specify an owner so it's not "grafana" only
4) Toolkit refers to grafana-ui and grafana-data "next", rather than canary

* added toolkit to e2e docker image

* Added tools to the e2e image for building/deploying oracle

* added shasum

* removing toolkit from images
2020-05-21 09:41:15 -06:00
Ryan McKinley
9edd8b7c7e
Toolkit: update the artifact download calculation (#24828) 2020-05-20 15:59:25 -07:00
Andrew Rodgers
ce7b142d64
Toolkit: Update tsconfig to clear linter errors (#24824) 2020-05-18 16:00:02 -07:00
Marcus Efraimsson
44fae66bc0
Grafana v7.0 changelog update (#24737)
* Grafana v7.0 changelog update

* enterprise changelog

* docs: white-labeling login title and subtitle

* Add backend plugins breaking change regarding plugin signing

* Update CHANGELOG.md

Co-authored-by: Kyle Brandt <kyle@grafana.com>

* Update docs/sources/installation/upgrading.md

Co-authored-by: Kyle Brandt <kyle@grafana.com>

* Update docs/sources/installation/upgrading.md

Co-authored-by: Leonard Gram <leo@xlson.com>
Co-authored-by: Kyle Brandt <kyle@grafana.com>
2020-05-18 17:52:59 +02:00
Zoltán Bedi
660f2b4e99
Fallback to process.cwd() when PWD is not present (#24677)
Fixes #24582 - Error running yarn dev command
2020-05-14 13:36:25 +02:00
Tobias Skarhed
85ae144a87
Changelog and Readme: Update packages to beta and add Select breaking change (#24670) 2020-05-14 11:58:26 +02:00
Dominik Prokop
c5fc18ac02
grafana/toolkit: Support paging in cherrypick task (#24402)
* Support paging in cherrypick task

* Update packages/grafana-toolkit/src/cli/tasks/cherrypick.ts

Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>

* Update packages/grafana-toolkit/src/cli/tasks/cherrypick.ts

Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>

* Do not cherry pick closed PRs

Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-05-11 10:24:06 +02:00
Ryan McKinley
b34a5b5648
Toolkit: use grabpl for manifest (#24319) 2020-05-05 19:47:58 -07:00
Stephanie Closson
21bd9dacd6
Toolkit: Docker images/Add grabpl tool for deploys (#24309)
* Add grabpl tool for deploys

* Rest of the files
2020-05-05 13:57:08 -06:00
Dominik Prokop
97c0285543
Enable svg bundle with rollup (#24258) 2020-05-05 10:39:49 +02:00
Marcus Efraimsson
64aba38f49
Update changelog for v7.0.0-beta1 (#24007)
Co-Authored-By: Marcus Efraimsson <marcus.efraimsson@gmail.com>
Co-Authored-By: Andrej Ocenas <mr.ocenas@gmail.com>
Co-Authored-By: Hugo Häggmark <hugo.haggmark@grafana.com>
Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com>
2020-04-29 09:52:55 +02:00
Marcus Efraimsson
7c43dca9bb
Fix pagination of issues/PR's in changelog generator (#23997)
Fix pagination of issues/PR's in changelog generator
2020-04-28 16:32:12 +02:00
Arve Knudsen
154dc18809
Chore: Update Grafana version (#23985)
* Update Grafana version
2020-04-28 12:29:28 +02:00
Hugo Häggmark
b09b49fb37
e2e: creates a separate package for selectors (#23858)
* Initial commit

* Chore: fixes after merge

* Chore: removes todos

* Chore: uncomment test

* Chore: adds missing externals to rollup config

* Refactor: selectors is master for everything

* Docs: updates Docs

* Chore: adds e2e-selectors to publish
2020-04-27 09:09:05 +02:00
Dominik Prokop
6dfad3b352
grafana/toolkit: Do not suggest Angular panel anymore, add note about Grafana tutorials (#23902) 2020-04-26 13:16:04 +02:00