tests for edgecore_ecw5211 replaced with yuncore_fap655 workflows & overviews (#878)

Signed-off-by: anil-tegala <anil.tegala@candelatech.com>
This commit is contained in:
Anil Kumar Tegala
2024-01-19 14:39:04 +05:30
committed by GitHub
parent 9d5c148146
commit eda2f7ab48
4 changed files with 26 additions and 26 deletions

View File

@@ -1,7 +1,7 @@
{ {
"sanity": { "sanity": {
"OVERVIEW_TITLE": "'OpenWifi sanity results'", "OVERVIEW_TITLE": "'OpenWifi sanity results'",
"OVERVIEW_TESTBEDS": ["edgecore_oap101-6e","edgecore_eap101","cig_wf188n","cig_wf196","edgecore_eap102","edgecore_eap104","hfcl_ion4xe","hfcl_ion4xi","edgecore_ecw5211","yuncore_ax820"] "OVERVIEW_TESTBEDS": ["edgecore_oap101-6e","edgecore_eap101","cig_wf188n","cig_wf196","edgecore_eap102","edgecore_eap104","hfcl_ion4xe","hfcl_ion4xi","yuncore_fap655","yuncore_ax820"]
}, },
"interop": { "interop": {
"OVERVIEW_TITLE": "'OpenWifi interop results'", "OVERVIEW_TITLE": "'OpenWifi interop results'",
@@ -15,6 +15,6 @@
"performance": { "performance": {
"OVERVIEW_TITLE": "'OpenWifi performance results'", "OVERVIEW_TITLE": "'OpenWifi performance results'",
"OVERVIEW_TESTBEDS": ["edgecore_oap101-6e","edgecore_eap101","cig_wf188n","cig_wf196","edgecore_eap102","edgecore_eap104","hfcl_ion4xe","hfcl_ion4xi","edgecore_ecw5211","yuncore_ax820"] "OVERVIEW_TESTBEDS": ["edgecore_oap101-6e","edgecore_eap101","cig_wf188n","cig_wf196","edgecore_eap102","edgecore_eap104","hfcl_ion4xe","hfcl_ion4xi","yuncore_fap655","yuncore_ax820"]
} }
} }

View File

@@ -22,7 +22,7 @@ on:
description: "revision of the Open Wifi Helm chart" description: "revision of the Open Wifi Helm chart"
ap_models: ap_models:
required: true required: true
default: "cig_wf188n,cig_wf196,hfcl_ion4xe,edgecore_ecw5211,yuncore_ax820,edgecore_oap101-6e,edgecore_eap102,edgecore_eap101,edgecore_eap104,hfcl_ion4xi" default: "cig_wf188n,cig_wf196,hfcl_ion4xe,yuncore_fap655,yuncore_ax820,edgecore_oap101-6e,edgecore_eap102,edgecore_eap101,edgecore_eap104,hfcl_ion4xi"
description: "the AP models to test" description: "the AP models to test"
ap_version: ap_version:
required: true required: true
@@ -73,7 +73,7 @@ jobs:
marker_expressions=${MARKER_EXPRESSIONS} marker_expressions=${MARKER_EXPRESSIONS}
EOF EOF
AP_MODELS="${{ github.event.inputs.ap_models || 'cig_wf188n,cig_wf196,hfcl_ion4xe,edgecore_ecw5211,yuncore_ax820,edgecore_oap101-6e,edgecore_eap102,edgecore_eap101,edgecore_eap104,hfcl_ion4xi' }}" AP_MODELS="${{ github.event.inputs.ap_models || 'cig_wf188n,cig_wf196,hfcl_ion4xe,yuncore_fap655,yuncore_ax820,edgecore_oap101-6e,edgecore_eap102,edgecore_eap101,edgecore_eap104,hfcl_ion4xi' }}"
AP_MODELS=$(echo $AP_MODELS | sed "s/,/\",\"/g" | sed 's/^/[\"/g' | sed 's/$/\"]/g') 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} ap_models=${AP_MODELS}
@@ -635,13 +635,13 @@ jobs:
run: kubectl -n openwifi-${{ needs.vars.outputs.existing_controller }} logs deployment/owsec run: kubectl -n openwifi-${{ needs.vars.outputs.existing_controller }} logs deployment/owsec
test-edgecore-ecw5211: test-yuncore-fap655:
needs: ["vars", "build"] needs: ["vars", "build"]
runs-on: [ self-hosted, small ] runs-on: [ self-hosted, small ]
timeout-minutes: 1440 timeout-minutes: 1440
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.ap_models), 'edgecore_ecw5211')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.ap_models), 'yuncore_fap655')"
env: env:
AP_MODEL: edgecore_ecw5211 AP_MODEL: yuncore_fap655
steps: steps:
- name: Set AP model output - name: Set AP model output
id: ap_model id: ap_model
@@ -1167,7 +1167,7 @@ jobs:
test-edgecore-eap104: test-edgecore-eap104:
needs: ["vars", "build", "test-edgecore-ecw5211"] needs: ["vars", "build", "test-yuncore-fap655"]
runs-on: [ self-hosted, small ] runs-on: [ self-hosted, small ]
timeout-minutes: 1440 timeout-minutes: 1440
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.ap_models), 'edgecore_eap104')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.ap_models), 'edgecore_eap104')"
@@ -1881,7 +1881,7 @@ jobs:
report: report:
if: "!cancelled()" if: "!cancelled()"
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [vars, test-cig-wf188n, test-edgecore-oap101-6e, test-cig-wf196, test-edgecore-eap102, test-hfcl-ion4xe, test-edgecore-eap101, test-edgecore-ecw5211, test-edgecore-eap104, test-yuncore-ax820, test-hfcl-ion4xi] needs: [vars, test-cig-wf188n, test-edgecore-oap101-6e, test-cig-wf196, test-edgecore-eap102, test-hfcl-ion4xe, test-edgecore-eap101, test-yuncore-fap655, test-edgecore-eap104, test-yuncore-ax820, test-hfcl-ion4xi]
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
@@ -1956,7 +1956,7 @@ jobs:
# Cleanup # Cleanup
cleanup: cleanup:
needs: [test-cig-wf188n, test-edgecore-oap101-6e, test-cig-wf196, test-edgecore-eap102, test-hfcl-ion4xe, test-edgecore-eap101, test-edgecore-ecw5211, test-edgecore-eap104, test-yuncore-ax820, test-hfcl-ion4xi] needs: [test-cig-wf188n, test-edgecore-oap101-6e, test-cig-wf196, test-edgecore-eap102, test-hfcl-ion4xe, test-edgecore-eap101, test-yuncore-fap655, test-edgecore-eap104, test-yuncore-ax820, test-hfcl-ion4xi]
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: always() if: always()
steps: steps:

View File

@@ -22,7 +22,7 @@ on:
description: "revision of the Open Wifi Helm chart" description: "revision of the Open Wifi Helm chart"
ap_models: ap_models:
required: true required: true
default: "cig_wf188n,cig_wf196,hfcl_ion4xe,edgecore_ecw5211,yuncore_ax820,edgecore_oap101-6e,edgecore_eap102,edgecore_eap101,edgecore_eap104,hfcl_ion4xi" default: "cig_wf188n,cig_wf196,hfcl_ion4xe,yuncore_fap655,yuncore_ax820,edgecore_oap101-6e,edgecore_eap102,edgecore_eap101,edgecore_eap104,hfcl_ion4xi"
description: "the AP models to test" description: "the AP models to test"
ap_version: ap_version:
required: true required: true
@@ -76,7 +76,7 @@ jobs:
echo "Current slot is $SLOT" echo "Current slot is $SLOT"
if [[ "$SLOT" -eq "0" ]]; then if [[ "$SLOT" -eq "0" ]]; then
echo "Choosing first slot since $SLOT == 0" echo "Choosing first slot since $SLOT == 0"
AP_MODELS="${{ github.event.inputs.ap_models || 'cig_wf188n,cig_wf196,hfcl_ion4xe,edgecore_ecw5211,yuncore_ax820' }}" AP_MODELS="${{ github.event.inputs.ap_models || 'cig_wf188n,cig_wf196,hfcl_ion4xe,yuncore_fap655,yuncore_ax820' }}"
else else
echo "Choosing second slot since $SLOT != 0" echo "Choosing second slot since $SLOT != 0"
AP_MODELS="${{ github.event.inputs.ap_models || 'edgecore_oap101-6e,edgecore_eap102,edgecore_eap101,edgecore_eap104,hfcl_ion4xi' }}" AP_MODELS="${{ github.event.inputs.ap_models || 'edgecore_oap101-6e,edgecore_eap102,edgecore_eap101,edgecore_eap104,hfcl_ion4xi' }}"
@@ -293,12 +293,12 @@ jobs:
test-edgecore-ecw5211: test-yuncore-fap655:
needs: [ "vars", "build" ] needs: [ "vars", "build" ]
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.ap_models), 'edgecore_ecw5211')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.ap_models), 'yuncore_fap655')"
env: env:
AP_MODEL: edgecore_ecw5211 AP_MODEL: yuncore_fap655
steps: steps:
- name: Set AP model output - name: Set AP model output
id: ap_model id: ap_model
@@ -1013,7 +1013,7 @@ jobs:
report: report:
if: "!cancelled()" if: "!cancelled()"
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [vars, test-cig-wf188n, test-cig-wf196, test-edgecore-ecw5211, test-yuncore-ax820, test-edgecore-eap104, test-edgecore-oap101-6e, test-hfcl-ion4xe, test-edgecore-eap101, test-edgecore-eap102, test-hfcl-ion4xi] needs: [vars, test-cig-wf188n, test-cig-wf196, test-yuncore-fap655, test-yuncore-ax820, test-edgecore-eap104, test-edgecore-oap101-6e, test-hfcl-ion4xe, test-edgecore-eap101, test-edgecore-eap102, test-hfcl-ion4xi]
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
@@ -1064,7 +1064,7 @@ jobs:
# Cleanup # Cleanup
cleanup: cleanup:
needs: [test-cig-wf188n, test-cig-wf196, test-edgecore-ecw5211, test-yuncore-ax820, test-edgecore-eap104, test-edgecore-oap101-6e, test-hfcl-ion4xe, test-edgecore-eap101, test-edgecore-eap102, test-hfcl-ion4xi] needs: [test-cig-wf188n, test-cig-wf196, test-yuncore-fap655, test-yuncore-ax820, test-edgecore-eap104, test-edgecore-oap101-6e, test-hfcl-ion4xe, test-edgecore-eap101, test-edgecore-eap102, test-hfcl-ion4xi]
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: always() if: always()
steps: steps:

View File

@@ -22,7 +22,7 @@ on:
description: "revision of the Open Wifi Helm chart" description: "revision of the Open Wifi Helm chart"
ap_models: ap_models:
required: true required: true
default: "cig_wf188n,cig_wf196,hfcl_ion4xe,edgecore_ecw5211,yuncore_ax820,edgecore_oap101-6e,edgecore_eap102,edgecore_eap101,edgecore_eap104,hfcl_ion4xi" default: "cig_wf188n,cig_wf196,hfcl_ion4xe,yuncore_fap655,yuncore_ax820,edgecore_oap101-6e,edgecore_eap102,edgecore_eap101,edgecore_eap104,hfcl_ion4xi"
description: "the AP models to test" description: "the AP models to test"
ap_version: ap_version:
required: true required: true
@@ -73,7 +73,7 @@ jobs:
marker_expressions=${MARKER_EXPRESSIONS} marker_expressions=${MARKER_EXPRESSIONS}
EOF EOF
AP_MODELS="${{ github.event.inputs.ap_models || 'cig_wf188n,cig_wf196,hfcl_ion4xe,edgecore_ecw5211,yuncore_ax820,edgecore_oap101-6e,edgecore_eap102,edgecore_eap101,edgecore_eap104,hfcl_ion4xi' }}" AP_MODELS="${{ github.event.inputs.ap_models || 'cig_wf188n,cig_wf196,hfcl_ion4xe,yuncore_fap655,yuncore_ax820,edgecore_oap101-6e,edgecore_eap102,edgecore_eap101,edgecore_eap104,hfcl_ion4xi' }}"
AP_MODELS=$(echo $AP_MODELS | sed "s/,/\",\"/g" | sed 's/^/[\"/g' | sed 's/$/\"]/g') 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} ap_models=${AP_MODELS}
@@ -550,13 +550,13 @@ jobs:
run: kubectl -n openwifi-qa01 logs deployment/owsec run: kubectl -n openwifi-qa01 logs deployment/owsec
test-edgecore-ecw5211: test-yuncore-fap655:
needs: ["vars", "build"] needs: ["vars", "build"]
runs-on: [self-hosted, small] runs-on: [self-hosted, small]
timeout-minutes: 1440 timeout-minutes: 1440
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.ap_models), 'edgecore_ecw5211')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.ap_models), 'yuncore_fap655')"
env: env:
AP_MODEL: edgecore_ecw5211 AP_MODEL: yuncore_fap655
steps: steps:
- name: Set AP model output - name: Set AP model output
id: ap_model id: ap_model
@@ -1220,7 +1220,7 @@ jobs:
test-edgecore-eap104: test-edgecore-eap104:
needs: ["vars", "build", "test-edgecore-ecw5211"] needs: ["vars", "build", "test-yuncore-fap655"]
runs-on: [self-hosted, small] runs-on: [self-hosted, small]
timeout-minutes: 1440 timeout-minutes: 1440
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.ap_models), 'edgecore_eap104')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.ap_models), 'edgecore_eap104')"
@@ -1889,7 +1889,7 @@ jobs:
test-hfcl-ion4xi: test-hfcl-ion4xi:
needs: [ "vars", "build", "test-indio-um-305ac"] needs: [ "vars", "build", "test-yuncore-ax820"]
runs-on: [self-hosted, small] runs-on: [self-hosted, small]
timeout-minutes: 1440 timeout-minutes: 1440
if: "!cancelled() && contains(fromJSON(needs.vars.outputs.ap_models), 'hfcl_ion4xi')" if: "!cancelled() && contains(fromJSON(needs.vars.outputs.ap_models), 'hfcl_ion4xi')"
@@ -2334,7 +2334,7 @@ jobs:
report: report:
if: "!cancelled()" if: "!cancelled()"
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [vars, test-hfcl-ion4xe, test-edgecore-eap101, test-edgecore-ecw5211, test-cig-wf188n, test-edgecore-eap102, test-edgecore-eap104, test-edgecore-oap101-6e, test-indio-um-305ac, test-hfcl-ion4xi, test-cig-wf196] needs: [vars, test-hfcl-ion4xe, test-edgecore-eap101, test-yuncore-fap655, test-cig-wf188n, test-edgecore-eap102, test-edgecore-eap104, test-edgecore-oap101-6e, test-yuncore-ax820, test-hfcl-ion4xi, test-cig-wf196]
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
@@ -2387,7 +2387,7 @@ jobs:
# Cleanup # Cleanup
cleanup: cleanup:
needs: [test-hfcl-ion4xe, test-edgecore-eap101, test-edgecore-ecw5211, test-cig-wf188n, test-edgecore-eap102, test-edgecore-eap104, test-edgecore-oap101-6e, test-indio-um-305ac, test-hfcl-ion4xi, test-cig-wf196] needs: [test-hfcl-ion4xe, test-edgecore-eap101, test-yuncore-fap655, test-cig-wf188n, test-edgecore-eap102, test-edgecore-eap104, test-edgecore-oap101-6e, test-yuncore-ax820, test-hfcl-ion4xi, test-cig-wf196]
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: always() if: always()
steps: steps: