Jev Forsberg and Kevin Minehart
057c156bb2
[v11.2.x] CI: add missing github app volume to release pipeline ( #97411 )
...
CI: add missing github app volume to release pipeline (#97406 )
add github app volume to release pipeline
(cherry picked from commit 6fe184a565 )
Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com >
2024-12-04 08:46:37 -07:00
Jev Forsberg and Serge Zaitsev
3b108e38d1
[v11.2.x] Chore: Remove verification steps for deb/rpm in drone ( #97298 )
...
Chore: Remove verification steps for deb/rpm in drone (#96991 )
remove verification steps for deb/rpm in drone
(cherry picked from commit feeb2c6ce0 )
Co-authored-by: Serge Zaitsev <serge.zaitsev@grafana.com >
2024-12-02 11:58:08 -07:00
Kevin Minehart
7c7188a39a
[v11.2.x] CI: Add github app token generation in pipelines that use GITHUB_TOKEN ( #96872 )
...
CI: Add github app token generation in pipelines that use GITHUB_TOKEN (#96646 )
* Add github app token generation in pipelines that use GITHUB_TOKEN
* ci?
* clone gh repo using x-access-token user
* address linting issues
* use mounted volume for exporting token
* remove unused github_token env var swagger gen step
* replace pat on release_pr pipepline
* cleanup GH PAT references
* linting
* Update scripts/drone/steps/lib.star
* make drone
---------
Co-authored-by: Matheus Macabu <macabu.matheus@gmail.com >
(cherry picked from commit 2400483d6c )
2024-11-21 21:08:59 -06:00
Kevin Minehart
b91bd951a6
[v11.2.x] CI: Remove drone steps for building windows because its done in grafana-… ( #95412 )
...
CI: Remove drone steps for building windows because it's done in grafana-… (#95373 )
Remove drone steps for building windows because it's done in grafana-build now
(cherry picked from commit 67b3848fd9 )
2024-10-25 07:53:32 -06:00
Kevin Minehart
9fe9778d53
[v11.2.x] CI: use linux to build msi installers ( #95298 )
...
CI: use linux to build msi installers (#95215 )
* Build the MSI installers using Linux and wine
(cherry picked from commit 66c728d26b )
2024-10-23 14:12:24 -06:00
Diego Augusto Molina and Josh Hunt
17012180c7
[v11.2.x] CI: Additional changes for +security versions ( #94929 )
...
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:29 -03:00
Kevin Minehart
39d9542f7f
[v11.2.x] CI: Support more version formats in publishing ( #94749 )
...
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:26:56 -05:00
Jev Forsberg
86e3ac0021
[v11.2.x] CI: Remove redundant FE and BE tests from release pipeline ( #94357 )
...
CI: Remove redundant FE and BE tests from release pipeline (#94173 )
baldm0mma/remove_tests/ remove fe and be tests
(cherry picked from commit 0e8fa1f5f8 )
2024-10-07 15:39:08 -06:00
Kevin Minehart
c7307f997d
[v11.2.x] CI: upgrade grabpl v3.0.53 ( #94125 )
...
CI: upgrade grabpl v3.0.53 (#94112 )
* upgrade grabpl to v3.0.53
* upgrade grabpl to v3.0.53
(cherry picked from commit 26c3ed89a3 )
2024-10-01 23:29:58 +01:00
Jev Forsberg
2cb798867c
[v11.2.x] CI: Bump alpine version ( #93875 )
...
CI: Bump alpine version (#93865 )
* baldm0mma/up_alpine/ update alpine
* baldm0mma/resolve commits
(cherry picked from commit dc1670ed9a )
2024-09-26 21:46:25 -06:00
Jev Forsberg
a3b88d9acc
[v11.2.x] CI: Update retry_command function ( #93870 )
...
* CI: Update retry_command function (#93863 )
* baldm0mma/update args
* baldm0mma/update_args/ conflict
(cherry picked from commit b17b98aeb9 )
* make drone
2024-09-26 19:46:55 -06:00
Dave Henderson
986a6365b0
[v11.2.x] Chore: Bump Go to 1.22.7 ( #93353 )
...
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2024-09-17 12:41:26 -04:00
Kevin Minehart
a54099302f
[v11.2.x] CI: Update grafanabot github token ( #93296 )
...
CI: Update grafanabot github token (#93291 )
Update grafanabot github token
(cherry picked from commit d60a28b3c8 )
2024-09-12 23:47:50 +03:00
Jev Forsberg
e199e4f723
[v11.2.x] CI/CD: Update retry logic for package validation ( #93011 )
...
CI/CD: Update retry logic for package validation (#92943 )
* baldm0mma/retry_command/ update retry logic for package validation
* baldm0mma/retry_command/ update to 15 minutes
* baldm0mma/retry_command/ update to 30 minute retry
* baldm0mma/retry_command/ make drone
(cherry picked from commit d3ceaf41c2 )
2024-09-05 16:56:01 -05:00
grafana-delivery-bot[bot] and Todd Treece
db912c8722
[v11.2.x] Chore: Update tests to use go-workspace script ( #92323 )
...
* Chore: Update tests to use go-workspace script (#91746 )
(cherry picked from commit 13703de67e )
* Chore: Fix requires_buildifier typo (#91747 )
* Chore: Revert drone go workspace change to tests (#91762 )
---------
Co-authored-by: Todd Treece <360020+toddtreece@users.noreply.github.com >
2024-08-22 20:03:35 +03:00
Kevin Minehart
bee678da94
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
2024-07-30 15:44:04 +01:00
João Calisto
0a561d22fb
CI: Add new RRC pipeline ( #90731 )
...
* CI: Add new RRC pipeline
2024-07-30 14:01:10 +01:00
Kevin Minehart
2ffdc2d5b0
CI: Fix release-pr call in releases ( #91088 )
...
* Fix release-pr call in releases
* Remove backport arg
* set TARGET to v_target
2024-07-26 17:20:36 -06:00
Diego Augusto Molina
9852513c65
Release Pipeline: [RPM pkg verification] Fix linefeeds converted to literal backslash-n sequences ( #90989 )
...
fix lf converted to literal backslash-n sequence
2024-07-25 15:31:17 -03:00
Kevin Minehart
6a2a6b0fbc
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
2024-07-18 10:53:47 -05:00
Jev Forsberg
d781ec2daa
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
2024-07-12 10:54:03 -06:00
Serge Zaitsev
e9876749d4
Chore: Add retry option to curl ( #90179 )
...
add retry option to curl
2024-07-08 15:47:31 +02:00
Santiago and Charandas Batra
aaf23c64c3
Alerting: Allow remote Alertmanager integration tests to fail ( #88664 )
...
* Alerting: Allow remote Alertmanager integration tests to fail
* format drone
* rebase from main
* the wait-for container needs canFail more than the acutal integration-tests container
---------
Co-authored-by: Charandas Batra <charandas.batra@grafana.com >
2024-07-06 18:39:45 +02:00
Ashley Harrison
5ed5a2de2a
Chore: Add timeout for storybook e2e, only run on changes to @grafana/ui ( #90035 )
...
* add timeout for storybook, only run on changes to @grafana/ui
* add comment to trigger verify-storybook
* remove test comment
* add comment
* use a later version of wait-on
* remove comment and hardcode wait-on version
2024-07-04 11:19:07 +01:00
Ashley Harrison
e87646eeb6
Storybook: Add basic e2e verification test ( #89779 )
...
* add very basic tests to verify storybook builds correctly
* add storybook step to drone
* reorder steps
* drone tweaks
* don't need host since it's set in env
* don't need to wait
* format build.star and readd wait
* install netcat in CI
* do a yarn install here to get correct bindings
* refactoring to hopefully work better in CI
* add wait-on
* add verbose logging
* localhost?
* more logging
* specify storybook host
* ...
* back to grafana-server
* does this work? 🤔
* run storybook e2e test after rgm-package so the backround process is running for less time
* split into separate step
* format
2024-06-27 16:43:43 +01:00
Sergej-Vlasov
4e0c3555df
DashboardScene: Include scenes e2e in pr checks ( #89297 )
...
* adjust drone to run scenes e2e alongside
* adjust typo in scenes e2e folder name for consistency
* fix select options selector inssue with scenes bump
* skip tests in old arch that result in race conditions
* skip more flaky tests due to race conditions
* skip scenes e2e instead of old arch in case of race condition
* update to latest scenes version
* skip test due to race conditions
* skip flaky race condition test
* modify and sign drone pipeline
* remove unnecessary edits
* resolve merge conflicts and regenerate drone.yml
2024-06-24 17:57:50 +03:00
Jev Forsberg and Kevin Minehart
491101bc8c
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 >
2024-06-20 17:20:49 -06:00
Steve Simpson
8eabef1f91
Alerting: Update remote alertmanager to use extended receivers API. ( #89253 )
...
* Alerting: Update remote alertmanager to use extended receivers API.
* Update integration test and Mimir image
* Update Mimir image in more places
2024-06-19 12:40:22 +03:00
Kevin Minehart
c6d807e015
CI: Trigger release pr workflow when a release is completed ( #89062 )
2024-06-12 08:48:50 -05:00
Dave Henderson
3a8b59f5e8
chore(ci): Run golangci-lint in GitHub Actions ( #88916 )
...
* chore(ci): Run golangci-lint in GitHub Actions
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
* chore(ci): Remove lint-backend step from Drone
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
---------
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2024-06-07 12:30:31 -04:00
Dave Henderson
20c90ff60d
Chore: bump Go to 1.22.4 ( #88794 )
...
* chore: bump Go to 1.22.4
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
* use go-version-file for ephemeral instances workflows too
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
---------
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2024-06-05 14:29:27 -04:00
Andreas Christou
d6a259f110
Azure: Update e2e image ( #88778 )
...
* Update e2e image
* Comment for testing
2024-06-05 08:35:09 -06:00
48d49b4502
Update dependency cypress to v13.10.0 ( #84140 )
...
* Update dependency cypress to v13.10.0
* updated cypress-version in config
* updated configs
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gábor Farkas <gabor.farkas@gmail.com >
2024-05-29 11:10:42 +02:00
Andrej Ocenas
20294b0fb6
NodeGraph: Remove msagl lib and layered layout option ( #87905 )
...
* Remove msagl lib
* Change drone.yml
* update signature
2024-05-20 13:50:08 +02:00
Kevin Minehart
90970d5f58
CI: In promotions, set the --go-version when building Grafana packages ( #87912 )
...
* Specify drone-version when building in promotions
* Specify drone-version when building in promotions
2024-05-15 16:10:06 +03:00
Josh Hunt
c41ec46b29
I18n: Fix and reenable verify-i18n CI check ( #87496 )
...
* I18n: Change verify-i18n script to use node_deb image with make in it
* remove swagger from i18n make
* make verify-i18n fail ci
* fix incorrect and unextracted nav translations
* fix more copy paste
2024-05-08 14:01:17 +01:00
Stephanie Hingtgen
d365d442fa
Chore: Upgrade go to 1.22.3 ( #87463 )
2024-05-07 15:23:21 -05:00
Kristin Laemmert
f1aa6549f6
Chore: Upgrade go version to 1.22.2 ( #86873 )
...
* Chore: Upgrade go version to 1.22.2
* upgrade to latest swagger for go 1.22 compatibility
* regen openapi spec
* upgrade go in github workflows
2024-04-24 14:26:14 -04:00
Santiago
a2ce8fefed
Alerting: Use a struct when sending a Grafana AM configuration to the remote Alertmanager ( #86451 )
...
* Alerting: Use a struct when sending a Grafana AM configuration to the remote Alertmanager
* remove '-distroless' from mimir image name
2024-04-19 13:04:18 +02:00
Josh Hunt
fe24404432
I18n: Support for Enterprise translations ( #86215 )
...
* I18n: Support for Enterprise translations
* don't attempt to link to enterprise in tests
* move extract script to makefile to optionally support enterprise
* update references to old extract script
* update docs
* thank god for unit tests
2024-04-18 16:25:27 +01:00
Erik Sundell
ad8d505d81
Chore: Install Playwright deps manually ( #86008 )
...
* install deps manually
* use ubuntu image
* regenerate drone file
* use node bookworm image
* get node major version from variable and wait for grafana server to be ready
2024-04-15 14:19:37 +02:00
Dave Henderson
5cfca8dbf6
chore: bump Go to 1.21.9 ( #85964 )
...
* chore: bump Go to 1.21.9
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
* regen .drone.yml
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
---------
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2024-04-11 15:37:07 -04:00
37f1ea7b57
Update dependency @playwright/test to v1.43.0 ( #85918 )
...
* Update dependency @playwright/test to v1.43.0
* update playwright image
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-04-11 11:45:36 +02:00
Todd Treece
71c5070240
Chore: Run backend lint in PRs if .golangci.toml changes ( #85106 )
...
Chore: Run lint backend if .golangci.toml changes
2024-03-25 18:53:54 +02:00
Santiago
4ad6d66479
Alerting: Remove ID from UserGrafanaConfig struct ( #84602 )
...
* Alerting: Remove ID from UserGrafanaConfig struct
* user custom mimir image withoud id in grafana config
* change mimir image name
2024-03-19 12:47:13 +01:00
Kevin Minehart
cf6bed7ae5
Trigger downstream from grafana and not the mirror ( #84381 )
2024-03-13 12:21:08 -05:00
d63bc6d2e4
Update dependency @playwright/test to v1.42.1 ( #84292 )
...
* Update dependency @playwright/test to v1.42.1
* update playwright image
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-03-12 14:53:55 +00:00
Erik Sundell
2a7785c262
CI: Allow failed Playwright tests to fail entire build ( #84244 )
...
* bump plugin-e2e and fix failing test
* do not ignore failures
* generate trace on every test
* force test to fail for debugging purposes
* fix broken test
* regenerate drone file
2024-03-12 13:48:32 +01:00
Sofia Papagiannaki
b8d8662bd9
Swagger: Re-generate the enterprise specification if enterprise is cloned ( #81730 )
...
* Swagger: Re-generate the enterprise specification if enterprise is cloned successfully
* API change to trigger the swagger CI step execution
* Swagger: Silence logs
2024-03-07 12:07:35 +02:00
Alexander Weaver and Ryan McKinley
7a171fd14a
Regenerate openapidocs at 1.21.8 to match ci ( #84037 )
...
* Regenerate openapidocs at 1.21.8 to match ci
* Adjust trigger to work on the actual outputted files
* Also put go.mod and go.sum in the triggers
* manually fix
* Make an arbitrary change rather than touching the trigger to force a run
* Drop all triggers - run all the time
* Print diff - taken from @papagian's PR
* Manual fixes to swagger doc
---------
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2024-03-06 16:08:45 -06:00