Commit Graph

73 Commits

Author SHA1 Message Date
Zoltán Bedi
f22d77100f
Chore: use jest without grunt (#28558)
* Chore: use jest without grunt

* Run no-focus-convey-tests and no-only-tests as well

* Update lib.star test-backend script with no-focus test to run first

* Lets see a failing test

* Revert "Lets see a failing test"

This reverts commit cb6c6ed67d.

* Update no-focus-convey test to a script

* Update scripts/lib.star

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

* Update drone.yml

Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-09 15:14:04 +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
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
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
Arve Knudsen
090c683fea
Drone: Don't build Windows installer for version branches (#28494)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-23 12:14:24 +02:00
Arve Knudsen
07897c7e1e
Drone: Add version branch pipeline (#28490)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-23 10:16:17 +02:00
Arve Knudsen
f158e4f526
ci-e2e: Add Git (#28410)
* ci-e2e: Add Git

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

* Drone: Update e2e image

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-20 19:32:22 +02:00
Arve Knudsen
392c5bdf73
Drone: Use ${DRONE_TAG} in release pipelines, since it should work (#28299)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-16 12:54:41 +02:00
Arve Knudsen
847dc0bec7
Drone: Fix grafana-mixin linting (#28308)
* Drone: Fix Starlark script

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

* grafana-mixin: Move build logic to scripts

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

* Drone: Use mixin scripts

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

* CI build image: Install jsonnetfmt and mixtool

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

* Makefile: Print commands

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-16 09:46:26 +02:00
Carl Bergquist
6002df580f
Add monitoring mixing for Grafana (#28285)
Co-authored-by: Tom Wilkie <tom.wilkie@gmail.com>
2020-10-15 17:05:56 +02:00
Arve Knudsen
d9a156298b
Drone: Fix enterprise release pipeline (#28289)
* Drone: Fixes

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

* Drone: Fixes

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-15 14:06:52 +02:00
Arve Knudsen
7ee8f91e17
Drone: Use DRONE_COMMIT_REF to get release tag (#28283)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-15 12:55:25 +02:00
Arve Knudsen
86adc2241e
Drone: Fix enterprise config (#28270)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-14 20:19:55 +02:00
Marcus Andersson
b5196f531c
Build: added steps to generate packages api documentation. (#27930)
* added steps to generate docs.

* re-generated the drone.yml file.

* removed metrics reporting from pr pipeline.

* fixed spelling issues.

* fixed so package generation should work.

* some small refactorings.

* fixed spelling error.

* adding echo to verify that we execute the correct script.

* removed echo statement.

* changed scripts a bit.

* added ci flag to script.

* adding exit 1

* increased the limit.

* added missing space.

* fixed shellcheck error.

* fixing lint errors.

* renamed build step.

* changed logic.

* increased limit.

* changed to echo instead of echo -e

* fixed shellcheck errors.

* trying to debug script,

* trying to simplify the find statement.

* fixed issue with text formatting on linux.

* imported build step.

* Update scripts/ci-reference-docs-lint.sh

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

* removed cleanup of packages.

* increased limit.

* will build frontend docs on master but not lint it.

* will always run the linting step.

Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-14 14:35:55 +02:00
Arve Knudsen
26ac672854
Drone: Fix test-release pipeline (#28108)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-08 13:28:20 +02:00
Arve Knudsen
c064c16e83
Drone: Fix test-release pipeline (#28102)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-08 09:21:27 +02:00
Arve Knudsen
4751923442
Drone: Fix release pipelines (#28100)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-08 07:39:00 +02:00
Arve Knudsen
c2059e8f0c
Drone: Fix release pipelines (#28098)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-08 06:51:31 +02:00
Arve Knudsen
98b94d3824
Drone: Fix release pipelines (#28084)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-07 16:22:41 +02:00
Arve Knudsen
d2b957b726
Drone: Add release pipelines (#28083)
* Drone: Implement release pipeline

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

* Drone: Implement test-release pipeline

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-07 14:22:15 +02: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
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
Marcus Efraimsson
c028d3047c
CI: Notify failures in separate pipeline (#27936)
* Notify failures in separate pipeline

* Include branch and event in triggers

* Use snake case

* Use snake case

* Fix enterprise/downstream

* Apply suggestions from code review

Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-09-30 22:14:47 +02:00
Arve Knudsen
833903bd00
Drone: Sync with enterprise (#27939)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-09-30 19:28:28 +02:00
Arve Knudsen
b892aa2eb7
Drone: Don't ignore failure to publish next NPM packages (#27927)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-09-30 14:11:40 +02: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
Arve Knudsen
34a355fe54
Drone: Add Slack failure notifier (#27920)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-09-30 11:04:37 +02:00
Arve Knudsen
739395abb6
Drone: Don't build enterprise Windows installer unless downstream (#27919)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-09-30 10:36:33 +02:00
Arve Knudsen
7a12094ddc
Drone: Ignore failure to publish front-end metrics (#27918)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-09-30 09:23:48 +02:00
Arve Knudsen
702fb1edd1
Drone: Upgrade drone-grafana-docker image (#27911)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-09-29 21:34:34 +02: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
Arve Knudsen
a9afb750d9
Drone: Fix master build (#27897)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-09-29 16:34:49 +02: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
3f728501df
Drone: Fix Windows installer upload (#27890)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-09-29 15:45:59 +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
Arve Knudsen
19c1428103
Drone: Ignore release-next-npm-packages failure (#27775)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-09-24 22:21:58 +02:00
Arve Knudsen
02e648c42d
Drone: Separate pipeline for publishing packages (#27774)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-09-24 21:31:09 +02:00
Arve Knudsen
c65aea5569
Drone: Fix master build (#27765)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-09-24 16:22:41 +02:00
Arve Knudsen
755f3d0de7
CI: Migrate to Drone for master builds (#27087)
* CI: Migrate to Drone for master builds
2020-09-24 15:20:48 +02:00
Arve Knudsen
80f0066a27
CI: Upgrade build image (#27720)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-09-23 11:44:33 +02:00
Arve Knudsen
02ab019165
CircleCI: Execute enterprise tests (#27675)
* CircleCI: Execute enterprise tests

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-09-21 14:15:41 +02:00
Joan López de la Franca Beltran
b33dcf8213
Proposal to include a tidy check (#27204)
* Initial tidy-check proposal

* Add tidy check to Drone & CircleCI definitions

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-09-21 10:00:44 +02:00
Arve Knudsen
efe1287be9
Drone: Make parallel step for publishing front-end metrics (#27457)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-09-09 10:21:16 +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
Arve Knudsen
5402157cb7
CI: Upgrade grabpl (#27431)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-09-07 17:48:56 +02:00
Arve Knudsen
58af541321
Drone: Report front-end test metrics (#27395)
* Drone: Report front-end test metrics

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

* ci-frontend-metrics.sh: Fix collection bugs; print JSON

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

* Add Yarn script ci:test-frontend
2020-09-07 13:17:03 +02:00
Arve Knudsen
ddb4b77f04
CI: Upgrade the build Docker image (#27337)
* CI: Upgrade the build Docker image

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

* CI: Upgrade osxcross and Apple SDK

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-09-03 13:20:28 +02:00