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
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
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
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
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
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
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
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
Timur Olzhabayev
b5b41988cf
Docs: Deprecating packages_api and removing it from our pipelines ( #54473 )
2022-09-01 18:15:44 +02:00
Dimitris Sotirakis
7e2238cf6f
CI: Generate Grafana version (and metadata) when the build binary is built ( #54393 )
...
* Add GenerateVersions as BeforeFunc
* Delete gen-version
* Fix lint
* Get build id from env var
2022-09-01 15:43:40 +03:00
Julien Duchesne
67f1778bf1
Add package publishing step ( #53553 )
...
Issue: https://github.com/grafana/deployment_tools/issues/36289
Based on the new image: https://github.com/grafana/deployment_tools/tree/master/docker/package-publish
This is a new step meant to replace the store-packages command. It will greatly improve publishing performace and it publishes to a common repository shared with all Grafana products
Co-authored-by: dsotirakis <dimitrios.sotirakis@grafana.com >
2022-09-01 07:13:44 -04:00
Dimitris Sotirakis
87f2b13efa
CI: Update grabpl verison to v3.0.5 ( #54269 )
...
* Update grabpl
* Update to grabpl v3.0.5
2022-08-31 06:27:53 -04:00
Dimitris Sotirakis
ceb32a7506
Add GCP_KEY secret to the artifacts-page pipeline ( #54013 )
2022-08-22 08:44:43 -05:00
malcolmholmes
a19d82124b
Build: upgrade Alpine images ( #53743 )
2022-08-15 18:17:55 +02:00
Dimitris Sotirakis
332bc3aa63
CI: Split store-packages step ( #53516 )
...
* Remove unused def
* Add grafanacom step
2022-08-11 05:31:35 -04:00
Dimitris Sotirakis
fa4abdcce1
Grafana Build: Sync Grafana versioning changes from build-pipeline ( #53522 )
...
* Sync version changes
(cherry picked from commit fb449ba0376cd7d86928e8b08ef77a851488604b)
Sync version refactoring changes
* Update grabpl
2022-08-11 11:44:59 +03:00
Kevin Minehart
d117689aea
CI: move grabpl build-frontend from grabpl to grafana ( #53073 )
...
* move grabpl build-frontend
2022-08-10 10:29:51 -04:00
Dimitris Sotirakis
d638cd4fd7
Trigger test release on pkg/cmd/** changes ( #53448 )
2022-08-09 08:21:09 -05:00
Kevin Minehart
59ce564d49
CI: move grabpl build-docker from grabpl to grafana ( #53077 )
...
* add grabpl build-docker
2022-08-09 09:43:28 +03:00
Dimitris Sotirakis
499cac44e3
Remove packages-bucket arg ( #53421 )
2022-08-08 13:05:26 -04:00
Dimitris Sotirakis
732c22ed02
CI: Update grabpl to v3.0.1 ( #53369 )
...
* Update grabpl to v3.0.0
* Update to v3.0.1
2022-08-08 12:08:55 -04:00
Kevin Minehart
d1d237f30a
CI: move grabpl shellcheck from grabpl to grafana ( #53076 )
...
* add grabpl shellcheck
* grabpl shellcheck -> ./bin/build shellcheck
2022-08-08 10:36:13 -05:00
Kevin Minehart
138f03aad1
CI: move grabpl build-plugins from grabpl to grafana ( #53071 )
...
* add grabpl command to build internal plugins
* grabpl build-plugins -> ./bin/build build-plugins
2022-08-04 11:39:36 -05:00