mirror of
https://github.com/grafana/grafana.git
synced 2025-01-11 00:22:06 -06:00
Chore: Add timeout for storybook e2e, only run on changes to @grafana/ui (#90035)
* add timeout for storybook, only run on changes to @grafana/ui * add comment to trigger verify-storybook * remove test comment * add comment * use a later version of wait-on * remove comment and hardcode wait-on version
This commit is contained in:
parent
4671b7d5ae
commit
5ed5a2de2a
13
.drone.yml
13
.drone.yml
@ -135,7 +135,7 @@ steps:
|
||||
image: node:20.9.0-alpine
|
||||
name: start-storybook
|
||||
- commands:
|
||||
- npx wait-on@7.0.1 http://$HOST:$PORT
|
||||
- npx wait-on@7.2.0 -t 1m http://$HOST:$PORT
|
||||
- yarn e2e:storybook
|
||||
depends_on:
|
||||
- start-storybook
|
||||
@ -151,11 +151,8 @@ trigger:
|
||||
exclude:
|
||||
- docs/**
|
||||
- '*.md'
|
||||
- pkg/**
|
||||
- packaging/**
|
||||
- go.sum
|
||||
- go.mod
|
||||
include: []
|
||||
include:
|
||||
- packages/grafana-ui/**
|
||||
type: docker
|
||||
volumes:
|
||||
- host:
|
||||
@ -1910,7 +1907,7 @@ steps:
|
||||
image: node:20.9.0-alpine
|
||||
name: start-storybook
|
||||
- commands:
|
||||
- npx wait-on@7.0.1 http://$HOST:$PORT
|
||||
- npx wait-on@7.2.0 -t 1m http://$HOST:$PORT
|
||||
- yarn e2e:storybook
|
||||
depends_on:
|
||||
- start-storybook
|
||||
@ -5181,6 +5178,6 @@ kind: secret
|
||||
name: gcr_credentials
|
||||
---
|
||||
kind: signature
|
||||
hmac: 6c273dec437d3ae5ae9a42450c57956259a691ff0df7c161a57eaa683c867acd
|
||||
hmac: c4a656d676b1228248f6948ac0347aea1d67016429aa24351d0a5c3e2d7dc617
|
||||
|
||||
...
|
||||
|
@ -87,7 +87,7 @@ def pr_pipelines():
|
||||
),
|
||||
verify_storybook(
|
||||
get_pr_trigger(
|
||||
exclude_paths = ["pkg/**", "packaging/**", "go.sum", "go.mod"],
|
||||
include_paths = ["packages/grafana-ui/**"],
|
||||
),
|
||||
ver_mode,
|
||||
),
|
||||
|
@ -799,7 +799,7 @@ def e2e_storybook_step():
|
||||
"PORT": "9001",
|
||||
},
|
||||
"commands": [
|
||||
"npx wait-on@7.0.1 http://$HOST:$PORT",
|
||||
"npx wait-on@7.2.0 -t 1m http://$HOST:$PORT",
|
||||
"yarn e2e:storybook",
|
||||
],
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user