Kevin Minehart
39df6fb2fa
[v11.1.x] CI: set dry-run if release/dry-run label is set on release-comms.yml and set latest on github release if latest is set ( #91131 )
...
CI: set dry-run if `release/dry-run` label is set on `release-comms.yml` and set latest on github release if `latest` is set (#91089 )
set dry-run and set latest on github release
(cherry picked from commit 4e84234424 )
2024-07-29 16:54:58 +03:00
grafana-delivery-bot[bot]
2c084e6113
[v11.1.x] CI: use main instead of my branch in release-pr.yml ( #91007 )
...
CI: use main instead of my branch in release-pr.yml (#91004 )
use main instead of my branch
(cherry picked from commit 7e4b7f73e7 )
Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com >
2024-07-26 00:54:25 +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
grafana-delivery-bot[bot]
9f22e97ab6
[v11.1.x] CI: fix changelog push error ( #90978 )
...
CI: fix changelog push error (#90971 )
* add --set-upstream origin to release-pr workflow git push
* use a different branch name for the changelog workflow
* disable backport support for now
* remove backport condition
(cherry picked from commit 089a5710b6 )
Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com >
2024-07-25 12:28:47 -05:00
grafana-delivery-bot[bot]
8a8679fc4e
[v11.1.x] CI: fix changelog repo null ( #90966 )
...
CI: fix changelog repo null (#90960 )
* give secrets when running changelog action
* i guess secrets don't have types
(cherry picked from commit d4304b59ec )
Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com >
2024-07-25 18:55:44 +03:00
grafana-delivery-bot[bot]
8a219d5d18
[v11.1.x] CI: changelog boolean type ( #90956 )
...
CI: changelog boolean type (#90948 )
* bool -> boolean
* add missing type keys
* provide secrets in release-pr
* use permissions and built-in github token
(cherry picked from commit 14396048d7 )
Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com >
2024-07-25 18:10:17 +03:00
grafana-delivery-bot[bot]
bd59be01e8
[v11.1.x] CI: post changelog to forum in release-comms ( #90751 )
...
CI: post changelog to forum in release-comms (#90742 )
* post changelog to forum in post-release workflow
(cherry picked from commit 9a3672c2bb )
Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com >
2024-07-22 18:23:25 +03:00
grafana-delivery-bot[bot]
b4f4b3e9b4
[v11.1.x] CI: For every release PR created, also push a changelog PR to main ( #90704 )
...
CI: For every release PR created, also push a changelog PR to main (#90698 )
For every release PR created, also push a changelog PR to main
(cherry picked from commit 9232db2416 )
Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com >
2024-07-20 01:14:38 +03:00
Serge Zaitsev
c2e78f5cd6
[v11.1.x] Chore: update changelog workflow ( #90685 )
...
Chore: update changelog workflow (#90608 )
* try integrating
* pass tags
* change section order
* use better terminology
* one more attempt
* keep delimiters
* attempt to patch changelog
* quotes, bash quotes...
* use proper content file
* parens around date
* time for a pr
* first checkout, then create user
* add latest input
* git push
* use square brackets
* formatting
* update release-pr
* fix typo
* try sparse checkout
* fetch depth zero
* clean up after changelog generator
(cherry picked from commit f8b092aba6 )
2024-07-19 21:36:25 +02:00
grafana-delivery-bot[bot]
5c39ab885d
[v11.1.x] CI: fix release pr condition ( #90305 )
...
CI: fix release pr condition (#90299 )
* Release comms should only run when the source PR is
* Fix release-comms workflow condition
(cherry picked from commit a28db90dd5 )
Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com >
2024-07-10 15:49:37 -05:00
grafana-delivery-bot[bot]
1af63c69f8
[v11.1.x] CI: remove missing dependency from workflow action ( #90293 )
...
CI: remove missing dependency from workflow action (#90285 )
remove missing dep from workflow action
(cherry picked from commit f411d85749 )
Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com >
2024-07-10 14:24:26 -05:00
grafana-delivery-bot[bot]
0d3206db83
[v11.1.x] CI: Sync branch and tag after release ( #90206 )
...
CI: Sync branch and tag after release (#89967 )
* Added `workflow_call` event to allow other workflows to invoke the "Create or update GitHub release"
* Added `dry_run` to `github-release.yml`
* Added `latest` to `release-pr.yml` which will cause the release PR to add a `release/latest` label.
* Removed unnecessary github app creation from github-release workflow and just used permissions.
(cherry picked from commit 63e715f6a9 )
Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com >
2024-07-08 14:53:05 -05:00
grafana-delivery-bot[bot]
60ea823a60
[v11.1.x] CI: fix release comms workflow ( #89789 )
...
CI: fix release comms workflow (#89744 )
* add runs-on key
* remove unneeded env key
* use more specific quotes in commands
* fix block syntax
* fix workflow dispatch event check
(cherry picked from commit 16b050f676 )
Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com >
2024-06-26 17:37:06 +03:00
grafana-delivery-bot[bot]
9cafc1abe4
[v11.1.x] CI: add release comms workflow ( #89738 )
...
CI: add release comms workflow (#89718 )
* add release comms workflow
* add version input
* Add release-comms workflow to CODEOWNERS
(cherry picked from commit 3ede2dba24 )
Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com >
2024-06-25 17:14:13 -05: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
81019f1669
chore(ci): Lint only pkg/ code, and lint all Go modules ( #88940 )
...
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2024-06-07 13:54:47 -04: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
Steve Simpson
acbb6a1119
Alerting: Update CODEOWNERS. ( #88872 )
...
Assigns ownership of Alerting backend components to grafana/alerting-backend, due
to deprecation of the existing grafana/alerting-backend-product team.
2024-06-06 21:51:54 +02: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
Bruno
07debd66c2
Ephemeral instances: fetch the grafana version from the package.json file ( #88300 )
2024-05-28 11:52:00 -03:00
Sergej-Vlasov
fbb5fd71f9
DashboardScenes: Optimise e2e test and add panels suite ( #88170 )
...
* refactor tests after adding additional data-testids
* add panels-suite e2e tests
* wip: add missing selectors
* finalise panels-suite tests
* clean up
* adjust workflow for test run
* restore workflow
2024-05-24 16:22:11 +03:00
Andrej Ocenas
d912703634
Chore: Updated go.work.sum file ( #87622 )
...
* Updated file
* fix quote character issue in workspace check
---------
Co-authored-by: Todd Treece <todd.treece@grafana.com >
2024-05-10 14:59:44 +02:00
Dave Henderson
c6a0175c04
ci: use go.mod as source of truth for actions/setup-go action ( #87574 )
...
* ci: use go.mod as source of truth for actions/setup-go action
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
* updating upgrading-go-version.md doc
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
---------
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2024-05-09 15:30:13 -04:00
Todd Treece
00684682d7
Chore: Update go workspace check error message ( #87576 )
2024-05-09 21:31:46 +03:00
Bruno
be260e9713
Ephemeral instances: update go version ( #87526 )
2024-05-08 22:06:12 +03:00
Stephanie Hingtgen
d365d442fa
Chore: Upgrade go to 1.22.3 ( #87463 )
2024-05-07 15:23:21 -05:00
Sergej-Vlasov
838e36bd99
DashboardScenes: Pin go version to go.mod file in scenes e2e workflow ( #87238 )
...
* adjust workflow to use correct go version
* finalise wokflow adjustments
2024-05-02 17:30:08 +03:00
Alexa V
9ea1042329
Dashboard: POC to run existing e2e with dashboardScene feature toggle ( #84598 )
...
* Standarize e2e for addDashbaord e2e flow
* WIP: Duplicate e2e dashboard flows and smoke test for scene e2e tests
* Fix autoformatting mistake for bash file
* Enable dashboardScene using local storage and only for the scene folder
* Add missing folders
* Set the feature toggle in the before of all tests
* Revert "Standarize e2e for addDashbaord e2e flow"
This reverts commit 6b9ea9d5a4 .
* Add missing e2e selectors to NavToolbarActions, and modify addDashboard scene flow
* e2e: panels_smokescreen.spec.ts migrated
* e2e smokeTestSceneario migrated
* Start migrating dashbaord-suite e2e
* WIP create variable types
* adjust tests for scenes
* restore dashboard json file
* update scenes version
* restore pkg/build/wire/internal/wire/testdata modifications
* finalising test adjusments
* restore pkg/build/wire/internal/wire/testdata files
* add latest scenes version and update tests
* add drone setup for dashboard scenes tests
* update to latest scenes version
* adjust drone errors
* adjust indentation in drone yml file
* drone adjustments
* add github workflow to run scenes e2e
* restore drone file
* adjust github workflow
* wip: github workflow adjustments
* test remove gpu
* bump
* undo formating changes
* wip: github workflow debugging
* adjusting flaky tests
* update to latest scenes
* clean up workflow file
* adjust flaky test
* clean up pr
* finalise worflow logic and add to codeowners
* clean up launching old arch dashboards e2e separately
---------
Co-authored-by: Sergej-Vlasov <sergej.s.vlasov@gmail.com >
Co-authored-by: Jeff Levin <jeff@levinology.com >
2024-05-01 17:56:48 +03:00
Jack Baldry
c5217aa632
Update doc-validator workflow to support ref URIs ( #86423 )
2024-05-01 15:05:08 +01: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
dependabot[bot]
82daadf56b
Bump slackapi/slack-github-action from 1.25.0 to 1.26.0 ( #86562 )
...
Bumps [slackapi/slack-github-action](https://github.com/slackapi/slack-github-action ) from 1.25.0 to 1.26.0.
- [Release notes](https://github.com/slackapi/slack-github-action/releases )
- [Commits](https://github.com/slackapi/slack-github-action/compare/v1.25.0...v1.26.0 )
---
updated-dependencies:
- dependency-name: slackapi/slack-github-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-22 09:10:36 +00:00
Bruno
1f3a85824f
ephemeral instances: add workflow run id env var ( #86528 )
2024-04-19 09:49:03 -03:00
Timur Olzhabayev
70eefea434
Chore: Remove feature toggles github action ( #85714 )
...
* remove the feature toggle cleanup github action
* removing codeowners entries that are unnecessary
2024-04-17 10:33:44 +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
Josh Hunt
6d35fb307f
Chore: Run PR checks when enabling auto-merge ( #85857 )
2024-04-11 14:11:21 +02:00
dependabot[bot]
cab7fefef5
Bump actions/checkout from 3 to 4 ( #84529 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-11 09:44:09 +01:00
dependabot[bot]
2fd6bc65c7
Bump slackapi/slack-github-action from 1.24.0 to 1.25.0 ( #85052 )
...
Bumps [slackapi/slack-github-action](https://github.com/slackapi/slack-github-action ) from 1.24.0 to 1.25.0.
- [Release notes](https://github.com/slackapi/slack-github-action/releases )
- [Commits](https://github.com/slackapi/slack-github-action/compare/v1.24.0...v1.25.0 )
---
updated-dependencies:
- dependency-name: slackapi/slack-github-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-08 09:36:15 +02:00
Fabrizio
45c56d208f
CI: Skip CodeQL analysis if repo is not grafana/grafana ( #85652 )
2024-04-05 17:10:18 +02:00
Fabrizio
027329d4b6
CI: Skip analysis steps if not needed ( #85532 )
2024-04-03 17:00:13 +03:00
Andres Martinez Gotor
d2ca95d304
Update plugin SDK to v0.219.0 ( #85438 )
2024-04-02 10:22:24 +02:00
Leonor Oliveira
29c76b98d4
Revert "Update ephemeral instances workflow to get version from package.json" ( #85347 )
...
Revert "Update ephemeral instances workflow to get version from package.json …"
This reverts commit dda1531952 .
2024-03-28 13:56:48 +01:00
Dave Henderson
08d603e660
ci: Stop running ephemeral instances workflow when not needed ( #85306 )
...
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2024-03-27 14:17:31 -04:00
Dafydd
dda1531952
Update ephemeral instances workflow to get version from package.json ( #85088 )
...
* use the same value for GRAFANA_VERSION and HOSTED_GRAFANA_IMAGE_TAG
* update codeowners for these files
2024-03-26 09:24:48 +00:00
Todd Treece
d4e6b325bf
Chore: Add github action to check go module updates ( #84936 )
2024-03-25 18:47:34 -04:00
Ashley Harrison
4974a89316
Chore: update go version used in bump-version so it works with the new format ( #85111 )
...
update go version used in bump-version
2024-03-25 20:06:57 +02:00
Fabrizio
d1f791cf1f
Jaeger: Decouple Jaeger plugin ( #81377 )
2024-03-19 15:39:31 +02:00
Laura Benz
7e5ce8fc20
I18n: Add milestone automatically to Crowdin PRs ( #84253 )
...
* refactor: add milestone automatically
* refactor: remove step for extracting pr number
* refactor: milestone step
2024-03-15 16:14:11 +01:00
dependabot[bot]
ff03cb33f1
Bump actions/upload-artifact from 3 to 4 ( #84527 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-15 08:40:46 +00:00
dependabot[bot]
187d1afb9c
Bump peter-murray/workflow-application-token-action from 2 to 3 ( #84236 )
...
Bumps [peter-murray/workflow-application-token-action](https://github.com/peter-murray/workflow-application-token-action ) from 2 to 3.
- [Release notes](https://github.com/peter-murray/workflow-application-token-action/releases )
- [Commits](https://github.com/peter-murray/workflow-application-token-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: peter-murray/workflow-application-token-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-14 11:25:36 +01:00
dependabot[bot]
5cc92b6202
Bump frabert/replace-string-action from 2.0 to 2.5 ( #84235 )
...
Bumps [frabert/replace-string-action](https://github.com/frabert/replace-string-action ) from 2.0 to 2.5.
- [Release notes](https://github.com/frabert/replace-string-action/releases )
- [Commits](https://github.com/frabert/replace-string-action/compare/v2.0...v2.5 )
---
updated-dependencies:
- dependency-name: frabert/replace-string-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-14 10:20:24 +01:00