-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add GitHub Actions workflows from Plugins CI shared workflows (#218)
* Add GitHub Actions workflows * rename cd job * run playwright * move to new repository * Renamed workflows * trigger * Update publish workflow * Removed e2e workflow * first see if it works without the parameter provided * lets try setting the value now * fake push * fake push * fake push * switching to main * testing * testing what happens if I remove the input * putting the lower limit back --------- Co-authored-by: Timur Olzhabayev <timur.olzhabayev@grafana.com>
- Loading branch information
1 parent
9ab6a53
commit a2d6ad5
Showing
6 changed files
with
63 additions
and
216 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Plugins - CD | ||
run-name: Deploy ${{ inputs.branch }} to ${{ inputs.environment }} by @${{ github.actor }} | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
branch: | ||
description: Branch to publish from. Can be used to deploy PRs to dev | ||
default: main | ||
environment: | ||
description: Environment to publish to | ||
required: true | ||
type: choice | ||
options: | ||
- 'dev' | ||
- 'ops' | ||
- 'prod' | ||
docs-only: | ||
description: Only publish docs, do not publish the plugin | ||
default: false | ||
type: boolean | ||
|
||
jobs: | ||
cd: | ||
name: CD | ||
uses: grafana/plugin-ci-workflows/.github/workflows/cd.yml@main | ||
with: | ||
branch: ${{ github.event.inputs.branch }} | ||
environment: ${{ github.event.inputs.environment }} | ||
docs-only: ${{ fromJSON(github.event.inputs.docs-only) }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Plugins - CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
ci: | ||
name: CI | ||
uses: grafana/plugin-ci-workflows/.github/workflows/ci.yml@main | ||
with: | ||
plugin-version-suffix: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || '' }} | ||
run-playwright-with-grafana-dependency: '>=8.5.0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters