Julien Duchesne
c46a4a0b26
Linux Packages: Handle publish to beta ( #57528 )
...
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>
2022-11-02 06:21:41 -04:00
Dimitris Sotirakis
f3b8cd1c98
CI: Remove *-test-backend-enterprise2
pipelines ( #58028 )
...
* Remove test-backend-enterprise2 pipelines
* Remove leftover
2022-11-02 04:13:12 -04:00
Dimitris Sotirakis
57ee0e4a4b
CI: Use full dockerhub
repository name ( #57979 )
...
* Add full dockerhub repo name
* Update grabpl version
2022-11-01 15:33:16 +02:00
Dimitris Sotirakis
1eaf7cbfc0
Add GCP_KEY to publish-grafanacom step ( #57910 )
2022-11-01 09:41:15 +02:00
Timur Olzhabayev
66d2fe7d9d
Fixing upload failure ( #57290 )
2022-10-20 14:18:33 +02:00
Dimitris Sotirakis
f0b882ebad
Add token to init-enterprise ( #57246 )
2022-10-19 04:23:12 -04:00
Ashley Harrison
178b05160a
make betterer a required step on PRs again ( #57099 )
2022-10-18 12:22:13 +01:00
Julien Duchesne
44ad4ec9d4
Add RPM package publishing ( #56797 )
...
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>
2022-10-18 13:41:23 +03:00
Dimitris Sotirakis
7a71482371
Update grabpl to 3.0.14 ( #57144 )
2022-10-18 02:44:31 -04:00
Dimitris Sotirakis
e25475b9c8
Make publish packages depend on compile-build-cmd and run from bin/build ( #56713 )
2022-10-17 10:58:36 +03:00
Dimitris Sotirakis
b9d449529a
Update grabpl to v3.0.12 ( #56823 )
2022-10-13 11:35:05 +03:00
Julien Duchesne
72b9555487
Publish Linux Packages: Fix bad secret name ( #56708 )
...
🤦
Co-authored-by: dsotirakis <dimitrios.sotirakis@grafana.com>
2022-10-12 14:07:13 +03:00
Dimitris Sotirakis
62314bbf66
Remove grabpl dependency from yarn-install ( #56692 )
2022-10-11 18:58:03 +03:00
Dimitris Sotirakis
66cb56de79
CI: Trigger tag on CI changes ( #55388 )
...
* Trigger tag on CI changes
* Use github token available for PRs
Remove remote addition
* Replace origin with full url
Remove fetch for origin
Fix fetch
Remove --quite
Add rebase
Stash changes from verify-gen-cue
Cleanup
* Add --quiet when fetching
2022-10-11 12:01:18 +03:00
Dimitris Sotirakis
668cb25b82
Fix release test pipelines dependencies ( #56671 )
2022-10-11 11:42:24 +03:00
Dimitris Sotirakis
811f6054c8
Add dependencies ( #56666 )
2022-10-11 10:05:13 +03:00
Serge Zaitsev
169610fd27
Chore: Reduce test timeouts to 5 minutes ( #56599 )
2022-10-10 09:26:47 +02:00
Emil Tullstedt
c2d3a31772
Chore: Upgrade Go to 1.19.2 ( #56355 )
2022-10-07 12:47:24 +02:00
Dimitris Sotirakis
ec7d9e196e
Change from grabpl to build for grafana-com ( #56434 )
2022-10-06 08:14:38 +01:00
Dimitris Sotirakis
636ae8d091
Update grabpl version to v3.0.11 ( #56377 )
2022-10-05 14:18:28 +03:00
Dimitris Sotirakis
5cdc932f8c
CI: Stop publishing OSS images for security mode ( #56088 )
...
* No-op: Refactor publish images pipeline struct
* Stop publishing images for OSS
2022-10-05 09:39:38 +03:00
Julien Duchesne
169df2fe90
Drone: publish-linux-packages
should be privileged ( #55816 )
...
It's currently failing with a failure to mount s3fs
2022-09-27 15:44:39 +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