Dave Henderson
dbc7496a00
[v11.1.x] Chore: Bump Go to 1.22.7 ( #93355 )
...
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
(cherry picked from commit c9741a5e0c )
2024-09-18 17:10:20 +03:00
grafana-delivery-bot[bot]
9fe605265d
[v11.1.x] CI: Run prettier in bump-version workflow ( #92530 )
...
CI: Run prettier in bump-version workflow (#92195 )
Run prettier
(cherry picked from commit 931d64b8fc )
Co-authored-by: Andreas Christou <andreas.christou@grafana.com >
2024-08-27 22:40:45 +03:00
grafana-delivery-bot[bot]
93d25da8c1
[v11.1.x] CI: fix release pr target ( #91002 )
...
CI: fix release pr target (#90999 )
* use inputs.target as checkout ref, and `main` for all reused actions.
(cherry picked from commit 2fe506d502 )
Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com >
2024-07-26 00:33:52 +03:00
Kevin Minehart
80b3b5d292
[11.1.x] backport CI / release changes ( #89641 )
...
* CI: Make pkg/build its own module, remove unused Grafana modules in go.mo… (#89243 )
* Make pkg/build its own module, remove unused Grafana modules in go.mod/go.sum
* fix go.work format
* log errors on file close errors
* CI: Add release-pr workflow (#89005 )
* Add release-pr workflow
* update CODEOWNERS
* CI: Trigger release pr workflow when a release is completed (#89062 )
* CI: Add bump-version action to the release PR workflow (#89491 )
* Automation: Verify release artifacts on grafana.com (#89197 )
* baldm0mma/verify_release/ create verify_release_for_download function
* baldm0mma/verify_release/ add name, image, env
* baldm0mma/verify_release/ add initial commands
* baldm0mma/verify_release/ add deps?
* baldm0mma/verify_release/ update location
* baldm0mma/verify_release/ add anno to lib-star
* bald0mma/verify_release/ update func name to verify_grafanacom_step
* baldm0mma/verify_release/ add verify shell script
* baldm0mma/verify_release/ add script content, first attempt
* baldm0mma/verify_release/ add node image to verify_grafanacom_step
* baldm0mma/verify_release/ add gcom secret note
* baldm0mma/verify_release/ add sudo to apt-get
* baldm0mma/verify_release/ add anno
* baldm0mma/verify_release/ add anno to secrets
* baldm0mma/verify_release/ update commands to reflect node env image
* baldm0mma/verify_release/ update annos
* baldm0mma/verify_release/ update tag variable
* baldm0mma/verify release/ add whitespace
* baldm0mma/verify_releases/ update with no bash loops
* baldm0mma/verify_release/ update exit logic
* baldm0mma/verify_release/ remove annos
* baldm0mma/verify_releasse/ resign and build yml
* baldm0mma/verify_release/ remove annos
* baldm0mma/verify_release/ update signature
* baldm0mma/verify_release/ download curl
* baldm0mma/verify_release/ remove temp key folder removal
* baldm0mma/verify_release/ account for artifact download time
* baldm0mma/verify_release/ add anno
* baldm0mma/verify_release/ update location
* baldm0mma/verify_release/ update script
* baldm0mma/verify_release/ make drone
* baldm0mma/verify_release/ update script for oss or ent
* baldm0mma/verify_release/ add promotion option
* baldm0mma/verify_release/ make drone
* Update scripts/drone/events/release.star
Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com >
* Update scripts/drone/steps/lib.star
Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com >
* Update scripts/drone/steps/lib.star
Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com >
* baldm0mma/verify_release/ update drone
* Update scripts/drone/events/release.star
Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com >
* baldm0mma/verify_release/ update drone
* Update scripts/drone/steps/lib.star
Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com >
* Apply suggestions from code review
Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com >
* baldm0mma/update drone
* baldm0mma/verify_release/ update path
* baldm0mma/verify_release/ make drone
* baldm0mma/update drone
* Apply suggestions from code review
Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com >
* baldm0mma/verify_release/ update for loop to account for failure
* baldm0mma/verify_release/ make drone
* baldm0mma/verify_release/ make format-drone
* baldm0mma/verify_release/ rem unused var
---------
Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com >
---------
Co-authored-by: Jev Forsberg <46619047+baldm0mma@users.noreply.github.com >
2024-06-24 15:07:01 -05:00
Dave Henderson
ca1379bad3
chore: A few updates for the pkg/build/wire fork ( #88813 )
...
* chore: A few updates for the pkg/build/wire fork
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
* chore: run go work sync
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
---------
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2024-06-06 16:09:27 +03:00
Kyle Brandt
a738cb42d8
Prometheus: Update dependency to v0.52.0 ( #87809 )
...
* Prometheus: Update dependency to v0.52.0
* go work sync
* fix panics in tests
* go work sync
* prometheus v0.52.0
* handle errors
* Update pkg/services/ngalert/sender/sender_test.go
Co-authored-by: Santiago <santiagohernandez.1997@gmail.com >
* Update pkg/services/ngalert/sender/sender_test.go
Co-authored-by: Santiago <santiagohernandez.1997@gmail.com >
---------
Co-authored-by: Santiago <santiagohernandez.1997@gmail.com >
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com >
2024-05-28 15:22:20 +02:00
Marcus Efraimsson
ac152ca416
Chore: Upgrade grpc-ecosystem/go-grpc-middleware to v2 ( #86724 )
...
* Chore: Replace deprecated prometheus grpc middleware
* go mod tidy without enterprise
* with updated sdk branch
* sdk v0.226.0
* remove deprecated opentracing support for outgoing plugin requests
* migrate to github.com/grpc-ecosystem/go-grpc-middleware/v2
* fix
2024-04-25 17:25:48 +02:00
George Robinson
c049e5bbfc
Alerting: Update grafana/alerting to bb4f4f4 ( #86827 )
2024-04-25 10:47:01 +01:00
Erik Sundell
a3ef463499
Grafana packages: Remove E2E workspace ( #86416 )
...
* remove e2e package code and any code referencing it
* update code owners
* remove more references to e2e package
* remove unrelated file
2024-04-25 07:12:43 +02:00
Todd Treece
72472e5eb7
K8s: Add slog wrapper ( #84680 )
2024-04-09 18:39:25 +03:00
ismail simsek
6137c4e0a6
Chore: Bump golangci-lint v1.57.1 ( #84998 )
...
* bump golangci-lint v1.57.1
* update setting
* remove goconst
* fix linting issues
* prettier
* fix G601
* go mod tidy
go work sync
2024-03-25 15:28:24 +01:00
Serge Zaitsev
4d4c06b480
Chore: Vendor wire into pkg/build ( #84637 )
...
* vendor latest wire into pkg/build
* use vendored wire in builds
* fix wire import path
* remove wire from bingo
* also support google/wire import
* make prettier happy
* change package in tess
* add debug walk for drone
* add wire_gen in tests
* remove debug walk
* restore imports
2024-03-25 11:23:27 +01:00
carrychair
0913324668
Chore: Remove repetitive words ( #84132 )
...
remove repetitive words
Signed-off-by: carrychair <linghuchong404@gmail.com >
2024-03-11 08:55:18 -04:00
Summer
ad1c4b726b
Grafana Build: fix release process not publishing latest storybook ( #81412 )
...
Bugfix: release process not publishing latest storybook
2024-01-26 15:22:05 -07:00
Horst Gutmann
01e430e821
chore: Bump Alpine base image to 3.18.5 ( #80540 )
2024-01-16 15:24:40 +01:00
Victor Marin
9dc015b595
Re-add arm32 builds ( #79496 )
...
* Re-add arm32 builds
* update grabpl version
* make drone
* make drone
* format drone
2023-12-15 16:56:22 +02:00
Ryan McKinley
d410ef3439
K8s: Use grafana executable for standalone api service ( #77904 )
...
Co-authored-by: Dan Cech <dcech@grafana.com >
2023-11-09 16:50:27 -08:00
Charandas
8a46dc39d0
Grafana App Platform: provide an example-apiserver to easily deploy aggregated APIservers ( #77826 )
2023-11-07 22:35:15 -08:00
Horst Gutmann
aa9fc3be72
CI: Fix release-npm-packages action ( #77127 )
...
* Remove dependency of NpmReleaseAction to the git binary
* Switch to using the node image for the release-npm-packages step
2023-10-27 10:20:20 +03:00
Horst Gutmann
f7445777c7
CI: Temporarily disable arm build-tooling ( #77064 )
2023-10-24 18:14:08 +03:00
Horst Gutmann
1355660313
Building: Remove dependency to urw-fonts in RPM packages ( #76198 )
2023-10-10 08:15:54 +02: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
Orgad Shaneh
b0b2158dea
Chore: Update ubuntu image to 22.04 ( #70719 )
2023-09-28 08:48:41 -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
Horst Gutmann
85abf2bebd
Chore: Upgrade Alpine base image to 3.18.3 ( #74984 )
2023-09-18 12:44:04 +03:00
Andrej Ocenas
e4f26a5e4b
Flamegraph: Move to package ( #73113 )
2023-09-12 12:28:48 +02:00
Yulia Shanyrova
77bf8215d4
Plugins: Remove deprecated grafana-toolkit ( #73489 )
...
* remove grafana-toolkit
* replaces old tsconfig with grafana tsconfig
* fix betterer
2023-09-05 09:56:04 +02:00
Ryan McKinley
025b2f3011
Chore: use any rather than interface{} ( #74066 )
2023-08-30 18:46:47 +03:00
Dimitris Sotirakis
ddd4270c94
Nightlies: Remove pre suffix from GetLatestMainBuild regexp ( #73978 )
...
Remove pre suffix from GetLatestMainBuild regexp
2023-08-29 10:43:43 +03:00
Horst Gutmann
220ea869be
CI: Improve error handling in gcloud copy operations ( #73474 )
2023-08-21 08:05:24 +02: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
5f8ace33fb
Bug: Compare semver digits for frontend packages config ( #71829 )
...
* Compare semver digits
* Fix lint
2023-07-18 17:10:40 +03:00
Selene
b0893c29a7
Chore: Generate plugin version and remove lineage version ( #69781 )
...
* Generate plugin version and remove lineage version
* Generate version for each major
* Remove pluginVersion from core plugins
* Remove code version generation
* Generate cue files
* Move grafana version into jenny
* fix go import
2023-06-27 12:47:14 +03:00
Andreas Deininger
95b1f3c875
Fixing typos ( #70487 )
2023-06-22 09:43:38 +01:00
Dimitris Sotirakis
98b6791101
Chore: Prettify some unit tests for pkg/build ( #70186 )
...
* Prettify
* Fix test
2023-06-16 09:32:06 +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
91272ee4f9
CI: Add CI check for what's new link ( #70046 )
...
* Add whatsnewchecker
* Add whatsnewchecker_test
* Small fixes
* Add step in CI
* Fix lint
* Fix starlark
* t.Cleanup instead of separate func
* Skip check for test tags
2023-06-14 13:51:01 +03:00
Dimitris Sotirakis
a6b524fd56
NPM packages: Fail build-frontend-packages step if package.json and input tag differ ( #70011 )
...
* Fail if package.json version is different than the tag
* Add tests
* Update message
* Small refactoring
* Fix lint
2023-06-14 08:56:19 +02: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
515270f5fd
GoogleAPI: Add retries functionallity to GoogleAPI calls ( #69129 )
...
* Add retryer to GoogleAPI calls
* Add comment
2023-05-26 12:59:56 +03: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
bad570ee86
Docker: Add mode label when building docker images ( #68865 )
...
Add mode label when building docker image
2023-05-23 10:37:52 +02:00
Dimitris Sotirakis
04f1e344b1
CI: Fix broken nightly builds ( #67705 )
...
Sort objects in a bucket based on the generation timestamp
2023-05-03 13:52:10 +02:00
Guilherme Caulada
614427c602
Build: Add optional build-args for COMMIT_SHA and BUILD_BRANCH ( #66672 )
...
* Remove .git from .dockerignore
* Revert "Remove .git from .dockerignore"
This reverts commit 5a4658f270 .
* Add optional COMMIT_SHA and BUILD_BRANCH environment variables
2023-04-18 10:03:27 -03:00
Dimitris Sotirakis
24d348f804
CI: Split /bin/build artifacts * subcommand ( #66005 )
...
* Split go files
* Modify publishartifacts.go
* Split main
* FIXME: Temp add GCSCopy to gcloud/storage
* Fix lint
* Exported flags
* Update starlark - make drone
* Further backend lint fixes
* Add fallback_test.go
* Fix go imports order
* make drone
* Remove GCSCopy from static assets
* Remove GCSCopy from storybook
* Fix lint
* Remove GCSCopy
* Remove success logline
* drone yaml cleanup
* Add artifacts-editions flag
* Fix starlark
* Add default sting slice in artifacts packages command
2023-04-12 11:47:40 +03:00
Dimitris Sotirakis
a2634495e5
Grafana Cloud: Put cloud artifacts to */release dir ( #66168 )
...
Put cloud artifacts to */release dir
2023-04-10 10:05:18 +03: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