[8.x] [ci] Don't start APM/Profiling cypress if pre-checks don't pass (#208569) (#208585)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[ci] Don't start APM/Profiling cypress if pre-checks don't
pass (#208569)](https://github.com/elastic/kibana/pull/208569)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Alex
Szabo","email":"alex.szabo@elastic.co"},"sourceCommit":{"committedDate":"2025-01-28T17:19:52Z","message":"[ci]
Don't start APM/Profiling cypress if pre-checks don't pass
(#208569)\n\n##
Summary\nhttps://buildkite.com/elastic/kibana-on-merge/builds/60136
shows how\neven though some preliminary checks failed, some cypress
tests started\nafter the build step was successful. It's probably
because they had\nexplicit dependencies, but only on a subset of the
pre-checks.","sha":"90d768be9b35ac26a3b938edac5c1af47cab980a","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","v9.0.0","backport:all-open"],"title":"[ci]
Don't start APM/Profiling cypress if pre-checks don't
pass","number":208569,"url":"https://github.com/elastic/kibana/pull/208569","mergeCommit":{"message":"[ci]
Don't start APM/Profiling cypress if pre-checks don't pass
(#208569)\n\n##
Summary\nhttps://buildkite.com/elastic/kibana-on-merge/builds/60136
shows how\neven though some preliminary checks failed, some cypress
tests started\nafter the build step was successful. It's probably
because they had\nexplicit dependencies, but only on a subset of the
pre-checks.","sha":"90d768be9b35ac26a3b938edac5c1af47cab980a"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/208569","number":208569,"mergeCommit":{"message":"[ci]
Don't start APM/Profiling cypress if pre-checks don't pass
(#208569)\n\n##
Summary\nhttps://buildkite.com/elastic/kibana-on-merge/builds/60136
shows how\neven though some preliminary checks failed, some cypress
tests started\nafter the build step was successful. It's probably
because they had\nexplicit dependencies, but only on a subset of the
pre-checks.","sha":"90d768be9b35ac26a3b938edac5c1af47cab980a"}}]}]
BACKPORT-->

Co-authored-by: Alex Szabo <alex.szabo@elastic.co>
This commit is contained in:
Kibana Machine 2025-01-29 06:00:54 +11:00 committed by GitHub
parent 8d79524ba6
commit 1d4a08fc72
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -352,7 +352,6 @@ steps:
provider: gcp
machineType: n2-standard-4
preemptible: true
depends_on: build
timeout_in_minutes: 120
parallelism: 3
retry:
@ -368,7 +367,6 @@ steps:
provider: gcp
machineType: n2-standard-4
preemptible: true
depends_on: build
timeout_in_minutes: 120
parallelism: 3
retry: