Erik Sundell
1f0aa2a1af
NPM releases: Stop publishing the e2e package ( #95350 )
...
remove e2e from list of packages
2024-11-06 13:38:50 +01:00
Diego Augusto Molina
10ea008462
[v11.0.x] CI: Additional changes for +security versions ( #94927 )
...
CI: Additional changes for +security versions (#94854 )
* Build: Fix docker manifest create not using correct IMAGE_TAG
* Support publishing security versions of NPM packages
---------
Co-authored-by: Andreas Christou <andreas.christou@grafana.com >
Co-authored-by: Kevin Minehart <kmineh0151@gmail.com >
Co-authored-by: Diego Augusto Molina <diegoaugustomolina@gmail.com >
(cherry picked from commit 8f7352e862 )
Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com >
2024-10-17 17:20:20 -03:00
Kevin Minehart
b9574d6698
[v11.0.x] CI: Support more version formats in publishing ( #94747 )
...
CI: Support more version formats in publishing (#94575 )
* cleanup dead code
* add tests and rewrite publish grafanacom steps to reuse
* add pkg/build tests; don't upload CDN assets on grafana releases
(cherry picked from commit 7a2edd35d5 )
2024-10-15 13:24:16 -05:00
Dave Henderson
10c7ae6056
[v11.0.x] Chore: Bump Go to 1.22.7 ( #93358 )
...
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2024-09-18 00:24:34 +03:00
grafana-delivery-bot[bot]
7b35fccf07
[v11.0.x] CI: Run prettier in bump-version workflow ( #92529 )
...
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:39:59 +03:00
grafana-delivery-bot[bot]
9a9ce0667d
[v11.0.x] CI: fix release pr target ( #91001 )
...
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:19 +03:00
Kevin Minehart
e5219818a9
don't use slim image
2024-06-25 08:10:43 -05:00
Kevin Minehart
302831c125
[11.0.x] backport CI / release changes ( #89636 )
...
* go mod tidy; go work sync
* 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 >
* use go 1.21.10
* use 1.21.10 in pkg/build
* upgrade to go 1.22.4
* upgrade swagger
* swagger-gen
* gen openapi3.json
* allow grpc.dial
* fix .bingo/README.md formatting
---------
Co-authored-by: Jev Forsberg <46619047+baldm0mma@users.noreply.github.com >
2024-06-24 15:06:58 -05:00
Ashley Harrison
20d6961030
[v11.0.x] Chore: Bump golangci-lint v1.57.1 ( #86131 )
...
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
(cherry picked from commit 6137c4e0a6 )
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com >
2024-04-15 14:40:35 +01:00
grafana-delivery-bot[bot]
6a14aeae60
[v11.0.x] Chore: Vendor wire into pkg/build ( #86110 )
...
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
(cherry picked from commit 4d4c06b480 )
Co-authored-by: Serge Zaitsev <serge.zaitsev@grafana.com >
2024-04-15 13:56:44 +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
Dan Cech
d072b62960
Packaging: Remove chkconfig dependency ( #65887 )
...
Remove chkconfig dependency
This dependency prevents installation on recent opensuse as they no longer provide chkconfig.
As far as I can tell we don't use it anywhere so it shouldn't be required under any modern linux using systemd,
2023-04-04 07:05:35 -04: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