Matheus Macabu
61eb837dd6
Chore: Bump Go to 1.23.7 ( #101576 )
2025-03-05 14:55:36 +01:00
Kevin Minehart
e933f7cf01
CI: Add frontend lint GitHub Actions workflow ( #101559 )
...
* lint frontend
* set frontend as owners of the lint workflow
* Fix syntax
* fix warning
* fix quote
2025-03-04 12:20:04 -06:00
Jev Forsberg
dc61bf0855
Chore: Migrate pr-lint-backend from Drone to GHAs ( #101482 )
...
* baldm0mma/ create backend-code-checks workflow
* baldm0mma/ update to validate backend configs
* baldm0mma/ rem unused dir
* baldm0mma/ update codeowners
* baldm0mma/ update naming
* baldm0mma/ update case
* baldm0mma/ update workflow name
* baldm0mma/ rem action and run the commands directly
* baldm0mma/ update codeownders
* baldm0mma/ update codeowners for workflow
* baldm0mma/ update workflow name in codeowners
2025-03-03 11:29:11 -07:00
Jev Forsberg
6abf0434df
Chore: Migrate backend testing from drone to gha ( #100765 )
...
* baldm0mma/ add gha workflow
* baldm0mma/ add codeowners
* baldm0mma/ update health command
* baldm0mma/ update aliases for services
* baldm0mma/ rewrite migration attempt
* baldm0mma/ fix package names for ubuntu
* baldm0mma/ add authentication
* baldm0mma/ update auth
* baldm0mma/ add debugs
* baldm0mma/ add continue on error
* baldm0mma/ simplyfy ent fork logic
* baldm0mma/ debug fork status
* baldm0mma/ add debug workflow for enterprise access
* chore: add workflow_dispatch trigger to backend test workflow
* baldm0mma/ debug ent run
* baldm0mma/ add more robust debugging info
* baldm0mma/ use old drone ci app for testing
* baldm0mma/ update app name
* baldm0mma/ update workflow creds
* baldm0mma/ rename
* baldm0mma/ update codeownders
* baldm0mma/ update paths to ignore paths for docs and markdown files
* baldm0mma/ create 'Setup Grafana Enterprise' action and remove from current workflow
* baldm0mma/ fail at git clone
* baldm0mma/ absract away "Run backend tests" and "Run backend integration tests" into their own actions
* baldm0mma/ update directory strcuture to adhere to GHAs best practices
* baldm0mma/ remove optional configs
* baldm0mma/ update codeowners
* baldm0mma/ update gh app name
* baldm0mma/ remove circ dep
* baldm0mma/ uncomment out enterprise setup for test
* baldm0mma/ update valut url
* baldm0mma/ use vault instance rather than url
* baldm0mma/ debug
* baldm0mma/ Removed the multiline string format
* baldm0mma/ add installation key
* baldm0mma/ update path
* baldm0mma/ debug vault access
* baldm0mma/ add ent
* baldm0mma/ remove debugging
* baldm0mma/ update paths
* baldm0mma/ update codeowners
* baldm0mma/ update paths and codeowners
* baldm0mma/ add continue-on-error to assure the workflow isn't blocking
* baldm0mma/ simplify test action execution
* baldm0mma/ remove wire install step
* baldm0mma/ add conditions for coverage output
* baldm0mma/ add conditions for coverage output for integration test action
* baldm0mma/ add report converage file
* baldm0mma/ remove uneeded action
* baldm0mma/ update codeowners
* baldm0mma/ push small change to go file and add log
* baldm0mma/ update trigger conditions
* baldm0mma/ update converage conditions
* baldm0mma/ update Run backend integration tests with correct action
* baldm0mma/ test 2
* baldm0mma/ update with -coverpkg flag
* baldm0mma/ remove backend-coverage as it is now redundant
* baldm0mma/ update codeowners
* baldm0mma/ update test file
* baldm0mma/ update coverage logic
2025-02-28 14:53:17 -07:00
Yuri Tseretyan
10f17a296a
Alerting: Update Github Action to update alerting module to support version branches ( #101472 )
2025-02-28 12:06:33 -05:00
Kevin Minehart
2ec8b0b45b
CI: Create the frontend test workflow in GHA ( #101256 )
...
* Create the frontend test workflow
* Give .github/workflows/test-frontend to frontend platform group
* Remove file filter
* rename workflow
* frontend unit tests
* add yarn install
* update CODEOWNERS
* Run on 8 core machines?
* use parallelization?
* add sharding
* update package.json to allow sharding jest
* update workflow name
* yarn generate-apis
* update naming
2025-02-27 09:00:00 -06:00
Jack Baldry
a669e004ae
Add GitHub Actions workflow for feature toggle tests ( #101270 )
...
ci: Add GitHub Actions workflow for feature toggle tests
Signed-off-by: Jack Baldry <jack.baldry@grafana.com >
2025-02-27 10:47:39 +00:00
Yuri Tseretyan
2681a93b47
Fix permissions for Update Alerting Module action ( #101223 )
...
* add id-token permission
* use alerting-team app
2025-02-25 15:05:29 -05:00
Jack Baldry
305f05d852
Use version 2 of the deploy preview workflow ( #101266 )
...
* Use v2 deploy preview
Supports building with multiple documentation sources together.
Signed-off-by: Jack Baldry <jack.baldry@grafana.com >
* Lint a file
Signed-off-by: Jack Baldry <jack.baldry@grafana.com >
---------
Signed-off-by: Jack Baldry <jack.baldry@grafana.com >
2025-02-25 10:47:46 +00:00
Yuri Tseretyan
ba352af663
Alerting: Github Action to update alerting module ( #100999 )
2025-02-21 18:46:03 -05:00
Leonor Oliveira
9bc1549aee
Upgrade codeql version ( #100883 )
2025-02-19 15:59:54 +01:00
Kevin Minehart
75189de4f7
CI: Post-release process branch / PR migration ( #100930 )
...
* update output for token in release-comms
* use token from needs
* generate token in individual workflows
* Set secrets
* define secrest in referenced workflows
* wrong secret lol
* oops
* grafana/grafana -> grafana/grafana-enterprise
2025-02-19 01:19:01 +02:00
Kevin Minehart
14477a7fe9
CI: release comms should trigger on merges to release- branches ( #100901 )
...
release comms should trigger on merges to release- branches
2025-02-18 22:34:21 +02:00
Piotr Jamróz
7b3b165c3d
Ci: Use app token during checkout ( #100889 )
...
Use app token during checkout
2025-02-18 11:29:26 -07:00
Mariell Hoversholm
98fdcd52b3
CI: Output HTML coverage page in artifact ( #100875 )
...
* CI: Output HTML coverage page in artifact
* CI: Use correct artifact source
2025-02-18 16:13:52 +01:00
Piotr Jamróz
4979dd4eec
CI: test if test-plugins folder exists before adding ( #100876 )
2025-02-18 15:38:36 +01:00
Mariell Hoversholm
6f9fc8fa0c
CI: Track backend code coverage ( #100856 )
...
* CI: Track backend code coverage
This is a super rudimentary way to track this coverage. The important bit for me is the ability to extract the coverage
files.
* CI: Allow tests to fail
* Codeowners: Assign ownership of coverage tracking
* CI: Join coverage info in the job
* CI: Attempt to parallellise tests
* CI: Upload despite failures
* CI: Pattern is not regex
* CI: Set up repository and Go before merging
* CI: Generate go before checking coverage
* CI: Multi-line string
* CI: Backticks execute commands; avoid them
* CI: Make the output a bit prettier
Tabs are absurdly large.
* CI: Remove comment on retention
2025-02-18 14:35:06 +01:00
Ashley Harrison
02118cc6aa
Chore: Automerge i18n PRs ( #99555 )
...
* add enable automerge step and update CODEOWNERS
* add approver steps
* move automerge step to pr approver token
* get vault secrets
* update workflow permissions
* remove local
2025-02-13 17:44:13 +00:00
Jack Baldry
2b054d4154
Correct release branch trigger glob ( #100496 )
2025-02-12 16:11:12 +00:00
Kevin Minehart
a8b98ded66
CI: Add release branches to patch automation ( #100442 )
...
* CI: Add release branches to patch automation
* Update .github/workflows/create-security-patch-from-security-mirror.yml
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com >
---------
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com >
2025-02-11 17:41:46 +02:00
Ethan
bf413643c8
Remove unused SBOM report workflow from GitHub Actions ( #100124 )
...
* Remove SBOM report workflow from GitHub Actions
* Remove SBOM report workflow from CODEOWNERS
2025-02-07 18:11:11 +01:00
Haris Rozajac
1bf53e7a5f
Dashboard Schema V2: E2E setup ( #99843 )
...
* basic setup
* update CODEOWNERS
* update name
* add temp test that ensures we are loading schema V2 json in the UI
* update language
* test with yarn cache and combine steps
* revert combine
* remove commented out code
* Run current dashboard suite, make workflow optional
* make job always succeed
* Remove temp v2 suite
* don't run on draft PRs
* command for old arch
2025-02-06 08:33:18 -07:00
Kevin Minehart
8e10ee9056
CI: remove unnecessary line in backport.yml ( #100144 )
...
remove bad line
2025-02-05 21:37:19 +02:00
Kevin Yu
b7b2e2bbaa
CI: Commit package.json changes in e2e/test-plugins when bumping versions ( #97506 )
2025-02-05 13:29:18 -06:00
Kevin Minehart
6787cdccb9
CI: Backport to release branches ( #100067 )
...
* update backport and release comms
* Backport to release branches and change docs source branch for publishing
* Add new workflows to CODEOWNERS
* Re-add removed line oops
* backport-testing -> grafana
* checkout grafana repo in backport action, reference repo / branch in reusable action
* generate -> create
2025-02-05 21:04:03 +02:00
Kevin Minehart
c0600969e0
CI: update changelog generator to use compare API ( #99688 )
...
update changelog generator to use compare API
2025-01-29 09:04:12 -06:00
Jack Baldry
8e5a4560e8
Add workflow that comments when PRs include the add to what's new label ( #99637 )
...
Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com >
2025-01-29 08:36:53 +00:00
Jack Baldry
fc7db91bf1
Use tags for documentation-ci actions ( #99419 )
2025-01-23 10:26:37 +00:00
Mariell Hoversholm
4fb7b47971
Trivy: Document Vulnerability Observability ( #99414 )
...
We use Vulnerability Observability for Docker images. The current comments say we simply don't scan them at all, so
let's make it clear for future readers that we do, in fact, scan Docker images, too.
2025-01-23 11:02:23 +01:00
Jack Baldry
1e53ab609e
Only run documentation linter on branches that target main ( #99163 )
2025-01-20 09:52:39 +00:00
Jack Baldry
a6eb8abd05
Simplify language and lint for style ( #98964 )
2025-01-15 08:36:31 +00:00
Jack Baldry
3884c0e896
Replace codespell with Vale spelling check ( #98406 )
2025-01-14 14:08:01 +00:00
Jack Baldry
6f02d2d73d
Fix syntax ( #98875 )
2025-01-13 11:49:04 +00:00
Jack Baldry
60aaa8d703
Fix only run on fork guard ( #98795 )
2025-01-13 10:28:43 +00:00
Esteban Beltran
4589fabbc8
Chore: Fix auto-triager label files path in github action ( #98658 )
2025-01-08 10:42:52 +02:00
Sven Grossmann
02d0e1191f
Actions: No need to echo triage labels ( #98626 )
2025-01-07 19:07:56 +02:00
Esteban Beltran
92fb6e765f
Chore: Use auto-triager github action directly and pass labels and prompts files ( #98602 )
...
* Add auto triager files and use them in the auto-triager github action
* add auto-triager file to codeowners
2025-01-07 15:04:20 +01:00
Todd Treece
16f85585ff
Chore: Switch to github actions bot in go workspace action ( #98490 )
2025-01-03 22:29:57 +02:00
Todd Treece
5f5c3f0531
Chore: Add id-token:write permission to go workspace action ( #98489 )
2025-01-03 21:56:19 +02:00
Todd Treece
f10bf8338e
Chore: Prevent forks from running go workspace update action ( #98488 )
2025-01-03 21:33:30 +02:00
Todd Treece
228ac25ff4
Chore: Use github app for dependabot go workspace workflow ( #98464 )
2025-01-03 13:52:52 -05:00
Todd Treece
ae7cb6866d
Chore: Update git user for depedabot action ( #98073 )
2024-12-17 06:31:45 -05:00
Jack Baldry
331c602c5e
Use v2 of publishing workflow that checks out HEAD of version branch on tag events ( #98029 )
...
This uses a script check in the first step of tag events that switches the checkout to the version branch that the tag refers to: https://github.com/grafana/writers-toolkit/blob/main/publish-technical-documentation-release/determine-release-branch .
Implemented in:
- 305f9896c4
- 541fb6e8bd
Because the script uses Bash regular expression pattern matching, inputs must use Extended Regular Expression syntax.
Signed-off-by: Jack Baldry <jack.baldry@grafana.com >
2024-12-17 08:29:59 +00:00
Jack Baldry
22dbde3126
Don't run PR preview on forks ( #97963 )
2024-12-16 11:01:54 +00:00
Ashley Harrison
08bb66ba72
Chore: Update to node 22 ( #97779 )
...
* update to node 22
* downgrade to 22.11.0
* switch to using node-version-file
* update @types/node
* revert back to using node-version
2024-12-12 16:39:52 +00:00
Robby Milo
2a82b433a4
fix deploy preview shared content ( #97355 )
...
* fix deploy preview shared content
* trigger build
* update workflow
* fix param
* revert content change
* trigger build
* trigger build
* trigger build
* revert ref change
2024-12-04 15:43:31 +01:00
Ethan
ae44451155
Update SBOM GitHub Action ( #97374 )
...
* Update SBOM report workflow for improved artifact naming and trigger options
* Change to use shared-workflow action
2024-12-04 14:40:59 +01:00
Armand Grillet
98178fba68
Remove issue-labeled.yml GitHub workflow ( #95611 )
...
This was previously used for the Alerting squad
but isn't anymore.
2024-12-03 10:52:04 +01:00
Robby Milo
1c60d51905
add deploy preview workflow ( #97140 )
...
* add deploy preview workflow
* remove unnecessary file to trigger build
* fix repo
* change ref
* change ref
* update docs
* update codeowners
* Update docs/README.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
---------
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-11-29 10:19:06 +01:00
Dimitris Sotirakis
3fc6c003e8
chore: Pin send-slack-message action ( #97088 )
...
Pin send-slack-message action
2024-11-28 08:10:02 +01:00