Skip to content

Commit 1e90b78

Browse files
authored
Merge pull request #2147 from nebius/cherry-pick-to/soperator-release-2.0/from/main/0
[cherry-pick] [SCHED-866] Improve e2e_runner interface
2 parents de3a045 + d41dd64 commit 1e90b78

File tree

1 file changed

+6
-16
lines changed

1 file changed

+6
-16
lines changed

.github/workflows/e2e_test.yml

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,10 @@ name: E2E test soperator
33
on:
44
workflow_dispatch:
55
inputs:
6-
terraform_repo:
7-
description: "terraform repository with slurm cluster deployment"
8-
required: true
9-
default: "nebius/nebius-solution-library"
10-
type: string
116
terraform_repo_ref:
12-
description: "ref of terraform repo to apply"
13-
required: true
14-
default: "main"
15-
type: string
16-
path_to_installation:
17-
description: "path inside terraform repo to terraform module to apply"
18-
required: true
19-
default: "/soperator/installations/example"
7+
description: "ref of terraform repo (defaults to current branch)"
8+
required: false
9+
default: ""
2010
type: string
2111

2212
permissions:
@@ -39,9 +29,9 @@ jobs:
3929
environment: e2e
4030

4131
env:
42-
PATH_TO_INSTALLATION: "${{ github.workspace }}/terraform-repo/${{ github.event.inputs.path_to_installation || '/soperator/installations/example' }}"
43-
TERRAFORM_REPO: "${{ github.event.inputs.terraform_repo || 'nebius/nebius-solution-library' }}"
44-
TERRAFORM_REPO_REF: "${{ github.event.inputs.terraform_repo_ref || 'main' }}"
32+
PATH_TO_INSTALLATION: "${{ github.workspace }}/terraform-repo/soperator/installations/example"
33+
TERRAFORM_REPO: "nebius/nebius-solution-library"
34+
TERRAFORM_REPO_REF: "${{ github.event.inputs.terraform_repo_ref || github.ref_name }}"
4535
NEBIUS_TENANT_ID: ${{ vars.E2E_TEST_NEBIUS_TENANT_ID }}
4636
NEBIUS_PROJECT_ID: ${{ vars.E2E_TEST_NEBIUS_PROJECT_ID }}
4737
NEBIUS_REGION: ${{ vars.E2E_TEST_NEBIUS_REGION }}

0 commit comments

Comments
 (0)