-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathaction.yml
More file actions
40 lines (37 loc) · 1.65 KB
/
action.yml
File metadata and controls
40 lines (37 loc) · 1.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: 'Grafana E2E version resolver'
description: 'Resolve Grafana versions for use in E2E tests'
inputs:
skip-grafana-dev-image:
default: false
required: false
description: 'Optionally, you can skip the Grafana dev image'
type: boolean
skip-grafana-react-19-preview-image:
required: false
description: 'Skip the Grafana React 19 preview image (e.g., grafana/grafana:dev-preview-react19). Defaults to false (include) for Grafana org repositories, true (skip) for others. Can be explicitly overridden.'
type: boolean
version-resolver-type:
required: true
type: choice
default: plugin-grafana-dependency
description: >
Choose between different version resolver types.
plugin-grafana-dependency: Resolve versions based on the Grafana version specified in the plugin.json file.
version-support-policy: Resolve versions according to Grafana's plugin compatibility policy. I.e. the latest major version and the last minor of the previous major version.
options:
- plugin-grafana-dependency
- version-support-policy
grafana-dependency:
required: false
description: 'Optionally, use this input to pass a semver range of supported Grafana versions to test against. This is only used when version-resolver-type is plugin-grafana-dependency. If not provided, the action will try to read grafanaDependency from the plugin.json file.'
type: string
limit:
required: false
description: 'The maximum number of versions to resolve. Default is 6, 0 means no limit.'
default: "6"
output:
matrix:
description: 'Versions to test against'
runs:
using: node24
main: ./dist/index.js