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
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
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
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
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
Torkel Ödegaard
00d59ec1fc
NodeJS: Update to LTS (14) ( #29467 )
...
* NodeJS: Update to LTS (14)
* Bump Volta's Node version
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Bump version of build image
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Drone: Upgrade build image
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-12-02 18:18:49 +01:00
Arve Knudsen
5773929953
Drone: Upgrade build pipeline tool ( #29365 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-11-25 10:54:27 +01:00
Arve Knudsen
5cec4095b2
Drone: Upload artifacts for release branch builds ( #29297 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-11-25 09:26:16 +01:00
Arve Knudsen
f7567f2266
Drone: Execute artifact publishing for both editions in parallel during release ( #29362 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-11-25 08:49:24 +01:00
Arve Knudsen
65ca47549d
Drone: Check CUE dashboard schemas ( #29334 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-11-25 08:11:08 +01:00
Arve Knudsen
7d8cb6869a
Drone: Publish NPM packages after Storybook to avoid race condition ( #29340 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-11-24 15:13:23 +01:00
Arve Knudsen
e293dd40b0
Drone: Upgrade build pipeline tool ( #29308 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-11-23 16:16:55 +01:00
Arve Knudsen
d6a645aae2
Drone: Fix publish-packages invocation ( #29179 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-11-18 09:00:02 +01:00
Arve Knudsen
bcb307fb1b
Chore: Upgrade grafana/build-ci-deploy image to latest Go ( #29171 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-11-18 08:40:41 +01:00
Arve Knudsen
a6e72d5b61
Drone: Upgrade build pipeline tool and build image ( #29161 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-11-17 15:58:58 +01:00
Arve Knudsen
01df8f177c
Drone: Fix Drone config verification for enterprise on Windows ( #29118 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-11-14 11:44:56 +01:00
Arve Knudsen
113e288668
Drone: Verify Drone config at beginning of pipelines ( #29071 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-11-13 19:28:46 +01:00
Emil Tullstedt
46d568129e
Chore: Bump build pipeline version ( #29023 )
2020-11-11 13:12:45 +01:00
Arve Knudsen
9582e0afd9
Drone: Fix docs building ( #28986 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-11-10 15:44:21 +01:00
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
50f8bcc31e
Drone: Don't build on Windows for PRs ( #28663 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-10-30 12:15:17 +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
31c9c81f5b
Drone: Refactor version branch pipeline logic ( #28531 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-10-26 09:47:51 +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
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