Commit Graph

264 Commits

Author SHA1 Message Date
Esteban Beltran
d738b96742
Chore: Fix levitate workflow to not post a comment when there's no breaking change (#80266) 2024-01-10 10:27:22 +02:00
Kévin Gomez
6c8e30c96a
Kinds: publish grafana-schema/common to the kind-registry (#78728) 2024-01-08 14:05:26 +01:00
Esteban Beltran
fc8e2472e1
Chore: Simplify Levitate breaking changes workflow (#80014)
* Test using an app instead of token for this workflow

* Rename workflow for testing

* Add a test workflow

* Test 1

* Integrate report

* Checkout repository

* Try with github token instad of the app

* Use short slog instead of adding org

* Add failure to pipeline when breakikng

* Change exit code to report

* Improve message

* Restore files

* Temporarily lift restriction

* Put pack path restriction

* remove comment
2024-01-04 18:19:20 +01:00
Timur Olzhabayev
80da35f41d
Chore: First step towards a github action that regularly notifies about feature toggle cleanup (#79912)
* playing around with csv parsing action

* switch to workflow dispatch

* working script

* add a check to not run on forks

* adding check comment

* no idea who should own, adding myself for now

* adding the cleanup script too
2024-01-02 13:12:18 +01:00
Esteban Beltran
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
Andreas Christou
10cc3321cd
Chore: Update node version for bump-version workflow (#79634)
Update node version for bump-version workflow
2023-12-18 12:16:24 +00:00
Timur Olzhabayev
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
dependabot[bot]
868b790406
Bump google-github-actions/setup-gcloud from 1 to 2 (#79291)
Bumps [google-github-actions/setup-gcloud](https://github.com/google-github-actions/setup-gcloud) from 1 to 2.
- [Release notes](https://github.com/google-github-actions/setup-gcloud/releases)
- [Changelog](https://github.com/google-github-actions/setup-gcloud/blob/main/CHANGELOG.md)
- [Commits](https://github.com/google-github-actions/setup-gcloud/compare/v1...v2)

---
updated-dependencies:
- dependency-name: google-github-actions/setup-gcloud
  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>
2023-12-11 12:01:27 +01:00
dependabot[bot]
99d893fd30
Bump actions/stale from 8 to 9 (#79292)
Bumps [actions/stale](https://github.com/actions/stale) from 8 to 9.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v8...v9)

---
updated-dependencies:
- dependency-name: actions/stale
  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>
2023-12-11 09:42:09 +00:00
dependabot[bot]
5d2593db13
Bump google-github-actions/auth from 1 to 2 (#78867)
Bumps [google-github-actions/auth](https://github.com/google-github-actions/auth) from 1 to 2.
- [Release notes](https://github.com/google-github-actions/auth/releases)
- [Changelog](https://github.com/google-github-actions/auth/blob/main/CHANGELOG.md)
- [Commits](https://github.com/google-github-actions/auth/compare/v1...v2)

---
updated-dependencies:
- dependency-name: google-github-actions/auth
  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>
2023-12-04 10:42:18 +00:00
Josh Hunt
6f658f5aae
Remove mandatory backport checks (#78678)
* Remove mandatory backport checks

* update backporting docs
2023-11-28 14:03:32 +00:00
Josh Hunt
97c79f2c34
I18n: Set description of Crowdin PR using GH Actions (#78424)
* I18n: Set description of Crowdin PR using GH Actions

* pin action sha

* Apply suggestions from code review

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>

---------

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2023-11-21 11:00:29 +00:00
Josh Hunt
0a5a86f20b
I18n: Github action to fix up i18n files in Crowdin files (#78191)
* I18n: Start github action to fix up i18n files after crowdin push

* finish action

* change message

* actions
2023-11-15 18:21:30 +02:00
Jack Baldry
20b4cebc47
Use versioned action to update make-docs procedure (#77694)
https://github.com/grafana/writers-toolkit/blob/main/update-make-docs/action.yml

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2023-11-06 11:58:10 +00:00
Ryan McKinley
5d5f8dfc52
Chore: Upgrade Go to 1.21.3 (#77304) 2023-11-01 09:17:38 -07:00
Jack Baldry
8b43d1b1ab
Update workflow that synchronizes the make docs procedure (#77123)
* Update workflow that synchronizes the `make docs` procedure

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Update .github/workflows/update-make-docs.yml

* Only try and commit, push, and open a PR if there are changes

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

---------

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2023-11-01 14:02:45 +00:00
Ashley Harrison
5f6d15d912
Chore: Update detect-breaking-changes workflow to use node 20 (#77459)
* attempt to fix levitate workflow

* add comment to force levitate to run

* update node version in levitate workflow

* change to test levitate

* remove dummy comment
2023-10-31 17:17:22 +00:00
Andres Martinez Gotor
da1a53ebb1
Chore: Build and release GH action: Use vault secrets (#77448) 2023-10-31 16:53:39 +01:00
dependabot[bot]
0765e6f931
Bump actions/checkout from 3 to 4 (#77341)
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>
2023-10-30 09:14:24 +01:00
dependabot[bot]
910d8c1402
Chore(deps): Bump actions/setup-node from 3 to 4 (#77274)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-node
  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>
2023-10-30 08:29:20 +01:00
Andres Martinez Gotor
b537bb12f1
Chore: Add GH workflow to release core plugins (#77204) 2023-10-27 13:07:32 +02:00
Jack Baldry
07909464f1
Update doc-validator workflow (#77024)
Update doc-validator

No longer produce errors for the use of https://grafana.com/ links. This is the first step towards just using fully qualified URLs everywhere. The website link render-hook will internally transform these URLs into the partial URL that works across all hostnames.

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2023-10-24 14:52:41 +01:00
Horst Gutmann
625b400faf
CI: github-release workflow should forward "latest" input (#75139) 2023-10-12 14:22:43 +03:00
Horst Gutmann
6b52bb9c27
Chore: Upgrade Go to 1.20.10 (#76359) 2023-10-11 16:49:24 +03:00
Armand Grillet
259bc437cf
Fix issue-labeled GitHub Action by removing organization field (#76120)
Fix issue-labeled GitHub Action by remove organization field
2023-10-06 14:32:58 +02:00
Armand Grillet
d8357342a3
Fix issue-labeled GitHub Action using app permissions (#76114) 2023-10-06 13:25:01 +03:00
github-actions[bot]
fb0ac351bc
Update make docs procedure (#76096)
* Update `make docs` procedure

* Do not run workflow on forks

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Add labels

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

---------

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
Co-authored-by: grafanabot <bot@grafana.com>
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2023-10-06 09:47:55 +01:00
Ricky Whitaker
6842cc63ec
Adding .github/workflows/create-security-patch-from-security-mirror.yml (#75850)
* Adding .github/workflows/create-security-patch-from-security-mirror.yml

* Added .github/workflows/create-security-patch-from-security-mirror.yml to CODEOWNERS
2023-10-04 15:26:12 -05:00
Horst Gutmann
76c6bf88be
CI: Run publish-kinds workflows only on the main repository (#75855) 2023-10-03 10:13:42 +03:00
Jack Baldry
ad1989cf4d
Publish documentation from the HEAD of the matching version branch on tag events (#73809)
* Publish documentation from the HEAD of the matching version branch on tag events

Tags aren't necessarily made to the HEAD of the version branch.
The documentation that should be published is always on the HEAD of the version branch.

This is another mismatch between the code and documentation but is desirable as the "What's new" documentation is typically added much later than commit the tag targets.

Technically it would be more correct for the "What's new" documentation to be in place before the commit that is tagged.
However, the significant lag between the start of a release and the actual publishing of the tag would be challenging to codify in this action's logic.
It would also require a side channel for non-code related documentation updates to be made to the docs released by the tag.
This would likely require a long lived branch to be created at the tag commit and I'm not sure that the additional work is justified.

In practice, I think we can get away with publishing more recent documentation than the code given the assumption that no significant feature is going to be absent from the initial major/minor release.

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Switch to detached remote branch reference

---------

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2023-10-02 09:14:20 +01:00
Armand Grillet
efa6a6c624
Fix issue-labeled GitHub Action (#75753) 2023-09-29 17:36:52 +02:00
Horst Gutmann
39dbd98458
Chore: Upgrade Go to 1.20.8 (#74978)
chore: Update to Go 1.20.8
2023-09-18 11:29:50 +03:00
Krishna Dhakal
b1169686dc
Docs: Breaking changes guide in a directory (#72786)
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2023-09-12 17:22:39 +03:00
Horst Gutmann
94c9bee181
CI: Run auto-milestone workflow also on reopened pull-requests (#74390) 2023-09-07 13:32:22 +03:00
dependabot[bot]
5ea16cb947
Bump actions/checkout from 2 to 4 (#74356)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 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/v2...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>
2023-09-05 09:10:10 +01:00
dependabot[bot]
710f1325e5
Bump actions/setup-node from 3.5.1 to 3.8.1 (#73454)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.5.1 to 3.8.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3.5.1...v3.8.1)

---
updated-dependencies:
- dependency-name: actions/setup-node
  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>
2023-09-04 13:04:35 +00:00
Horst Gutmann
372f32963d
CI: Run gen-cue on bump-version (#73885) 2023-08-28 09:35:38 +02:00
Joan López de la Franca Beltran
fb0165ab87
Kinds: Reconcile verify-kinds.go with kind-registry changes (#73689)
* Kinds: Reconcile verify-kinds.go with kind-registry changes

* Remove handwritten value specific for manual test

* Update grafana/kindsys dep

* Revert "Update grafana/kindsys dep"

This reverts commit e437e1879e.

* Fix generated code
2023-08-23 16:51:50 +02:00
Ricky Whitaker
4047cdb213
Sync-mirror GHA updates (#73504)
fixing sync-mirror run-name and altering concurrency to use branch name
2023-08-18 12:01:43 -05:00
Sven Grossmann
7ee13c4c8c
CI: Bump code-coverage in Explore workflow to use go v1.20.x (#73384)
bump code-coverage on explore workflow
2023-08-17 14:21:47 +02:00
Josh Soref
40c6fdf406
CI: Upgrade peter-evans/create-pull-request from v3 to v5 (#72599) 2023-08-17 11:10:40 +02:00
Horst Gutmann
1e8879a041
CI: Remove pr-commands-closed workflow as replaced with auto-milestone (#72793) 2023-08-03 10:59:28 +02:00
Kevin Minehart
1b93f3c0ab
CI: Update PR patch check workflow (#72770)
* Update PR patch check workflow

* trigger ci

* trigger ci
2023-08-02 16:20:43 -05:00
Josh Hunt
3172715a02
Chore: Fix pr-checks not having enough permissions (#72754) 2023-08-02 11:19:43 -05:00
Josh Hunt
742a1e3a3b
Chore: Fix pr-checks not having enough permissions (#72753)
* Chore: Fix pr-checks not having enough permissions

* update permissions
2023-08-02 11:07:11 -05:00
Josh Soref
9571aea651
Only run workflows if they might be able to work (#72503)
* Fix whitespace

* Only run workflows if they might be able to work

* fix quotes

---------

Co-authored-by: joshhunt <josh@trtr.co>
2023-08-02 12:25:23 +01:00
Armand Grillet
dc486e0ca4
Revert "Only run workflows if they might be able to work" (#72506)
Revert "Only run workflows if they might be able to work (#63164)"

This reverts commit 234b5c8c21.
2023-07-28 13:21:34 +02:00
Josh Soref
234b5c8c21
Only run workflows if they might be able to work (#63164) 2023-07-28 11:01:14 +02:00
Andres Martinez Gotor
e6fe34c62c
Chore: Auto add milestone when opening a PR (#72494) 2023-07-28 10:44:00 +02:00
Josh Hunt
70c05fff57
Chore: use GITHUB_TOKEN in breaking changes workflow instead of grot … (#72438)
Chore: use GITHUB_TOKEN in breaking changes workflow instead of grot token
2023-07-27 14:27:20 +00:00