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
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
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
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