769114b1d7
[v10.4.x] CI: Fix drone docker publish ( #91208 )
...
CI: Fix drone docker publish (#91204 )
* $debug -> $$debug
* use bash instead of sh
* Update publish_images.star
* Install bash in the docker/docker image
* buildifier
(cherry picked from commit bee678da94 )
# Conflicts:
# .drone.yml
Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com >
2024-07-30 18:07:09 +03:00
82d719d8b3
[v10.4.x] CI: Fix release-pr call in releases ( #91094 )
...
* CI: Fix release-pr call in releases (#91088 )
* Fix release-pr call in releases
* Remove backport arg
* set TARGET to v_target
(cherry picked from commit 2ffdc2d5b0 )
* Release Pipeline: [RPM pkg verification] Fix linefeeds converted to literal backslash-n sequences (#90989 )
fix lf converted to literal backslash-n sequence
(cherry picked from commit 9852513c65 )
---------
Co-authored-by: Diego Augusto Molina <diegoaugustomolina@gmail.com >
2024-07-27 04:03:05 +03:00
Kevin Minehart
9da678809b
Upgrade go to 1.22.5
2024-07-25 17:38:08 -05:00
Kevin Minehart and GitHub
fd6bd298c2
[v10.4.x] CI: replace publish image step with a much simpler one that supports LATEST ( #90619 )
...
CI: replace publish image step with a much simpler one that supports LATEST (#90498 )
* replace publish image step with a much simpler one that supports LATEST
(cherry picked from commit 6a2a6b0fbc )
2024-07-18 12:18:30 -06:00
Jev Forsberg and GitHub
6f64c51675
[v10.4.x] Automation: Verify DEB and RPM packages ( #90403 )
...
Automation: Verify DEB and RPM packages (#90146 )
* baldm0mma/verify_aptyum/ add verify_linux_packages_step
* baldm0mma/verify_aptyum/ add name and image
* baldm0mma/verify_aptyum/ add commands
* baldm0mma/verify_aptyum/ add test pipeline
* baldm0mma/verify_aptyum/ update deps for verify_linux_packages_step
* baldm0mma/verify_aptyum/ update ubuntu image
* baldm0mma/verify_aptyum/ add rockylinux9 image
* baldm0mma/verify_aptyum/ update to verify_linux_DEB_packages_step naming
* baldm0mma/verify_aptyum/ add verify_linux_RPM_packages_step
* baldm0mma/verify_aptyum/ update commands for RPM check
* baldm0mma/verify_aptyum/ update test pipeline
* baldm0mma/verify_aptyum/ update annos
* baldm0mma/verify_aptyum/ update annos
* baldm0mma/verify_aptyum/ update args
* baldm0mma/verify_aptyum/ add arg to verify_linux_RPM_packages_step
* baldm0mma/verify_aptyum/ update oss_steps
* baldm0mma/verify_aptyum/ update deps args
* baldm0mma/verify_aptyum/ update sec hash
* baldm0mma/verify_aptyum/ make format-drone
* baldm0mma/verify_aptyum/ update sec hash
* baldm0mma/verify_aptyum/ update drone
* baldm0mma/verify_aptyum/ update function styles
* baldm0mma/verify_aptyum/ revert changes
* baldm0mma/verify_aptyum/ make drone
* baldm0mma/verify_aptyum/ redirect install logs
* baldm0mma/verify_aptyum/ restructure args
* baldm0mma/verify_aptyum/ update verify_linux_DEB_packages_step
* baldm0mma/verify_aptyum/ make format drone
* baldm0mma/verify_aptyum/ update verify_linux_RPM_packages_step
* baldm0mma/verify_aptyum/ add retry_command
* baldm0mma/verify_aptyum/ make drone
* baldm0mma/verify_aptyum/ update attempts to 10 minutes
* baldm0mma/verify_aptyum/ handle is_preview
* baldm0mma/verify_aptyum/ add doc strings to satisfy starlark linter
* baldm0mma/verify_aptyum/ revert is_preview
* baldm0mma/verify_aptyum/ update to rpm repo download
* baldm0mma/verify_aptyum/ add back logging for rpm
* baldm0mma/verify_aptyum/ revert to working
* baldm0mma/verify_aptyum/ update to use RPM repo
* baldm0mma/verify_aptyum/ remove redirect for logging
* baldm0mma/verify_aptyum/ rem gpg check
* baldm0mma/verify_aptyum/ fromat drone
* baldm0mma/verify_aptyum/ rem comment
* baldm0mma/verify_aptyum/ add single comment on timing
(cherry picked from commit d781ec2daa )
2024-07-12 16:17:41 -06:00
8e9aa45716
[10.4.x] backport CI / release changes ( #89631 )
...
* Chore: Add go workspace (#83191 )
---------
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com >
* 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 )
* 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: Todd Treece <360020+toddtreece@users.noreply.github.com >
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com >
Co-authored-by: Jev Forsberg <46619047+baldm0mma@users.noreply.github.com >
2024-06-24 15:06:53 -05:00
Jack Baldry and GitHub
66e10baeca
[v10.4.x] Use ref URIs with the reference style links ( #89242 )
...
Use ref URIs with the reference style links (#89204 )
* Use ref URIs with the reference style links
If I remember correctly, the UI needs reference style links so it can substitute its own link destinations.
ref URIs work both inline and as the destination for reference style links.
* Remove unused ref URI
* Remove unused Data frames link
---------
(cherry picked from commit f5468542ba )
Signed-off-by: Jack Baldry <jack.baldry@grafana.com >
2024-06-14 17:27:11 +01:00
3f351af597
[v10.4.x] Azure: Update resource group ( #88765 )
...
Azure: Update resource group (#88690 )
Update azure e2e tests
(cherry picked from commit 17f03882d4 )
Co-authored-by: Andreas Christou <andreas.christou@grafana.com >
2024-06-05 16:47:04 +03:00
654db2500a
[v10.4.x] Chore: Upgrade go to 1.21.10 ( #87473 )
...
* [v10.4.x] Chore: Upgrade go to 1.21.10
* sign drone
---------
Co-authored-by: Kevin Minehart <kmineh0151@gmail.com >
2024-05-08 10:05:19 -05:00
Dave Henderson and GitHub
9dcf8e650f
[v10.4.x] chore: bump Go to 1.21.8 ( #83937 )
...
chore: bump Go to 1.21.8 (#83927 )
* chore: bump Go to 1.21.8
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
* bump workflows too
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
---------
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
(cherry picked from commit 01fb2cff62 )
2024-03-05 16:44:27 -05:00
Andreas Christou and GitHub
6263884192
[v10.4.x] CI: Bump alpine image version ( #83723 )
...
CI: Bump `alpine` image version (#83716 )
Bump image version
(cherry picked from commit c9d8d8713b )
2024-02-29 20:34:08 +02:00
e3d8fca42a
[v10.4.x] Docs: add information about filtering for annotations ( #83194 )
...
Docs: add information about filtering for annotations (#82957 )
* Added information about filtering for annotations
* Update generate-transformations.ts
(cherry picked from commit f18b9ddac6 )
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com >
2024-02-21 16:34:05 -05:00
c6f8462a06
Prometheus: Library fixes for using in external vendor DS ( #82115 )
...
* fix stateSlice type errors for build, do not export stateSlice in the future
* fix exports for consistency
* fix package.json for rollup, update licence, keep private
* rollup as devdependencies
* try a different version of @testing-library/dom to try to fix the aria-query issue in drone
* remove testUtils export
* change @testing-library/dom version back
* remove icon bundling, grafana-ui handles this
* remove unused dependencies
* components folder: avoid nested barrel files and use named exports
* configuration folder: avoid nested barrel files and use named exports
* querybuilder folder: avoid nested barrel files and use named exports
* general files: use named exports
* fix loader issue with promql for external ds
* default to support labels match api
* export things necessary for custom config auth
* remove changes to core datasource.test.ts
* Update packages/grafana-prometheus/package.json
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com >
* remove icons script, not needed
* update readme, remove references to grafana/ui
* remove private property
* check tests
* remove private property in package.json
* update changelog
* update npm drone script for file checks
* debug why updating test in script broke another library that had never been tested before
* fix npm test for checking licenses
* fix npm test for checking licenses
* fix npm test for checking licenses
* fix npm test for checking licenses
* update license file for npm drone test
* fix bash script
---------
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com >
2024-02-16 12:55:39 -06:00
Brian Gann and GitHub
4aabfb7835
Area Build/Packaging: release process - remove image check for armhf rpm no longer being built ( #82406 )
...
remove image check for armhf rpm no longer being built
2024-02-15 09:10:08 -05:00
Dimitris Sotirakis and GitHub
a6bc262093
Chore: Remove grafana-delivery references ( #82505 )
...
* s/grafana-delivery/grafana-release-guild/g
* Remove -squad suffix
2024-02-15 10:00:30 +01:00
Sofia Papagiannaki and GitHub
6a47c8da8e
Drone: Do not upload artifacts if e2e tests have not run ( #82451 )
2024-02-15 10:26:43 +02:00
Tobias Skarhed and GitHub
6ce286246b
Betterer: Expose results as JSON ( #81352 )
...
* Expose betterer results as JSON
* Make prettier and add command
* Add aggregation
* Add json generation to lefthook
* Use relative path
* Add grafanabot as codeowner
* Fix parameter type
* Include changes to results
* Run betterer:json
2024-02-14 16:01:22 +02:00
Andreas Christou and GitHub
dcbc3aa46a
Chore: Update grabpl to v3.0.50 ( #82379 )
...
Bump grabpl version
2024-02-13 15:39:41 +00:00
Josh Hunt and GitHub
57993f65ed
Chore: webpack alias react and grafana-runtime to share singletons ( #81789 )
...
* Chore: webpack alias react and grafana-runtime to share singletons
* Move alias to dev webpack, add alias for grafana-data as well
* remove whitespace
2024-02-05 16:25:19 +00:00
Kevin Minehart and GitHub
68345b9596
CI: Add dagger cloud token to PR steps for caching ( #81817 )
...
* Add dagger cloud token to steps for caching
* lint
2024-02-02 12:59:48 -06:00
Esteban Beltran and GitHub
89271df647
Chore: Levitate to ignore private packages for compatibility comparison ( #81798 )
2024-02-02 16:25:32 +02:00
Esteban Beltran and GitHub
ea243b536c
Levitate: fix markdown diff format ( #81477 )
...
* Add some fake breaking changes
* try to generate another breaking chnage
* Keep trying
* Update levitate script
* Add fake breaking changes
* Use latest
* Strip ansi
* Test
* Remove ansi stripping
* ClearAnsi again
* another regex
* Revert some changes used for testing
* Rename function
* Fix indentation in levitate workflow
* Remove test breaking changes
* Remove breaking changes
* Update actions
* Trigger breaking change
* restore file
2024-02-02 09:19:30 +01:00
Fabrizio and GitHub
2d60c0123b
Chore: Improve how we install Python ( #81695 )
2024-02-01 13:27:29 +01:00
Andrej Ocenas and GitHub
cb945aa5df
NodeGraph: Use layered layout instead of force based layout ( #78957 )
2024-01-31 17:26:12 +01:00
Fabrizio and GitHub
564a1d32b7
Add Python as dependency ( #80979 )
2024-01-31 12:44:22 +01:00
6d582858f7
Webpack: Allow watching workspaces ( #81569 )
...
* build(webpack): remove symlinks:false to enable watching packages with yarn start
* build(webpack): add resolve node_modules for enterprise to resolve packages
* add comment
---------
Co-authored-by: joshhunt <josh@trtr.co >
2024-01-30 16:59:18 +01:00
43d0664340
Prometheus: (Experimental) Inject label matchers into queries (also change drone to fix ARM rpm build and Update Swagger) ( #81396 )
...
- Feature Toggle is `promQLScope`.
- Query property is:
"scope": {
"matchers": "{job=~\".*\"}"
}
Misc:
- Also updates drone GO version to address ARM bug https://github.com/golang/go/issues/58425
- Also updates Swagger defs that were causing builds to fail
---------
Co-authored-by: Kevin Minehart <kmineh0151@gmail.com >
2024-01-29 22:22:17 +02:00
Josh Hunt and GitHub
8f0ae76afe
Chore: Use yarn node-modules linker ( #79947 )
...
* Chore: Use yarn node-modules linker
* fix react-router types resolution
* temp skip failing tests
* remove yarn-links for internal path aliases to fix some webpack errors
* transpile all .ts files, even those in node_modules (usually our internal workspace packages
* fix transformers mock
* import react router type directly
* remove old resolution
* more cleanup
* remove preserveSymlinks: true from tsconfig to make Go To Definition resolve grafana ui to the original location
* developer guide
* update dev guide
* remove sdks
* reenable tests
* fix tsconfig trailing commas (where did they come from)
2024-01-29 14:27:35 +00:00
Gábor Farkas and GitHub
852777e5de
levitate: skip checking grafana-sql ( #81350 )
2024-01-26 13:30:35 +02:00
Josh Hunt and GitHub
a138ce668d
I18n: Remove unneeded i18n:compile script ( #81184 )
2024-01-24 17:24:24 +00:00
Timur Olzhabayev and GitHub
4083d23f01
Chore: Bumping go to 1.21.6 ( #80709 )
...
* Bumping go to 1.25.6
* bumping sqlite to 1.14.19
* Bumping sqlite version
2024-01-23 14:32:26 +01:00
Santiago and GitHub
d4e831b051
Alerting: Use mimir:r274-1780c50 in CI ( #80985 )
...
* Alerting: Use new mimir image in CI
* add image to blocks, enable experimental routes
2024-01-22 16:25:50 +02:00
Fabrizio and GitHub
6cbc3df11e
Add grafana-o11y-ds-frontend workspace package ( #80362 )
2024-01-22 13:47:50 +01:00
Dimitris Sotirakis and GitHub
65104a7efa
ImagePullSecrets: Add GAR secret to image_pull_secret in .drone.yml (#80912 )
...
* Add GAR secret to image_pull_secret
* Fix starlark fmt
2024-01-19 19:29:49 +02:00
Timur Olzhabayev
7c74ab7059
Revert "bumping go to 1.25.6"
...
This reverts commit 73439f2cd3 .
2024-01-17 11:40:25 +01:00
Timur Olzhabayev
73439f2cd3
bumping go to 1.25.6
2024-01-17 11:38:25 +01:00
Horst Gutmann and GitHub
01e430e821
chore: Bump Alpine base image to 3.18.5 ( #80540 )
2024-01-16 15:24:40 +01:00
Kevin Minehart and GitHub
95a9074ad4
CI: Make --grafana-repo configurable via GRAFANA_REPO ( #80378 )
...
Make --grafana-repo configurable via GRAFANA_REPO
2024-01-11 17:53:02 +02:00
Kevin Minehart and GitHub
9501000856
CI: add rgm promotion pipeline ( #80296 )
...
* add package upload promotion pipeline
2024-01-11 09:22:14 -06:00
Josh Hunt and GitHub
c9dd12851f
Chore: Temp allow verify-i18n step to fail ( #80371 )
...
allow verify-i18n to fail
2024-01-11 16:50:01 +02:00
Dimitris Sotirakis and GitHub
7ba930b135
Chore: Update grabpl ( #79758 )
...
Update grabpl
2023-12-20 17:07:55 +02:00
Andreas Christou and GitHub
1f25c5f830
Build: Re-add missing armv7 images ( #79751 )
...
Readd missing images
2023-12-20 13:55:23 +00:00
Esteban Beltran and GitHub
234ccb886f
Chore: Improve levitate comment output ( #79749 )
...
* Test removing the icon component
* Use different component
* Replace \n with <br>
* Fix formatting
* Empty commit
* Improve formatting
* Fix breaking lines format
* Remove output
* Remove breaking change
2023-12-20 12:40:47 +00:00
Esteban Beltran and GitHub
5fd5a8e385
Chore: Improve levitate CI PR messaage ( #79679 )
...
* Chore: Improve levitate CI PR messaage
* Temporary disable the skip
* Remove ignore
* Add an artificial breaking change
* Restore
* Restore
* Trigger breaking change (maybe?)
* --wip-- [skip ci]
* Empty commit
* Keep trying
* Breaking change maybe?
* Add levitate markdown to persistent output
* Move markdown output
* no skipping
* Force run
* remove skip
* Try
* Fix workflow
* tryu
* fix typo
* remove duplicated id
* Test
* Invert commands
* Fix script
* Do not output the markdown directly
* Try 2
* Try with base64
* Update message
* Update message
* Fix base64 encoding
* Update report
* Fix
* test file
* Try without base64
* Fix report to not use base64
* restore skip file
* revert breaking changes
* Empty commit
2023-12-20 10:09:58 +01:00
Victor Marin and GitHub
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
Timur Olzhabayev and GitHub
4991e71b85
Chore: Upgrade Go to 1.21.5 ( #79329 )
...
* bumping grafanas go version to 1.21.5
* adding how to upgrade go doc
* removing the whole ci-build and corresponding pipelines
* clarifying that we have to run make drone
* fixing starlark linter and removing unused code
* Adding note about enterprise
* trying to change the underyling image to avoid musl issues
* only need to golang one
2023-12-15 10:36:49 +01:00
Isabel and GitHub
6681463f2c
Docs: update description and add alt text ( #79538 )
...
* Edited page description and added missing alt text
* Rebuilt markdown file
2023-12-14 22:18:16 +02:00
44e781a00b
Docs: add/update frontmatter descriptions for panel config pages ( #79412 )
...
* Added and updated frontmatter descriptions
* baldm0mma/121223-update-frontmatter-descriptions-2/ add description to template and build
* Updated description
Co-authored-by: Nathan Marrs <nathanielmarrs@gmail.com >
* Updated description
---------
Co-authored-by: jev forsberg <jev.forsberg@grafana.com >
Co-authored-by: Nathan Marrs <nathanielmarrs@gmail.com >
2023-12-13 16:24:26 -05:00
937a7ed6d9
Docs: add missing alt text - transformations 10.3 (2/3) ( #79277 )
...
* Added missing alt text
* Rebuilt markdown file
q
wq
* baldm0mma/081223-missing-alt-text-2/ add alt image content to images and build markdown
* baldmomma/081223-missing-alt-text-2/update alt text and build
* baldm0mma/081223-missing-alt-text-2/ make altText required
---------
Co-authored-by: jev forsberg <jev.forsberg@grafana.com >
2023-12-12 10:07:52 -07:00
ed128ea964
Frontend: Foundations for multi tenant frontend ( #78815 )
...
* Frontend: Foundations for multi tenant frontend
* improve manifest parsing for multi-tenant frontend (#78876 )
* add test
* add test
* ??
* Updates
* Added cache
* test cleanup
* lint
* fix test
* fix error templates
* cleanup
* remove copy
* revert changes to list testdata
* comment cleanup
* prepare integration tests
* Remove integrety
---------
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2023-12-05 08:34:22 +01:00