Update Advanced workflow

Signed-off-by: bhargavi-ct <bhargavimamidipaka@candelatech.com>
This commit is contained in:
bhargavi-ct
2025-07-31 17:01:47 +05:30
parent aa1ac5eab8
commit 6de91cc176

View File

@@ -21,7 +21,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: 'edgecore_eap104,edgecore_eap101,edgecore_eap111,cig_wf189,edgecore_eap105,sercomm_ap72tip,cig_wf196,yuncore_ax820,yuncore_fap655' default: 'edgecore_eap104,edgecore_eap101,edgecore_eap111,cig_wf189,edgecore_eap105,sercomm_ap72tip,cig_wf196,yuncore_ax820,yuncore_fap655,edgecore_eap112'
description: 'the AP models to test' description: 'the AP models to test'
ap_version: ap_version:
required: true required: true
@@ -62,7 +62,7 @@ jobs:
id: vars id: vars
run: | run: |
echo "openwifi=$(echo ${{ github.event.inputs.openwifi_revision || 'main' }})" >> $GITHUB_OUTPUT echo "openwifi=$(echo ${{ github.event.inputs.openwifi_revision || 'main' }})" >> $GITHUB_OUTPUT
echo "ap_models=$(echo ${{ github.event.inputs.ap_models || 'edgecore_eap104,edgecore_eap101,cig_wf196' }})" >> $GITHUB_OUTPUT echo "ap_models=$(echo ${{ github.event.inputs.ap_models || 'edgecore_eap104,edgecore_eap101,cig_wf196,edgecore_eap112' }})" >> $GITHUB_OUTPUT
echo "ap_version=$(echo ${{ github.event.inputs.ap_version || 'next-latest' }})" >> $GITHUB_OUTPUT echo "ap_version=$(echo ${{ github.event.inputs.ap_version || 'next-latest' }})" >> $GITHUB_OUTPUT
echo "marker_expression=$(echo ${{ github.event.inputs.marker_expression || 'advance' }})" >> $GITHUB_OUTPUT echo "marker_expression=$(echo ${{ github.event.inputs.marker_expression || 'advance' }})" >> $GITHUB_OUTPUT
echo "existing_controller=$(echo ${{ github.event.inputs.existing_controller || 'qa01' }})" >> $GITHUB_OUTPUT echo "existing_controller=$(echo ${{ github.event.inputs.existing_controller || 'qa01' }})" >> $GITHUB_OUTPUT
@@ -73,7 +73,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 || 'edgecore_eap104,edgecore_eap101,cig_wf196' }}" AP_MODELS="${{ github.event.inputs.ap_models || 'edgecore_eap104,edgecore_eap101,cig_wf196,edgecore_eap112' }}"
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,cig_wf186h' }}" AP_MODELS="${{ github.event.inputs.ap_models || 'edgecore_oap101-6e,edgecore_eap102,cig_wf186h' }}"
@@ -107,13 +107,13 @@ jobs:
registry_user: ${{ secrets.DOCKER_USER_NAME }} registry_user: ${{ secrets.DOCKER_USER_NAME }}
registry_password: ${{ secrets.DOCKER_USER_PASSWORD }} registry_password: ${{ secrets.DOCKER_USER_PASSWORD }}
test-edgecore-eap104: test-edgecore-eap112:
runs-on: [ self-hosted, small ] runs-on: [ self-hosted, small ]
needs: [ "vars", "build" ] needs: [ "vars", "build" ]
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_eap112')"
env: env:
AP_MODEL: edgecore_eap104 AP_MODEL: edgecore_eap112
steps: steps:
- name: Set AP model output - name: Set AP model output
id: ap_model id: ap_model
@@ -973,7 +973,7 @@ jobs:
report: report:
if: "!cancelled()" if: "!cancelled()"
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [ vars, test-edgecore-eap104, test-edgecore-eap101, test-edgecore-eap111, test-cig-wf189, test-edgecore-eap105, test-sercomm-ap72tip, test-cig-wf196, test-yuncore-ax820, test-yuncore-fap655 ] needs: [ vars, test-edgecore-eap104, test-edgecore-eap101, test-edgecore-eap111, test-cig-wf189, test-edgecore-eap105, test-sercomm-ap72tip, test-cig-wf196, test-yuncore-ax820, test-yuncore-fap655, test-edgecore-eap112 ]
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
@@ -1024,7 +1024,7 @@ jobs:
s3_access_key_secret: ${{ secrets.ALLURE_S3_ACCESS_KEY_SECRET }} s3_access_key_secret: ${{ secrets.ALLURE_S3_ACCESS_KEY_SECRET }}
cleanup: cleanup:
needs: [ test-edgecore-eap104, test-edgecore-eap101, test-edgecore-eap111, test-cig-wf189, test-edgecore-eap105, test-sercomm-ap72tip, test-cig-wf196, test-yuncore-ax820, test-yuncore-fap655 ] needs: [ test-edgecore-eap104, test-edgecore-eap101, test-edgecore-eap111, test-cig-wf189, test-edgecore-eap105, test-sercomm-ap72tip, test-cig-wf196, test-yuncore-ax820, test-yuncore-fap655, test-edgecore-eap112 ]
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: always() if: always()
steps: steps: