diff --git a/.github/workflows/interop.yml b/.github/workflows/interop.yml index 642dc52f1..96453fe0c 100644 --- a/.github/workflows/interop.yml +++ b/.github/workflows/interop.yml @@ -16,6 +16,10 @@ on: description: comma-separated list of devices to test default: galaxy-s9,galaxy-s10,galaxy-s20,pixel-4,iphone-7,iphone-11,iphone-xr,iphone-12 required: false + firmware: + default: "next-latest" + description: "target firmware version to be specified -" + required: false marker_overwrite: description: overwrite the Pytest markers that will be selected, will disable report uploading required: false @@ -32,9 +36,9 @@ jobs: outputs: devices: ${{ steps.vars.outputs.devices }} marker_overwrite: ${{ steps.vars.outputs.marker_overwrite }} - openwifi_revision: ${{ steps.vars.outputs.openwifi}} - ap_models: ${{ steps.vars.outputs.ap_models}} - ap_version: ${{ steps.vars.outputs.ap_version}} + openwifi_revision: ${{ steps.vars.outputs.openwifi }} + ap_models: ${{ steps.vars.outputs.ap_models }} + firmware: ${{ steps.vars.outputs.ap_version }} marker_expression: ${{ steps.vars.outputs.marker_expression }} existing_controller: ${{ steps.vars.outputs.existing_controller }} @@ -49,7 +53,7 @@ jobs: echo "::set-output name=devices::${DEVICES}" echo ::set-output name=openwifi::$(echo "${{ github.event.inputs.openwifi_revision || 'main' }}") echo ::set-output name=ap_models::$(echo "${{ github.event.inputs.ap_models || 'edgecore_ecw5410,edgecore_eap101,edgecore_ecw5211,cig_wf188n,edgecore_eap102,cig_wf194c,hfcl_ion4' }}") - echo ::set-output name=ap_version::$(echo "${{ github.event.inputs.ap_version || 'next-latest' }}") + echo ::set-output name=firmware::$(echo "${{ github.event.inputs.firmware || 'next-latest' }}") echo ::set-output name=marker_expression::$(echo "${{ github.event.inputs.marker_expression || 'uc_sanity' }}") echo ::set-output name=existing_controller::$(echo "${{ github.event.inputs.existing_controller || 'qa01' }}") @@ -135,7 +139,7 @@ jobs: marker_expression: "${{ needs.vars.outputs.marker_overwrite || 'ow_sanity_interop and android and not wpa3_personal' }}" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} - additional_args: "--device='Galaxy S9' --skip-lanforge" + additional_args: "--device='Galaxy S9' --skip-lanforge -o firmware=${{ needs.vars.outputs.firmware }}" allure_results_artifact_name: allure-results-galaxy-s9 - name: stop reservation @@ -229,7 +233,7 @@ jobs: marker_expression: "${{ needs.vars.outputs.marker_overwrite || 'ow_sanity_interop and ios' }}" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} - additional_args: "--device='iPhone-11' --skip-lanforge" + additional_args: "--device='iPhone-11' --skip-lanforge -o firmware=${{ needs.vars.outputs.firmware }}" allure_results_artifact_name: allure-results-iphone-11 - name: stop reservation @@ -324,7 +328,7 @@ jobs: marker_expression: "${{ needs.vars.outputs.marker_overwrite || 'ow_sanity_interop and android' }}" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} - additional_args: "--device='Galaxy S10.*' --skip-lanforge" + additional_args: "--device='Galaxy S10.*' --skip-lanforge -o firmware=${{ needs.vars.outputs.firmware }}" allure_results_artifact_name: allure-results-galaxy-s10 - name: stop reservation @@ -420,7 +424,7 @@ jobs: marker_expression: "${{ needs.vars.outputs.marker_overwrite || 'ow_sanity_interop and ios' }}" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} - additional_args: "--device='iPhone-7' --skip-lanforge" + additional_args: "--device='iPhone-7' --skip-lanforge -o firmware=${{ needs.vars.outputs.firmware }}" allure_results_artifact_name: allure-results-iphone-7 - name: stop reservation @@ -514,7 +518,7 @@ jobs: marker_expression: "${{ needs.vars.outputs.marker_overwrite || 'ow_sanity_interop and android' }}" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} - additional_args: "--device='Galaxy S20' --skip-lanforge" + additional_args: "--device='Galaxy S20' --skip-lanforge -o firmware=${{ needs.vars.outputs.firmware }}" allure_results_artifact_name: allure-results-galaxy-s20 - name: stop reservation @@ -607,7 +611,7 @@ jobs: marker_expression: "${{ needs.vars.outputs.marker_overwrite || 'ow_sanity_interop and ios' }}" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} - additional_args: "--device='iPhone-XR' --skip-lanforge" + additional_args: "--device='iPhone-XR' --skip-lanforge -o firmware=${{ needs.vars.outputs.firmware }}" allure_results_artifact_name: allure-results-iphone-xr - name: stop reservation @@ -702,7 +706,7 @@ jobs: marker_expression: "${{ needs.vars.outputs.marker_overwrite || 'ow_sanity_interop and android' }}" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} - additional_args: "--device='Pixel 4' --skip-lanforge" + additional_args: "--device='Pixel 4' --skip-lanforge -o firmware=${{ needs.vars.outputs.firmware }}" allure_results_artifact_name: allure-results-pixel-4 - name: stop reservation @@ -794,7 +798,7 @@ jobs: marker_expression: "${{ needs.vars.outputs.marker_overwrite || 'ow_sanity_interop and ios' }}" configuration_file: "./lab_info.json" testing_docker_image: tip-tip-wlan-cloud-docker-repo.jfrog.io/cloud-sdk-nightly:${{ github.run_id }} - additional_args: "--device='iPhone-12' --skip-lanforge" + additional_args: "--device='iPhone-12' --skip-lanforge -o firmware=${{ needs.vars.outputs.firmware }}" allure_results_artifact_name: allure-results-iphone-12 - name: stop reservation