Skip to content

Commit

Permalink
Allow user to define namespace of the leased environment
Browse files Browse the repository at this point in the history
Signed-off-by: João Pereira <joao.pereira@broadcom.com>
  • Loading branch information
joaopapereira authored and a-b committed Oct 25, 2024
1 parent 5cda0eb commit 4a16286
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/tests-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ on:
description: Pre-provisioned environment lease-id to use in tests
required: false
type: string
lease_namespace:
description: Pre-provisioned environment lease namespace to use in tests
required: false
type: string
run_unit_tests:
description: Run unit tests
required: false
Expand Down Expand Up @@ -120,7 +124,7 @@ jobs:
pool_name: ${{ vars.SHEPHERD_POOL_NAME }}
pool_duration: ${{ vars.SHEPHERD_POOL_DURATION || '8h' }}
pool_namespace: ${{ vars.SHEPHERD_POOL_NAMESPACE || 'official' }}
namespace: ${{ vars.POOL_NAMESPACE || 'tas-devex' }}
namespace: ${{ inputs.lease_namespace || vars.POOL_NAMESPACE || 'tas-devex' }}
run: |
shepherd login service-account ${account_token}
Expand Down

0 comments on commit 4a16286

Please sign in to comment.