Skip to content

Commit 4a16286

Browse files
joaopapereiraa-b
authored andcommitted
Allow user to define namespace of the leased environment
Signed-off-by: João Pereira <[email protected]>
1 parent 5cda0eb commit 4a16286

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/tests-integration.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ on:
2323
description: Pre-provisioned environment lease-id to use in tests
2424
required: false
2525
type: string
26+
lease_namespace:
27+
description: Pre-provisioned environment lease namespace to use in tests
28+
required: false
29+
type: string
2630
run_unit_tests:
2731
description: Run unit tests
2832
required: false
@@ -120,7 +124,7 @@ jobs:
120124
pool_name: ${{ vars.SHEPHERD_POOL_NAME }}
121125
pool_duration: ${{ vars.SHEPHERD_POOL_DURATION || '8h' }}
122126
pool_namespace: ${{ vars.SHEPHERD_POOL_NAMESPACE || 'official' }}
123-
namespace: ${{ vars.POOL_NAMESPACE || 'tas-devex' }}
127+
namespace: ${{ inputs.lease_namespace || vars.POOL_NAMESPACE || 'tas-devex' }}
124128
run: |
125129
shepherd login service-account ${account_token}
126130

0 commit comments

Comments
 (0)