Andreas Christou
b7d434faaf
[v11.1.x] CI: Fix drone docker publish ( #91207 )
...
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:03:45 +03:00
Kevin Minehart
3d38f30ff4
[v11.1.x] CI: Fix release-pr call in releases ( #91096 )
...
* 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:09 +03:00
Kevin Minehart
17fce96f7f
[v11.1.x] CI: replace publish image step with a much simpler one that supports LATEST ( #90622 )
...
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:19:03 -06:00
Jev Forsberg
be8ff40d58
[v11.1.x] Automation: Verify DEB and RPM packages ( #90402 )
...
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 15:54:55 -06: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
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
renovate[bot]
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
renovate[bot]
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
renovate[bot]
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
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
Dave Henderson
01fb2cff62
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 >
2024-03-05 15:24:34 -05:00
Todd Treece
d7b031f318
Chore: Update Makefile to support go workspace ( #83549 )
2024-02-29 17:22:18 -05:00
Andreas Christou
c9d8d8713b
CI: Bump alpine image version ( #83716 )
...
Bump image version
2024-02-29 18:00:21 +00:00
Todd Treece
f4b432841b
Chore: Add env var check to make drone ( #83337 )
2024-02-23 21:28:30 +02:00
Andreas Christou
1477e658ec
CI: Add retry for yarn install ( #83317 )
...
Add retry for yarn install
2024-02-23 16:15:28 +00:00
Todd Treece
49d3cb29eb
Chore: Add go workspace ( #83191 )
...
---------
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com >
2024-02-23 08:54:24 -05:00
Erik Sundell
3e456127cb
E2E: Add plugin-e2e scenario verification tests ( #79969 )
...
* add playwright test and plugin-e2e
* run tests in ci
* add ds config tests
* add panel edit tests
* add annotation test
* add variable edit page tests
* add explore page tests
* add panel plugin tests
* add readme
* remove comments
* fix broken test
* remove user.json
* remove newline in starlark
* fix lint issue
* ignore failure of playwright tests
* update code owners
* add detailed error messages in every expect
* update message frame
* fix link
* upload report to gcp
* echo url
* add playwright developer guide
* bump plugin-e2e
* add custom provisioning dir
* update plugin-e2e
* remove not used imports
* fix typo
* minor fixes
* use latest version of plugin-e2e
* fix broken link
* use latest plugin-e2e
* add feature toggle scenario verification tests
* bump version
* use auth file from package
* fix type error
* add panel data assertions
* rename parent dir and bump version
* fix codeowners
* reset files
* remove not used file
* update plugin-e2e
* separate tests per role
* pass prov dir
* skip using provisioning fixture
* wip
* fix permission test
* move to e2e dir
* fix path to readme
* post comment with report url
* format starlark
* post comment with report url
* post comment with report url
* fix token
* make test fail
* fix exit code
* bump version
* bump to latest plugin-e2e
* revert reporting message
* remove comments
* readding report comment
* change exit code
* format starlark
* force test to fail
* add new step that posts comment
* fix link
* use latest playwright image
* fix failing test
* format starlark
* remove unused fixture
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com >
---------
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com >
2024-02-23 12:39:30 +01:00
Jack Westbrook
5f89c69b66
Chore: Bump Lerna 8.x.x ( #83233 )
...
* chore(lerna): bump lerna to 8.x.x
* chore(lerna): run lerna repair command to update lerna.json
* ci(drone): use raw output (no quotes) when updating package.json version
* ci(drone): update config file
2024-02-22 16:22:23 +01:00
Carl Bergquist
53c19e4988
move codespell check into /docs ( #83109 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com >
2024-02-20 20:40:31 +01:00
Sofia Papagiannaki
6a47c8da8e
Drone: Do not upload artifacts if e2e tests have not run ( #82451 )
2024-02-15 10:26:43 +02:00
Andreas Christou
dcbc3aa46a
Chore: Update grabpl to v3.0.50 ( #82379 )
...
Bump grabpl version
2024-02-13 15:39:41 +00:00
Kevin Minehart
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
Fabrizio
2d60c0123b
Chore: Improve how we install Python ( #81695 )
2024-02-01 13:27:29 +01:00
Andrej Ocenas
cb945aa5df
NodeGraph: Use layered layout instead of force based layout ( #78957 )
2024-01-31 17:26:12 +01:00
Fabrizio
564a1d32b7
Add Python as dependency ( #80979 )
2024-01-31 12:44:22 +01:00
Kyle Brandt
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
a138ce668d
I18n: Remove unneeded i18n:compile script ( #81184 )
2024-01-24 17:24:24 +00:00
Timur Olzhabayev
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
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
Dimitris Sotirakis
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
01e430e821
chore: Bump Alpine base image to 3.18.5 ( #80540 )
2024-01-16 15:24:40 +01:00
Kevin Minehart
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