mirror of
https://github.com/Telecominfraproject/wlan-testing.git
synced 2025-11-01 19:37:54 +00:00
Add roam tests to regression workflow for basic-6 testbed APs
Signed-off-by: bhargavi-ct <bhargavimamidipaka@candelatech.com>
This commit is contained in:
52
.github/workflows/regression.yml
vendored
52
.github/workflows/regression.yml
vendored
@@ -920,6 +920,32 @@ jobs:
|
|||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
run: kubectl delete ns --ignore-not-found=true --wait ${{ steps.namespace.outputs.name }}-dfs
|
run: kubectl delete ns --ignore-not-found=true --wait ${{ steps.namespace.outputs.name }}-dfs
|
||||||
|
|
||||||
|
- name: run roam tests
|
||||||
|
uses: ./.github/actions/run-tests
|
||||||
|
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'roam_tests')"
|
||||||
|
with:
|
||||||
|
namespace: ${{ steps.namespace.outputs.name }}-roam
|
||||||
|
testbed: basic-6
|
||||||
|
marker_expression: "ow_regression_lf and roam_tests"
|
||||||
|
configuration_file: "./lab_info.json"
|
||||||
|
testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }}
|
||||||
|
additional_args: "-o firmware=${{ needs.vars.outputs.ap_version }} ${{ needs.vars.outputs.additional_arguments }}"
|
||||||
|
allure_results_artifact_name: allure-results-${{ steps.ap_model.outputs.model }}-roam_tests
|
||||||
|
dns_records_to_resolve: "sec-${{ needs.vars.outputs.existing_controller }}.cicd.lab.wlan.tip.build gw-${{ needs.vars.outputs.existing_controller }}.cicd.lab.wlan.tip.build fms-${{ needs.vars.outputs.existing_controller }}.cicd.lab.wlan.tip.build"
|
||||||
|
|
||||||
|
# necessary because if conditionals in composite actions are currently not respected
|
||||||
|
- name: get tests logs
|
||||||
|
if: always()
|
||||||
|
continue-on-error: true
|
||||||
|
run: |
|
||||||
|
podname=$(kubectl get pods -n ${{ steps.namespace.outputs.name }}-roam --no-headers -o custom-columns=":metadata.name" -l job-name=testing | sed "s/pod\///")
|
||||||
|
kubectl logs --timestamps -n ${{ steps.namespace.outputs.name }}-roam $podname || true
|
||||||
|
|
||||||
|
- name: delete namespace
|
||||||
|
if: always()
|
||||||
|
continue-on-error: true
|
||||||
|
run: kubectl delete ns --ignore-not-found=true --wait ${{ steps.namespace.outputs.name }}-roam
|
||||||
|
|
||||||
- name: run schema_validation tests
|
- name: run schema_validation tests
|
||||||
uses: ./.github/actions/run-tests
|
uses: ./.github/actions/run-tests
|
||||||
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'schema_validation_tests')"
|
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'schema_validation_tests')"
|
||||||
@@ -3118,6 +3144,32 @@ jobs:
|
|||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
run: kubectl delete ns --ignore-not-found=true --wait ${{ steps.namespace.outputs.name }}-dfs
|
run: kubectl delete ns --ignore-not-found=true --wait ${{ steps.namespace.outputs.name }}-dfs
|
||||||
|
|
||||||
|
- name: run roam tests
|
||||||
|
uses: ./.github/actions/run-tests
|
||||||
|
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'roam_tests')"
|
||||||
|
with:
|
||||||
|
namespace: ${{ steps.namespace.outputs.name }}-roam
|
||||||
|
testbed: basic-6a
|
||||||
|
marker_expression: "ow_regression_lf and roam_tests"
|
||||||
|
configuration_file: "./lab_info.json"
|
||||||
|
testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }}
|
||||||
|
additional_args: "-o firmware=${{ needs.vars.outputs.ap_version }} ${{ needs.vars.outputs.additional_arguments }}"
|
||||||
|
allure_results_artifact_name: allure-results-${{ steps.ap_model.outputs.model }}-roam_tests
|
||||||
|
dns_records_to_resolve: "sec-${{ needs.vars.outputs.existing_controller }}.cicd.lab.wlan.tip.build gw-${{ needs.vars.outputs.existing_controller }}.cicd.lab.wlan.tip.build fms-${{ needs.vars.outputs.existing_controller }}.cicd.lab.wlan.tip.build"
|
||||||
|
|
||||||
|
# necessary because if conditionals in composite actions are currently not respected
|
||||||
|
- name: get tests logs
|
||||||
|
if: always()
|
||||||
|
continue-on-error: true
|
||||||
|
run: |
|
||||||
|
podname=$(kubectl get pods -n ${{ steps.namespace.outputs.name }}-roam --no-headers -o custom-columns=":metadata.name" -l job-name=testing | sed "s/pod\///")
|
||||||
|
kubectl logs --timestamps -n ${{ steps.namespace.outputs.name }}-roam $podname || true
|
||||||
|
|
||||||
|
- name: delete namespace
|
||||||
|
if: always()
|
||||||
|
continue-on-error: true
|
||||||
|
run: kubectl delete ns --ignore-not-found=true --wait ${{ steps.namespace.outputs.name }}-roam
|
||||||
|
|
||||||
- name: run schema_validation tests
|
- name: run schema_validation tests
|
||||||
uses: ./.github/actions/run-tests
|
uses: ./.github/actions/run-tests
|
||||||
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'schema_validation_tests')"
|
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.marker_expressions), 'schema_validation_tests')"
|
||||||
|
|||||||
Reference in New Issue
Block a user