mirror of
https://github.com/Telecominfraproject/wlan-testing.git
synced 2025-10-29 10:02:26 +00:00
[WIFI-11903] Fix: ap_models github output (#747)
Signed-off-by: Dmitry Dunaev <dmitry@opsfleet.com> Signed-off-by: Dmitry Dunaev <dmitry@opsfleet.com>
This commit is contained in:
2
.github/workflows/get_redirector_url.yml
vendored
2
.github/workflows/get_redirector_url.yml
vendored
@@ -25,7 +25,7 @@ jobs:
|
||||
TESTBEDS="${{ github.event.inputs.testbeds || 'basic-01,basic-02,basic-03,basic-04,basic-05,basic-06,basic-07,basic-08' }}"
|
||||
TESTBEDS=$(echo $TESTBEDS | sed "s/,/\",\"/g" | sed 's/^/[\"/g' | sed 's/$/\"]/g')
|
||||
TESTBEDS=$(echo "$TESTBEDS" | jq -c 'map({"testbed":.})')
|
||||
cat >> $GITHUB_OUTPUT << 'EOF'
|
||||
cat >> $GITHUB_OUTPUT << EOF
|
||||
matrix=${TESTBEDS}
|
||||
EOF
|
||||
|
||||
|
||||
2
.github/workflows/interop.yml
vendored
2
.github/workflows/interop.yml
vendored
@@ -51,7 +51,7 @@ jobs:
|
||||
|
||||
DEVICES="${{ github.event.inputs.devices || 'galaxy-s9,galaxy-s10,galaxy-s20,pixel-4,iphone-7,iphone-11,iphone-xr,iphone-12' }}"
|
||||
DEVICES=$(echo $DEVICES | sed "s/,/\",\"/g" | sed 's/^/[\"/g' | sed 's/$/\"]/g')
|
||||
cat >> $GITHUB_OUTPUT << 'EOF'
|
||||
cat >> $GITHUB_OUTPUT << EOF
|
||||
devices=${DEVICES}
|
||||
EOF
|
||||
echo "openwifi=$(echo ${{ github.event.inputs.openwifi_revision || 'main' }})" >> $GITHUB_OUTPUT
|
||||
|
||||
2
.github/workflows/interop_modified.yml
vendored
2
.github/workflows/interop_modified.yml
vendored
@@ -45,7 +45,7 @@ jobs:
|
||||
echo "marker_overwrite=${{ github.event.inputs.marker_overwrite || '' }}" >> $GITHUB_OUTPUT
|
||||
DEVICES="${{ github.event.inputs.devices || 'galaxy-s9,galaxy-s10,galaxy-s20,pixel-4,iphone-7,iphone-11,iphone-xr,iphone-12' }}"
|
||||
DEVICES=$(echo $DEVICES | sed "s/,/\",\"/g" | sed 's/^/[\"/g' | sed 's/$/\"]/g')
|
||||
cat >> $GITHUB_OUTPUT << 'EOF'
|
||||
cat >> $GITHUB_OUTPUT << EOF
|
||||
devices=${DEVICES}
|
||||
EOF
|
||||
echo "openwifi=$(echo ${{ github.event.inputs.openwifi_revision || 'main' }})" >> $GITHUB_OUTPUT
|
||||
|
||||
2
.github/workflows/interop_performance.yml
vendored
2
.github/workflows/interop_performance.yml
vendored
@@ -46,7 +46,7 @@ jobs:
|
||||
|
||||
DEVICES="${{ github.event.inputs.devices || 'galaxy-s9,galaxy-s10,galaxy-s20,pixel-4,iphone-7,iphone-11,iphone-xr,iphone-12' }}"
|
||||
DEVICES=$(echo $DEVICES | sed "s/,/\",\"/g" | sed 's/^/[\"/g' | sed 's/$/\"]/g')
|
||||
cat >> $GITHUB_OUTPUT << 'EOF'
|
||||
cat >> $GITHUB_OUTPUT << EOF
|
||||
devices=${DEVICES}
|
||||
EOF
|
||||
echo "testbed=${{ github.event.inputs.testbed || '' }}" >> $GITHUB_OUTPUT
|
||||
|
||||
4
.github/workflows/performance.yml
vendored
4
.github/workflows/performance.yml
vendored
@@ -60,13 +60,13 @@ jobs:
|
||||
|
||||
MARKER_EXPRESSIONS="${{ github.event.inputs.marker_expressions || 'dataplane_throughput_test,single_station_dual_band_throughput,wifi_capacity_test' }}"
|
||||
MARKER_EXPRESSIONS=$(echo $MARKER_EXPRESSIONS | sed "s/,/\",\"/g" | sed 's/^/[\"/g' | sed 's/$/\"]/g')
|
||||
cat >> $GITHUB_OUTPUT << 'EOF'
|
||||
cat >> $GITHUB_OUTPUT << EOF
|
||||
marker_expressions=${MARKER_EXPRESSIONS}
|
||||
EOF
|
||||
|
||||
AP_MODELS="${{ github.event.inputs.ap_models || 'Wallys_DR6018,hfcl_ion4xe,edgecore_eap101,edgecore_ecw5211,cig_wf188n,edgecore_eap102,liteon_wpx8324,hfcl_ion4,indio_um-305ac,hfcl_ion4xi,udaya_a5-id2,cig_wf196' }}"
|
||||
AP_MODELS=$(echo $AP_MODELS | sed "s/,/\",\"/g" | sed 's/^/[\"/g' | sed 's/$/\"]/g')
|
||||
cat >> $GITHUB_OUTPUT << 'EOF'
|
||||
cat >> $GITHUB_OUTPUT << EOF
|
||||
ap_models=${AP_MODELS}
|
||||
EOF
|
||||
|
||||
|
||||
2
.github/workflows/quali-advanced.yml
vendored
2
.github/workflows/quali-advanced.yml
vendored
@@ -57,7 +57,7 @@ jobs:
|
||||
AP_MODELS="${{ needs.vars.outputs.ap_models }}"
|
||||
AP_MODELS=$(echo $AP_MODELS | sed "s/,/\",\"/g" | sed 's/^/[\"/g' | sed 's/$/\"]/g')
|
||||
AP_MODELS=$(echo "$AP_MODELS" | jq -c 'map({"ap_model":.})')
|
||||
cat >> $GITHUB_OUTPUT << 'EOF'
|
||||
cat >> $GITHUB_OUTPUT << EOF
|
||||
matrix={"include":${AP_MODELS}}
|
||||
EOF
|
||||
|
||||
|
||||
2
.github/workflows/quali.yml
vendored
2
.github/workflows/quali.yml
vendored
@@ -73,7 +73,7 @@ jobs:
|
||||
fi
|
||||
echo "List of AP models to test - $AP_MODELS"
|
||||
AP_MODELS=$(echo $AP_MODELS | sed "s/,/\",\"/g" | sed 's/^/[\"/g' | sed 's/$/\"]/g')
|
||||
cat >> $GITHUB_OUTPUT << 'EOF'
|
||||
cat >> $GITHUB_OUTPUT << EOF
|
||||
ap_models=${AP_MODELS}
|
||||
EOF
|
||||
|
||||
|
||||
4
.github/workflows/regression.yml
vendored
4
.github/workflows/regression.yml
vendored
@@ -60,13 +60,13 @@ jobs:
|
||||
|
||||
MARKER_EXPRESSIONS="${{ github.event.inputs.marker_expressions || 'ow_dfs_tests_lf,ow_multipsk_tests_lf,ow_rate_limiting_tests_lf,ow_dynamic_qos_tests_lf,ow_dvlan_tests_lf,ow_multi_vlan_tests_lf' }}"
|
||||
MARKER_EXPRESSIONS=$(echo $MARKER_EXPRESSIONS | sed "s/,/\",\"/g" | sed 's/^/[\"/g' | sed 's/$/\"]/g')
|
||||
cat >> $GITHUB_OUTPUT << 'EOF'
|
||||
cat >> $GITHUB_OUTPUT << EOF
|
||||
marker_expressions=${MARKER_EXPRESSIONS}
|
||||
EOF
|
||||
|
||||
AP_MODELS="${{ github.event.inputs.ap_models || 'Wallys_DR6018,hfcl_ion4xe,edgecore_eap101,edgecore_ecw5211,cig_wf188n,edgecore_eap102,liteon_wpx8324,hfcl_ion4,indio_um-305ac,hfcl_ion4xi,udaya_a5-id2,cig_wf196' }}"
|
||||
AP_MODELS=$(echo $AP_MODELS | sed "s/,/\",\"/g" | sed 's/^/[\"/g' | sed 's/$/\"]/g')
|
||||
cat >> $GITHUB_OUTPUT << 'EOF'
|
||||
cat >> $GITHUB_OUTPUT << EOF
|
||||
ap_models=${AP_MODELS}
|
||||
EOF
|
||||
|
||||
|
||||
@@ -77,7 +77,7 @@ jobs:
|
||||
- name: generate-matrix
|
||||
id: set-matrix
|
||||
run: |
|
||||
cat >> $GITHUB_OUTPUT << 'EOF'
|
||||
cat >> $GITHUB_OUTPUT << EOF
|
||||
matrix={"include":${{ env.testbeds }}}
|
||||
EOF
|
||||
|
||||
|
||||
@@ -74,7 +74,7 @@ jobs:
|
||||
- name: generate-matrix
|
||||
id: set-matrix
|
||||
run: |
|
||||
cat >> $GITHUB_OUTPUT << 'EOF'
|
||||
cat >> $GITHUB_OUTPUT << EOF
|
||||
matrix={"include":${{ env.testbeds }}}
|
||||
EOF
|
||||
|
||||
|
||||
Reference in New Issue
Block a user