Shortened namespace name (#1043)

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>
This commit is contained in:
Jitendrakumar Kushavah
2025-04-04 11:11:23 +05:30
committed by GitHub
parent 7b856cdf3a
commit eba3fdd061

View File

@@ -2255,7 +2255,7 @@ jobs:
uses: ./.github/actions/run-tests uses: ./.github/actions/run-tests
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'rate_limiting_with_radius_tests')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'rate_limiting_with_radius_tests')"
with: with:
namespace: ${{ steps.namespace.outputs.name }}-rate-limiting-radius namespace: ${{ steps.namespace.outputs.name }}-rate-limit-rad
testbed: basic-2a testbed: basic-2a
marker_expression: "ow_regression_lf and rate_limiting_with_radius_tests" marker_expression: "ow_regression_lf and rate_limiting_with_radius_tests"
configuration_file: "./lab_info.json" configuration_file: "./lab_info.json"
@@ -2269,13 +2269,13 @@ jobs:
if: always() if: always()
continue-on-error: true continue-on-error: true
run: | run: |
podname=$(kubectl get pods -n ${{ steps.namespace.outputs.name }}-rate-limiting-radius --no-headers -o custom-columns=":metadata.name" -l job-name=testing | sed "s/pod\///") podname=$(kubectl get pods -n ${{ steps.namespace.outputs.name }}-rate-limit-rad --no-headers -o custom-columns=":metadata.name" -l job-name=testing | sed "s/pod\///")
kubectl logs --timestamps -n ${{ steps.namespace.outputs.name }}-rate-limiting-radius $podname || true kubectl logs --timestamps -n ${{ steps.namespace.outputs.name }}-rate-limit-rad $podname || true
- name: delete namespace - name: delete namespace
if: always() if: always()
continue-on-error: true continue-on-error: true
run: kubectl delete ns --ignore-not-found=true --wait ${{ steps.namespace.outputs.name }}-rate-limiting-radius run: kubectl delete ns --ignore-not-found=true --wait ${{ steps.namespace.outputs.name }}-rate-limit-rad
- name: run dynamic_vlan tests - name: run dynamic_vlan tests
uses: ./.github/actions/run-tests uses: ./.github/actions/run-tests