Kevin Minehart
8ba6072e54
[v9.2.x] update gpg secret names ( #62250 )
...
update gpg secret names
2023-01-26 17:42:22 +00:00
Kevin Minehart
0e043fe6cc
[v9.2.x] Packaging: Use base64 key ( #61822 )
...
backport
Co-authored-by: Julien Duchesne <julien.duchesne@grafana.com >
2023-01-19 22:48:35 +00:00
Kevin Minehart
0a415bfbbd
[9.2.x] Use new GPG key when publishing ( #61791 )
...
update .drone.yml
Co-authored-by: Julien Duchesne <julien.duchesne@grafana.com >
2023-01-19 16:01:40 +00:00
Emil Tullstedt
70ceefa464
[v9.2.x] Chore: Upgrade Go to 1.19.4 ( #60794 ) ( #60826 )
2022-12-30 11:51:14 +01:00
Dimitris Sotirakis
042e4d216b
[v9.2.x] CI: Remove base and arch args ( #58209 ) ( #58713 )
...
Remove base and arch args (#58209 )
(cherry picked from commit 9c1c10ab9a )
# Conflicts:
# .drone.yml
# Conflicts:
# .drone.yml
2022-11-16 08:13:14 +00:00
malcolmholmes
1cf016c9b2
CI: Make build and store storybook trigger in the release process ( #58686 ) ( #58704 )
...
Make storybook trigger conditional
(cherry picked from commit 09c3ead945 )
Co-authored-by: Dimitris Sotirakis <dimitrios.sotirakis@grafana.com >
2022-11-14 16:15:23 +02:00
Dimitris Sotirakis
7382b1be90
[v9.2.x] CI: Use full dockerhub repository name ( #57979 ) ( #57983 )
...
* CI: Use full `dockerhub` repository name (#57979 )
* Add full dockerhub repo name
* Update grabpl version
(cherry picked from commit 57ee0e4a4b )
* sign drone.yml
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com >
2022-11-07 18:23:44 +01:00
Emil Tullstedt
b03e28fc60
Chore: Upgrade Go to 1.19.3 (v9.2) ( #58339 )
2022-11-07 16:52:15 +01:00
Dimitris Sotirakis
551c4aa562
Linux Packages: Handle publish to beta ( #57528 ) ( #58044 )
...
Uses the feature added here: https://github.com/grafana/deployment_tools/pull/46301
When a version is named "beta", it will be distributed in the beta distribution, rather than in stable
Co-authored-by: dsotirakis <dimitrios.sotirakis@grafana.com >
(cherry picked from commit c46a4a0b26 )
Co-authored-by: Julien Duchesne <julien.duchesne@grafana.com >
2022-11-02 14:17:44 +02:00
Dimitris Sotirakis
3274e8727e
Add GCP_KEY to publish-grafanacom step ( #57910 ) ( #57948 )
...
(cherry picked from commit 1eaf7cbfc0 )
2022-11-01 09:07:44 +00:00
Dimitris Sotirakis
7593d5880f
Add token to init-enterprise ( #57246 ) ( #57248 )
...
(cherry picked from commit f0b882ebad )
2022-10-19 04:37:36 -04:00
Dimitris Sotirakis
9617d2a14f
Publish Linux Packages: Fix bad secret name ( #56708 ) ( #57174 )
...
🤦
Co-authored-by: dsotirakis <dimitrios.sotirakis@grafana.com >
(cherry picked from commit 72b9555487 )
Co-authored-by: Julien Duchesne <julien.duchesne@grafana.com >
2022-10-18 08:28:48 -04:00
Dimitris Sotirakis
04678bc1aa
Add RPM package publishing ( #56797 ) ( #57162 )
...
Just tested deb publishing, and confirmed it works. Noticed that RPM packages aren't published though
It's the exact same step, targetting the RPM files instead
Both steps will run in parallel
Co-authored-by: dsotirakis <dimitrios.sotirakis@grafana.com >
(cherry picked from commit 44ad4ec9d4 )
Co-authored-by: Julien Duchesne <julien.duchesne@grafana.com >
2022-10-18 14:19:22 +03:00
Dimitris Sotirakis
7b12482512
Update grabpl to 3.0.14 ( #57144 ) ( #57145 )
...
(cherry picked from commit 7a71482371 )
2022-10-18 10:06:33 +03:00
Dimitris Sotirakis
11bfb4a387
Make publish packages depend on compile-build-cmd and run from bin/build ( #56713 ) ( #57059 )
...
(cherry picked from commit e25475b9c8 )
2022-10-17 17:13:10 +03:00
Dimitris Sotirakis
a3f69498f6
Update grabpl to v3.0.12 ( #56823 ) ( #56866 )
...
(cherry picked from commit b9d449529a )
2022-10-17 12:27:29 +01:00
Dimitris Sotirakis
0cf8f9fab6
[v9.2.x] CI: Split release test pipelines ( #56670 )
...
* CI: Split release test pipelines (#56655 )
* Split test release pipelines
* Add missing dependencies
* Add release branch case when naming pipeline
(cherry picked from commit 75c5845749 )
* Add clone-enterprise and init-enterprise steps (#56662 )
(cherry picked from commit eb077db2b0 )
* Add dependencies (#56666 )
(cherry picked from commit 811f6054c8 )
* Fix release test pipelines dependencies (#56671 )
(cherry picked from commit 668cb25b82 )
* Remove build-frontend-packages step from docs pipelines (#56686 )
(cherry picked from commit efc8f985cb )
* Remove grabpl dependency from yarn-install (#56692 )
* Sign drone
2022-10-12 09:44:12 +03:00
Grot (@grafanabot)
412f05e16f
Drone: publish-linux-packages should be privileged ( #55816 ) ( #55818 )
...
It's currently failing with a failure to mount s3fs
(cherry picked from commit 169df2fe90 )
Co-authored-by: dsotirakis <dimitrios.sotirakis@grafana.com >
2022-10-11 12:23:01 +03:00
Emil Tullstedt
90c8e52a17
Chore: Upgrade Go to 1.19.2 ( #56355 ) ( #56553 )
...
(cherry picked from commit c2d3a31772 )
2022-10-07 09:05:02 -04:00
Dimitris Sotirakis
c00946994a
CI: Stop publishing OSS images for security mode ( #56088 ) ( #56374 )
...
* No-op: Refactor publish images pipeline struct
* Stop publishing images for OSS
(cherry picked from commit 5cdc932f8c )
2022-10-06 10:52:08 +01:00
Dimitris Sotirakis
2c781d472a
Change from grabpl to build for grafana-com ( #56434 ) ( #56443 )
...
(cherry picked from commit ec7d9e196e )
2022-10-06 11:16:35 +03:00
Dimitris Sotirakis
04c5b2b9cc
Add edition as environment var ( #56069 ) ( #56238 )
...
(cherry picked from commit 8eea6f7f4f )
2022-10-04 03:58:16 -04:00
Kevin Minehart
2fadeeff4c
CI: move grabpl package command to pkg/build ( #55651 )
...
* add grabpl package
* update .drone.yml
* resolve lint errors
2022-09-23 11:49:07 -05:00
Jack Westbrook
ba10548547
CI: Update grabpl to 3.0.10 ( #55678 )
2022-09-23 15:15:04 +02:00
Dimitris Sotirakis
61c50ca1aa
Update grabpl version to v3.0.9 ( #55621 )
2022-09-23 09:19:55 +03:00
Dimitris Sotirakis
a9a86cbe54
Introduce lint-frontend pipeline ( #55559 )
2022-09-21 14:39:28 -05:00
Dimitris Sotirakis
c18432971b
CI: Introduce lint-backend pipeline ( #55476 )
...
* Introduce lint-backend pipeline
* Use go image and install make
* Don't run lint pipeline on .drone.yml changes
2022-09-21 07:05:19 -04:00
Julien Duchesne
a44c0040a9
Drone: Always have image_pull_secrets ( #55530 )
...
Having it doesn't prevent pulling any images, so it's easier if it's everywhere
2022-09-21 06:27:43 +00:00
Dimitris Sotirakis
2c872b0d94
Run enterprise downstream after OSS CI is done ( #55366 )
2022-09-19 17:17:36 +03:00
Dimitris Sotirakis
93e78e2146
CI: Move fetch-images sub-command from build-pipeline repo ( #55298 )
...
* Move fetch images from build-pipeline
* Modify drone
* Replace zerolog with builtin log
* Fix lint
2022-09-19 11:19:31 +03:00
Dimitris Sotirakis
4e73766067
CI: Move store-storybook to OSS ( #55212 )
...
* Move store-storybook to OSS
* grabpl -> build for store-storybook command
* Replace zerolog with builtin log
* Remove flags from store-storybook
* Fix lint
2022-09-15 11:06:43 +03:00
Dimitris Sotirakis
244ccead9d
Make lint-drone depend on compile-build-cmd ( #55174 )
2022-09-14 10:45:00 -04:00
Dimitris Sotirakis
5c40b053d0
Update grabpl ( #55061 )
2022-09-14 10:20:58 -04:00
Kevin Minehart
c69a37f8c2
CI: grabpl verify-drone -> ./bin/build verify-drone ( #55171 )
...
* move grabpl verify-drone
2022-09-14 09:07:09 -05:00
Dimitris Sotirakis
5a1ba20856
CI: Split oss and enterprise steps for release pipelines ( #55157 )
...
* s/include_enterprise2/include_enterprise
* Get rid of get_steps def - include steps in separate defs
2022-09-14 09:47:02 -04:00
Dimitris Sotirakis
8b38f9408d
Run codespell only on docs changes ( #55064 )
2022-09-14 16:32:08 +03:00
Dimitris Sotirakis
716bdde3f6
CI: Make shellcheck a standalone pipeline ( #55082 )
...
* Make shellcheck standalone pipeline
* Run shellcheck on every .sh change
* Change base image
* Trigger on script changes
* Run shellcheck on PRs only
2022-09-14 09:00:06 +03:00
Dimitris Sotirakis
9b42cf009a
CI: Update build-container image to v1.6.2 ( #55083 )
...
* Update build container to v1.6.2
* Update Dockerfile
2022-09-13 15:43:02 +03:00
Kevin Minehart
d3af3e0431
CI: Move grabpl publish-metrics ( #55042 )
...
* move grabpl publish-metrics
* grabpl -> ./bin/build
* fix lint error
2022-09-12 13:28:08 -05:00
Alexa V
18310785a1
Chore: Fix ShellCheck issue in the local a11y report ( #55036 )
2022-09-12 16:54:06 +02:00
Alexa V
493a2c8e15
A11y: Add Dashboard Settings to Pa11y CI and Refactor local a11y report ( #54476 )
2022-09-12 15:14:45 +02:00
Emil Tullstedt
b287047052
Chore: Upgrade Go to 1.19.1 ( #54902 )
...
* WIP
* Set public_suffix to a pre Ruby 2.6 version
* we don't need to install python
* Stretch->Buster
* Bump versions in lib.star
* Manually update linter
Sort of messy, but the .mod-file need to contain all dependencies that
use 1.16+ features, otherwise they're assumed to be compiled with
-lang=go1.16 and cannot access generics et al.
Bingo doesn't seem to understand that, but it's possible to manually
update things to get Bingo happy.
* undo reformatting
* Various lint improvements
* More from the linter
* goimports -w ./pkg/
* Disable gocritic
* Add/modify linter exceptions
* lint + flatten nested list
Go 1.19 doesn't support nested lists, and there wasn't an obvious workaround.
https://go.dev/doc/comment#lists
2022-09-12 12:03:49 +02:00
Dimitris Sotirakis
8c081d4523
Remove gen-version from windows pipelines ( #54941 )
2022-09-09 03:22:38 -04:00
Dimitris Sotirakis
e277ab0017
CI: Call for Grafana version on demand - remove need for version.json ( #54638 )
...
* Remove need for version.json
* Fix lint
* log.Info -> fmt.Print
* Add back tests
* Remove non-used file
* Fix lint
* Update grabpl version to v3.0.6
2022-09-09 02:35:10 -04:00
Shirley
bdd0af0645
Build: Refactor cron_job_pipeline to take the cron name as a parameter ( #54899 )
2022-09-08 13:36:36 +02:00
Joe Blubaugh
a101d127cb
CI: Update Drone MySQL version to 5.7.39 to match database policy. ( #54612 )
...
The supported database policy is listed at: https://grafana.com/docs/grafana/latest/setup-grafana/installation/#supported-databases
2022-09-08 15:03:02 +08:00
Dimitris Sotirakis
8e577ce9fa
CI: Trigger *-storybook steps on UI changes ( #54833 )
...
* No-op, small starlark refactoring
* Make build and store storybook steps execute on ui changes
2022-09-07 15:08:13 +03:00
Kevin Minehart
1169f14d47
CI: move grabpl build-frontend-packages from grabpl to grafana ( #53072 )
...
* move grabpl build-frontend-packages
* add frontend and lerna packages
* grabpl build-frontend-packages -> ./bin/build build-frontend-packages
* move getgrafanaversion
* add noinstalldeps flag
* fix compiler error
* fix lint error
* add missing flags
2022-09-06 20:09:08 +03:00
Kevin Minehart
a76ce1f567
CI: move grabpl e2e tests from grabpl to grafana ( #53075 )
...
* move grabpl e2e tests
2022-09-02 11:02:10 -04:00
Dimitris Sotirakis
4735de6aa4
Run gen-version in windows pipelines ( #54624 )
2022-09-02 06:27:20 -04:00