Horst Gutmann
f7445777c7
CI: Temporarily disable arm build-tooling ( #77064 )
2023-10-24 18:14:08 +03:00
Dimitris Sotirakis
c08606d2c5
Bug: Exclude 32-bit arm builds ( #75448 )
...
* Exclude 32 bit arm builds
# Conflicts:
# pkg/build/config/versions.go
* Bump grabpl - remove arm/v7 from build.star
# Conflicts:
# .drone.yml
2023-09-29 12:33:01 -05:00
Kevin Minehart
edc36d3948
CI: check /tmp/grafana-enterprise; don't fail if rev-parse fails ( #75480 )
...
check /tmp/grafana-enterprise; don't fail if rev-parse fails
2023-09-26 20:09:18 +03:00
Dimitris Sotirakis
1867fc5cee
Arm: Exclude armv6/v7 from downstream builds only ( #75465 )
...
* Bump grabpl
* Disable armv6 and armv7 in downstream builds
2023-09-26 18:42:06 +03:00
Ezequiel Victorero
4cfc834c08
HealthCheck: show enterprise commit ( #75242 )
2023-09-22 08:17:10 -03:00
Ryan McKinley
025b2f3011
Chore: use any rather than interface{} ( #74066 )
2023-08-30 18:46:47 +03:00
Dimitris Sotirakis
0aba319ea0
Grafana versioning: Remove pre suffix from Grafana version ( #73357 )
...
* Remove pre suffix from version
* Fix tests
2023-08-17 11:08:15 +03:00
Dimitris Sotirakis
5a36fa5f8a
Bug: Fix build-frontend* config checks ( #70076 )
...
* Fix frontend config checks
* Exclude test tag events
2023-06-14 17:34:30 +03:00
Dimitris Sotirakis
bbd83cbaeb
Docker: Add ARM64 architecture for Docker, for PRs ( #68295 )
...
* Add ARM64 architecture for Docker
* Add arm64 variants
2023-06-07 17:17:15 +03:00
Eng Zer Jun
cf1945d0c3
Tests: use t.Setenv to set env vars ( #69516 )
...
This commit replaces `os.Setenv` with `t.Setenv` in tests. The
environment variable is automatically restored to its original value
when the test and all its subtests complete.
Reference: https://pkg.go.dev/testing#T.Setenv
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com >
2023-06-05 11:31:03 +02:00
Dimitris Sotirakis
7e816d010c
G10: Replace beta with preview references ( #68347 )
...
* Update references
* Update grabpl to v3.0.38
2023-05-24 09:46:07 +02:00
Dimitris Sotirakis
8dd87a79f7
Grafana Cloud: Add VariantLinuxAmd64 in build variants ( #66167 )
...
Add VariantLinuxAmd64 in build variants
2023-04-10 10:05:01 +03:00
Guilherme Caulada
8f282b8a6e
Build: Add CloudMode to build versions ( #65651 )
...
* Add CloudMode to build versions
* Use linux-amd64 variant without musl for cloud mode
* Add cloud mode to version folder on package upload
* Use musl variant for CloudMode
* Only sign rpm packages if there's any to sign
* Remove trailing whitespace
2023-04-03 11:15:39 -03:00
Horst Gutmann
4ab3bd6f7e
CI: Allow overwriting of existing GitHub release assets ( #65127 )
...
* CI: Allow overwriting of existing GitHub release assets
This closes #63698
* Use c for *cli.Context in publishgithub.go
2023-03-28 09:19:46 -05:00
Dimitris Sotirakis
29b3f3fbf4
CI: Add PrereleaseBucket field in versions.go ( #64519 )
...
Add PrereleaseBucket in versions.go
2023-03-09 16:00:38 +02:00
Serge Zaitsev
427db55204
Chore: Fix goimports order in RelEng packages ( #62481 )
...
fix goimports order
2023-01-30 15:53:38 +01:00
Dimitris Sotirakis
02fbb1cd8f
Chore: Remove unused config fields ( #60393 )
...
Remove unused config fields
2022-12-19 13:08:43 +02:00
Dimitris Sotirakis
f73cdc5e80
Metadata: Move and rename genversions.go and genversions_test.go ( #60315 )
...
* Move and rename genversions.go and tests
* Fix lint - bring back cli.Exit
* Move package.json and fix tests
* Add necessary env vars for promote event
2022-12-15 03:51:11 -05:00
Dimitris Sotirakis
be0e4ab179
Enterprise checks: Update pull request check regexp for enterprise ( #60234 )
...
Update pull request check regexp for enterprise
2022-12-13 08:01:20 -06:00
Dimitris Sotirakis
78ef55eb06
CI: Add enterprise2 mode in versions.go ( #59851 )
...
Add enterprise2 mode
2022-12-05 15:03:47 -06:00
Dan Cech
de99ce139c
Server: Switch from separate server & cli to a unified grafana binary ( #58286 )
...
* avoid the need for a second bulky binary for grafana-cli
* look for grafana-server in $PATH as well as same directory
* implement unified "grafana" command
* update dockerfiles, fix grafana-cli -v
* update packaging to work with single binary
- add wrapper scripts for grafana and grafana-server
- update and sync package files
- implement --sign flag of build package command
- stop packaging scripts folder, they are not useful for end users
- add support for --configOverrides in server command
- remove unused nfpm.yaml config file
* windows support
2022-11-22 11:53:43 -05:00
Dimitris Sotirakis
d32c67b52a
CI: Add packages-bucket flag to publish packages command ( #56170 )
...
* Add public bucket string
* Fix lint
2022-10-03 13:29:32 +01:00
Dimitris Sotirakis
947838cca0
CI: Move grafanacom command to OSS ( #55853 )
...
* Move publish-packages command over from
* Fix lint
* Move grafanacom command to OSS
* Add GetLatestMainBuild to gsutil
* Fix lint
* More lint fixes
* Add tests for grafanacom
* Fix lint
2022-10-03 14:14:24 +03:00
Dimitris Sotirakis
2a3f423e10
Replace armhf with armhfp for RPMs ( #55814 )
2022-09-27 08:49:00 -05: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
Dimitris Sotirakis
cb93ed04a7
Add storybook bucket for main builds ( #55448 )
2022-09-20 13:15:06 +03:00
Dimitris Sotirakis
f058e1eae3
Add storybook bucket for main builds ( #55379 )
2022-09-19 17:17:25 +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
95512c19e0
CI: Refactor versions.go ( #55238 )
...
* Refactor versions.go
* s/ReleaseModeConfig/BuildConfig
2022-09-16 06:26:33 -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
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
Dimitris Sotirakis
8be3ea269d
Default to pull_request events ( #54640 )
2022-09-02 17:39:05 +03: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
Dimitris Sotirakis
239c4cdb25
Add CustomMode in versions.go ( #54482 )
2022-08-31 09:21:33 +03:00
Dimitris Sotirakis
933bbe228b
Add PackagesBucketEnterprise2 field in config ( #54449 )
2022-08-30 10:47:12 -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
Jo
062d255124
Handle ioutil deprecations ( #53526 )
...
* replace ioutil.ReadFile -> os.ReadFile
* replace ioutil.ReadAll -> io.ReadAll
* replace ioutil.TempFile -> os.CreateTemp
* replace ioutil.NopCloser -> io.NopCloser
* replace ioutil.WriteFile -> os.WriteFile
* replace ioutil.TempDir -> os.MkdirTemp
* replace ioutil.Discard -> io.Discard
2022-08-10 15:37:51 +02:00
Dimitris Sotirakis
bf30976200
Change from arm to armv7 ( #53437 )
2022-08-09 04:20:45 -04: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
Kevin Minehart
d567f199dd
CI: add the grabpl build-backend command into the repo ( #52673 )
...
* Move the grabpl build-backend command and clean it up a bit
2022-07-28 10:11:22 -04:00