Commit Graph

1029 Commits

Author SHA1 Message Date
Horst Gutmann
2d50e66b34 [v8.5.x] CI: Fix windows-init (enterprise) step (#68763) 2023-05-22 10:50:03 +02:00
Horst Gutmann
8135ff40d6 [v8.5.x] CI: Backport grafana-com publishing (#65168)
[v8.5.x] Backport grafana-com publishing

This should complete #56797.
2023-05-12 09:33:12 +03:00
Kevin Minehart
b06e795c27 upgrade grabpl; set GRAFANA_BRANCH on init-enterprise steps 2023-05-08 10:44:49 -05:00
Sofia Papagiannaki
4df843af2c [v8.5.x] Chore: Upgrade Go to 1.19.9 (#67817)
Chore: Upgrade Go to 1.19.9
2023-05-04 13:20:40 +03:00
Dimitris Sotirakis
9879af40c1 [v8.5.x] Drone: Always have image_pull_secrets (#55530) (#67249)
Drone: Always have `image_pull_secrets` (#55530)

Having it doesn't prevent pulling any images, so it's easier if it's everywhere

(cherry picked from commit a44c0040a9)

Co-authored-by: Julien Duchesne <julien.duchesne@grafana.com>
2023-04-26 11:27:26 +03:00
Kevin Minehart
3cb04ea811 CI: set DRONE_TARGET_BRANCH when tagging (#67149)
set DRONE_TARGET_BRANCH when tagging
2023-04-24 12:54:58 -05:00
Emil Tullstedt
5cbf4fa459 [v8.5.x] Chore: Upgrade Go to 1.19.8 (#66864)
Chore: Upgrade Go to 1.19.8
2023-04-19 18:36:03 +03:00
Dimitris Sotirakis
b2d39a1791 CI: Update grabpl for v8.5.x (#64332)
Update grabpl for v8.5.x
2023-03-09 11:54:25 +02:00
Kevin Minehart
58261a814a [v8.5.x] CI: backport the rpm and deb packaging to 8.5.x (#62639)
* backport the rpm and deb packaging to 8.5.x

Co-authored-by: Julien Duchesne <julien.duchesne@grafana.com>
2023-02-02 16:22:57 +00:00
Dimitris Sotirakis
d1c4560d6e [v8.5.x] Merge changes from release-8.5.20 branch (#62103)
Update gpg secret name

# Conflicts:
#	.drone.yml
#	scripts/drone/steps/lib.star
2023-01-25 15:35:29 +02:00
Kevin Minehart
623cd8f41c update gpg secret name (#731) 2023-01-24 11:16:21 -06:00
Kevin Minehart
18426f19d6 [v8.5.x] Packaging: Use base64 key (#61821)
backport

Co-authored-by: Julien Duchesne <julien.duchesne@grafana.com>
2023-01-19 22:49:21 +00:00
Kevin Minehart
40831fa5a1 [v8.5.x] Use new GPG key when publishing (#61790)
update .drone.yml

Co-authored-by: Julien Duchesne <julien.duchesne@grafana.com>
2023-01-19 19:56:56 +00:00
Emil Tullstedt
df7504737a [v8.5.x] Chore: Upgrade Go to 1.19.4 (#60794) (#60824) 2022-12-30 11:50:37 +01:00
Emil Tullstedt
62c41e99b8 Chore: Upgrade Go to 1.19.3 (#58070) 2022-11-07 15:07:24 +01:00
Emil Tullstedt
656e270bd9 Chore: Upgrade Go to 1.19.2 (#56857)
We also need to upgrade the linter together with the Go version, all the changes should relate to either fixing linting problems or upgrading the Go version used to build Grafana.
2022-10-13 14:53:51 +02:00
Dimitris Sotirakis
90c79115a3 Update Golang - bump grabpl and build-container (#50253) (#50257)
(cherry picked from commit 7b750cc0f0)
2022-06-06 15:42:41 +01:00
Grot (@grafanabot)
9f9cc64d04 Release: downgrade to centos 7 in verify repo as 8 doesn't have a valid mirror list (#48422) (#48424)
(cherry picked from commit 9688d7d7aa)

Co-authored-by: Leonard Gram <leo@xlson.com>
2022-05-24 16:07:23 +02:00
Dimitris Sotirakis
50bf499742 Reorder dependencies for npm release steps (#48403) (#48419)
(cherry picked from commit 67752ad88c)
2022-04-28 14:24:31 +02:00
Dimitris Sotirakis
e654d485f1 CI: Split publish-packages pipeline (#48414) (#48417)
* Split publish packages pipeline

* Small refactoring

(cherry picked from commit a7a5476ac2)
2022-04-28 14:09:29 +02:00
Grot (@grafanabot)
0aafd4baee CI: Rename main pipelines (#48245) (#48251)
* Rename main pipelines

* Rename dependencies

(cherry picked from commit 430b9ae5cb)

Co-authored-by: Dimitris Sotirakis <sotirakis.dim@gmail.com>
2022-04-26 12:56:42 +02:00
Josh Hunt
bf272ad57d Backport 44959 ESlint import order to v8.5.x (#48126)
* Add and configure eslint-plugin-import

* Fix the lint:ts npm command

* Autofix + prettier bulk files

* Manually fix files

* @ts-ignore

* Move jquery code in jest-setup to external file to safely reorder imports

* betterer

* Resolve issue caused by circular dependencies within Prometheus

* ignore iconBundle.ts
2022-04-22 16:19:02 +01:00
Grot (@grafanabot)
0e9b91fb13 Add yarn-install when publishing npm packages (#48061) (#48064)
(cherry picked from commit 412be1f1cf)

Co-authored-by: Dimitris Sotirakis <sotirakis.dim@gmail.com>
2022-04-21 16:49:09 +02:00
Grot (@grafanabot)
482ca1b0f7 Chore: Update Go version (#47914) (#47915)
* Remove makefile (it's not used anymore)

* Directly download and install nodejs package

The Packages file for deb.nodesource.com/node_16.x doesn't list older
versions, so only the most recent version of nodejs is available. We
don't want to require every update to the build container to have to
update nodejs if a never version is available, so I manually download
the deb and install it with dpkg.

* Update Go version

* Update lib.star

* Generate new .drone.yml

(cherry picked from commit 24038d9985)

Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
2022-04-20 09:30:59 +02:00
Grot (@grafanabot)
2250c245ef Update grabpl (#47824) (#47825)
(cherry picked from commit 4510519941)

Co-authored-by: Dimitris Sotirakis <sotirakis.dim@gmail.com>
2022-04-15 16:12:44 +02:00
Grot (@grafanabot)
c8aeb049ab CI: Remove unused --github-token flag (#47773) (#47809)
* Remove github token flag

* Minor cleanup

* Update grabpl

(cherry picked from commit 508cc58a63)

Co-authored-by: Dimitris Sotirakis <sotirakis.dim@gmail.com>
2022-04-15 11:53:26 +03:00
Dimitris Sotirakis
ff6a7b0a7f CI: Remove initialize step (#47622) (#47770)
* Remove initialize step from pr.star

* Remove initialize step from main.star

* Remove initialize step from release.star

* Reorder dependencies

* Re-add identify runner step

* Add enterprise steps

* Remove is_downstream variable from starlark logic (#47715)

* Make init steps depend on init-enterprise for enterprise pipelines

* Exclude shellcheck from enterprise pipelines

* Add init steps to enterprise integration tests pipeline

* Add dependency for windows enterprise step

* Update grabpl version

(cherry picked from commit 90892050d0)
2022-04-14 15:36:16 +03:00
Dimitris Sotirakis
691e94ebe4 CI: Remove unused downstream build pipelines (#47646) (#47652)
* Remove unused downstream build pipelines

* Prettify

(cherry picked from commit 3e030d137f)
2022-04-13 09:59:38 +01:00
Grot (@grafanabot)
68c6e7514a Storybook: Add store-storybook command (#47557) (#47614)
* Add store-storybook command

* Update grabpl version

(cherry picked from commit cfaf058b20)

Co-authored-by: Dimitris Sotirakis <sotirakis.dim@gmail.com>
2022-04-12 11:53:48 +02:00
Grot (@grafanabot)
a8ab8a570b Replace with secret (#47488) (#47489)
(cherry picked from commit ce2a9252c2)

Co-authored-by: Dimitris Sotirakis <sotirakis.dim@gmail.com>
2022-04-08 11:32:39 +03:00
Grot (@grafanabot)
4dcf1a8464 Make gsutil command don't fail if dir doesn't exist (#47394) (#47416)
(cherry picked from commit 0845ba1abb)

Co-authored-by: Dimitris Sotirakis <sotirakis.dim@gmail.com>
2022-04-07 09:48:33 +03:00
Jack Westbrook
a1ebcd520c Build: Remove redundant build_npm_packages_step (#47384) 2022-04-06 14:26:59 +02:00
Dimitris Sotirakis
25e04d77be Storybook: Replace gsutil rsync with gsutil cp when copying artifacts (#47335)
* Replace gsutil rsync with cp

* Sync drone

* Remove folder before uploading artifacts
2022-04-06 13:31:36 +03:00
Dimitris Sotirakis
c72881a8b1 Update grabpl version (#47375) 2022-04-06 11:08:05 +02:00
Jack Westbrook
9a6fd8572a Build: Remove redundant NPM publishing code (#46425)
* chore(build): remove npm package:publishPrevious script and release-npm-packages.sh

* ci(drone): bump grabpl to v2.9.31
2022-04-06 10:48:00 +02:00
Dimitris Sotirakis
bd386df617 CI: Run publishing steps only on OSS repo for main/version branches (#47315)
* Convert steps to run on OSS repo only

* Exclude versioned branches from publishing artifacts

* Change trigger -> when

* Add trigger to upload_* steps

* Add conditions to remaining steps

* Exclude release steps

* Bring back exclusion for release builds
2022-04-06 10:46:05 +03:00
Josh Hunt
8f1b208a35 Chore: Report betterer stats in ci-frontend-metrics (#47210)
* Chore: Report betterer stats to graphite

* PR feedback

* use camelCase from lodash instead
2022-04-04 12:43:23 +02:00
Dimitris Sotirakis
305530224a Run slack notify on OSS repo only (#47194) 2022-04-01 14:20:26 +02:00
Dimitris Sotirakis
ee92af8ebe Add dependencies (#47126) 2022-03-31 15:04:05 +03:00
Dimitris Sotirakis
65b0bd3017 CI: Update grabpl version - remove --no-pull-enterprise flag (#47013)
* Update grabpl version

* Sign drone

* Remove --no-pull-enterprise flag

* Sign drone

* Update grabpl
2022-03-31 11:06:59 +03:00
malcolmholmes
562397ff8b Build: only build on OSS for main/version (#46079)
* Only do main/version builds on OSS repo

* Sign drone

Co-authored-by: Dimitris Sotirakis <sotirakis.dim@gmail.com>
2022-03-29 12:57:54 +00:00
Dimitris Sotirakis
0e682397ab Add GH token when referring to remote - add --quite when running git push (#46926) 2022-03-24 15:01:49 +00:00
Dimitris Sotirakis
9bf82c37e3 Fetch tags after cloning (#46921) 2022-03-24 11:54:58 +00:00
Dimitris Sotirakis
758ccfb69e CI: Trigger release build upon drone yaml changes (#46882)
* Add trigger-test-release step

* Change cd command

* Add failure:ignore

* Add depth when cloning

* Fix wrong secret
2022-03-24 10:59:15 +00:00
Ashley Harrison
5f67d78219 Use bookmark icon for Saved Items, add support for solid bookmark icon (#46775)
* Use bookmark icon for Saved Items, add support for solid bookmark icon

* Add some unit tests

* Refactor utils into own file

* Update test title

* Fix import

* consistent function style
2022-03-21 13:01:43 +00:00
Dimitris Sotirakis
85184ee9dc Update grabpl (#46639) 2022-03-16 13:31:20 +00:00
Todd Treece
3f58abe9bd Chore: Update go version used in CI to 1.17.8 (#46591) 2022-03-16 07:25:54 -04:00
Dimitris Sotirakis
a29159f362 Update golang (#46458) 2022-03-11 16:09:17 +01:00
Dimitris Sotirakis
82b436afee CI: Add more checks to standalone docs pipeline (#46449)
* Add build frontend package step

* Reorder dependencies

* Add codespell and prettier checks
2022-03-11 16:48:23 +02:00
Jack Westbrook
73ba04cda6 Build: Bump grabpl to 2.9.24 (#46420) 2022-03-11 11:05:41 +01:00