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
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
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
Arve Knudsen
a6cc64290c
CI: Upgrade build pipeline tool ( #27120 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-08-21 11:42:57 +02:00
Arve Knudsen
34d9191ca7
Drone: Always pass --no-pull-enterprise ( #27108 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-08-20 19:42:39 +02:00
Arve Knudsen
756b8fcdf0
Drone: Upgrade build pipeline tool ( #27100 )
...
* Drone: Upgrade build pipeline tool
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Run e2e via grabpl
2020-08-20 17:56:20 +02:00
Arve Knudsen
d0621b6054
Drone: Fix order of steps ( #27076 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-08-19 17:20:15 +02:00
Arve Knudsen
3b248fccc8
Drone: Add Windows PR pipeline ( #26589 )
...
* Drone: Add Windows PR pipeline
* CI: Add Dockerfile for WiX image
2020-08-19 11:46:36 +02:00
Arve Knudsen
9f1165b1f6
Drone: Remove intra pipeline caching commands ( #27034 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-08-17 18:01:40 +02: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
Arve Knudsen
1dd5b58e95
CI: Upgrade build image ( #26904 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-08-10 19:13:59 +02:00
Arve Knudsen
3a362b758a
CI: Upgrade golangci-lint and base image ( #26892 )
...
* CI: Upgrade build image to use golangci-lint 1.30.0
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Upgrade Debian base image
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Makefile: Upgrade golangci-lint
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-08-10 18:38:53 +02:00
Arve Knudsen
61041912d5
CI: Upgrade Go and Node versions in CI build image ( #26888 )
...
* Upgrade Go and Node versions in CI build image
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Upgrade Dockerfile to Go 1.14.7 and Node 12.18.3
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Upgrade Dockerfile.ubuntu to Go 1.14.7 and Node 12.18.3
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-08-10 10:45:35 +02:00
Arve Knudsen
349e7b2d70
Drone: Reduce parallelism of certain steps to conserve memory ( #26582 )
...
* Drone: Reduce parallelism of front-end tests to avoid OOM
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Drone: Reduce parallelism of various steps to avoid OOM
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-07-24 14:58:50 +02:00
Arve Knudsen
49b86e88ac
Drone: Identify Drone runner for each pipeline ( #26573 )
...
* Drone: Identify Drone runner for each pipeline
2020-07-24 10:13:21 +02:00
Arve Knudsen
f9239a4d6c
Chore: Upgrade build pipeline tool ( #26510 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-07-22 13:00:18 +02:00
Arve Knudsen
c208c7cabe
Remove repo trigger filter ( #26465 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-07-20 20:51:13 +02:00
Arve Knudsen
c298653623
Drone: Use base64 encoded GCP key ( #26438 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-07-18 17:31:47 +02:00
Arve Knudsen
e4be332b78
Drone: Protect GCP_KEY ( #26436 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-07-18 14:38:23 +02:00
Arve Knudsen
1d21f3aec5
Drone: Fix master builds ( #26414 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-07-17 17:47:07 +02:00
Arve Knudsen
01afa76cce
Drone: Fix master builds ( #26409 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-07-17 17:20:25 +02:00
Arve Knudsen
f003e3b009
Drone: Fix StoryBook build ( #26408 )
...
* Drone: Fix StoryBook build
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Drone: Fix StoryBook publishing
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-07-17 15:30:43 +02:00
Arve Knudsen
8746a77407
Drone: Enable master branch testing ( #26367 )
...
* Drone: Refactor
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Drone: Add master pipeline
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-07-17 13:52:09 +02:00
Arve Knudsen
35f7f7b50a
Drone: Rename publish-storybook to build-storybook ( #26360 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-07-16 09:25:07 +02:00
Arve Knudsen
9360d96f13
Drone: Tighten grafana-enterprise access to token ( #26321 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-07-14 13:31:26 +02:00
Arve Knudsen
c5bdea5cec
Chore: Upgrade build pipeline tool; refactor Drone config ( #26292 )
...
* Upgrade grabpl; refactor Drone config
2020-07-13 16:43:56 +02:00
Arve Knudsen
396ff9f478
Drone: Disable enterprise build for PRs ( #26241 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-07-10 17:24:12 +02: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