[ci] Choose runner conditional on label
## What this PR does This patch adds a conditional for running on a statically defined VM the maintainers have SSH access to if the pull request has a `debug` label. This is useful for debugging failing workflows when the diagnostic info from the pipeline is insufficient. ### Release note ```release-note [ci] Run builds on a static VM with SSH access if the PR has a debug label. ``` Signed-off-by: Timofei Larkin <lllamnyp@gmail.com>
This commit is contained in:
parent
3c75e88190
commit
1e293995de
1 changed files with 1 additions and 1 deletions
2
.github/workflows/pull-requests.yaml
vendored
2
.github/workflows/pull-requests.yaml
vendored
|
|
@ -153,7 +153,7 @@ jobs:
|
|||
|
||||
e2e:
|
||||
name: "E2E Tests"
|
||||
runs-on: [oracle-vm-24cpu-96gb-x86-64]
|
||||
runs-on: ${{ contains(github.event.pull_request.labels.*.name, 'debug') && 'self-hosted' || 'oracle-vm-24cpu-96gb-x86-64' }}
|
||||
#runs-on: [oracle-vm-32cpu-128gb-x86-64]
|
||||
permissions:
|
||||
contents: read
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue