368edd8ecc
Enterprise changes to the Drone pipelines ( #33773 )
...
* Enterprise changes to the Drone pipelines
This is basically a no-op in this repository, except for the fact that the grafanabot personal access token will now be fetched from Vault instead of repository secrets
This will pave the way for us to fetch all secrets from Vault
* Update star files from enterprise
* Add missingn newline
2021-05-12 15:30:05 +02:00
677b73dda5
Scuemata: Add grafana-cli cue schema validation to CI ( #33798 )
...
* Add scuemata validation in CI
* Fixes according to reviewer's comments
2021-05-10 17:54:35 +03:00
7038f17a08
Drone: Make PRs pass wheb website docs step fail ( #33812 )
2021-05-07 15:40:57 +02:00
adf9a0f6e0
CI: Fix triggering of enterprise ( #33785 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-05-06 16:39:07 +02:00
c2c1ec7d0f
Chore: Move from master to main branch ( #33693 )
...
* Chore: Move from master branch to main
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* CI: Upgrade build pipeline tool to v2
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-05-06 16:29:29 +02:00
75b9018464
CI: Lint backend after testing, to catch build failures early ( #33622 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-05-04 15:05:39 +02:00
ca56e59415
CI: Upgrade build pipeline tool ( #33514 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-04-29 10:11:15 +02:00
d3e510e92f
Chore: Remove Revive standalone linter - use it via golangci-lint ( #33150 )
...
* Remove Revive standalone linter - use it via golangci-lint
* Add revive settings to ignore lint errors for now
* Small fix
* Update to grabpl v0.5.53
* Remove errorCode and warningCode from config
2021-04-20 16:51:08 +02:00
a516ff00db
ReleaseNotes: Updated changelog and release notes for 7.5.4 ( #32973 )
...
* ReleaseNotes: Updated changelog and release notes for 7.5.4
* Update index link
* Fix boldness
* Update CHANGELOG.md
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
* Update CHANGELOG.md
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
* Update codespell words
* Update docs/sources/release-notes/release-notes-7-5-4.md
* Update CHANGELOG.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/release-notes/release-notes-7-5-4.md
* Change bold markers
* Fix escaping
* Update drone yaml
Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com>
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2021-04-14 17:10:19 +02:00
bba4d9bd7f
Introduce "scuemata" system for CUE-based specification of Grafana objects ( #32527 )
2021-04-08 01:11:11 -07:00
82bae892eb
add memcached integration test steps in starlark ( #32729 )
...
* add memcached integration test steps to starlark
* typo
2021-04-07 08:06:10 -05:00
5c1d4777b2
add redis integration test for enterprise ( #32617 )
2021-04-06 08:50:54 -05:00
d59574ec1e
Update scripts and Dockerfiles to use Go 1.16.1 ( #31881 )
...
* Update scripts and Dockerfiles to use Go 1.16.1
* Update build-container image version to 1.4.1
* Update node version to 14.16.0-1nodesource1
* Updated drone configuration
2021-03-11 12:55:04 +02:00
357cd8eb81
CI: Upgrade Dockerfiles wrt. Go, Node, Debian ( #31407 )
...
* CI: Upgrade Dockerfiles wrt. Go 1.16, Node, Debian
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-02-24 08:52:48 +01:00
c86eeae132
Remove tidy-check script ( #31423 )
...
* Remove tidy-check script
* Update grabpl version to 0.5.43
2021-02-23 17:53:30 +02:00
19ab83d6ed
Update grabpl from 0.5.38 to 0.5.42 version ( #31419 )
...
* Update grabpl from 0.5.41 to 0.5.42 version
2021-02-23 16:28:39 +02:00
d1cee1ad02
Add --tries 3
arg when triggering e2e-tests upon releasing ( #31285 )
...
* Add ``--tries 3` arg when triggering e2e-tests
* Make e2e-tests retry 3 times only for release pipelines
2021-02-18 10:16:49 +02:00
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
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
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
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
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
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
d963c6d868
Drone: Fix deployment image ( #31027 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-02-09 13:18:01 +01:00
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
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
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
bb1f84dbc7
Chore: Upgrade grabpl version ( #30486 )
2021-01-21 19:24:12 +02:00
bd71eb23df
Chore: Upgrade build pipeline tool ( #30456 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-01-20 20:30:45 +01:00
c040d36a70
Drone: Upgrade build pipeline tool ( #30247 )
2021-01-13 11:44:34 +01:00
4972d7f020
Drone: Upgrade build pipeline tool ( #30104 )
2021-01-07 12:58:40 +01:00
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
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
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
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
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
5773929953
Drone: Upgrade build pipeline tool ( #29365 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-25 10:54:27 +01:00
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
65ca47549d
Drone: Check CUE dashboard schemas ( #29334 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-25 08:11:08 +01:00
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
e293dd40b0
Drone: Upgrade build pipeline tool ( #29308 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-23 16:16:55 +01:00
d6a645aae2
Drone: Fix publish-packages invocation ( #29179 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-18 09:00:02 +01:00
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
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
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
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
46d568129e
Chore: Bump build pipeline version ( #29023 )
2020-11-11 13:12:45 +01:00
9582e0afd9
Drone: Fix docs building ( #28986 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-10 15:44:21 +01:00
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 cb6c6ed67dd5403a16d4418aea3260ea8a286107.
* 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
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