csit-vpp-iterative-2602-2n-emr-2222 #7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| name: csit-hfr | |
| run-name: csit-${{ github.event.inputs.dut }}-${{ github.event.inputs.job_type }}-${{ github.event.inputs.branch == 'rls2602' && '2602' }}-${{ github.event.inputs.node }}-${{ github.event.inputs.my_run_id }} | |
| # yamllint disable-line rule:truthy | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| job_type: | |
| description: "The type of job: iterative or coverage." | |
| required: true | |
| type: choice | |
| options: | |
| - iterative | |
| - coverage | |
| default: iterative | |
| dut: | |
| description: "CSIT test/ subdirectory containing suites to execute." | |
| required: true | |
| type: choice | |
| options: | |
| - dpdk | |
| - trex | |
| - vpp | |
| default: vpp | |
| node: | |
| description: Performance testbed node. | |
| required: true | |
| type: choice | |
| options: | |
| - 2n-aws | |
| - 2n-c6in | |
| - 2n-c7g | |
| - 2n-emr | |
| - 2n-grc | |
| - 2n-icx | |
| - 2n-spr | |
| - 2n-zn2 | |
| - 3n-alt | |
| - 3n-emr | |
| - 3n-icx | |
| - 3n-icxd | |
| - 3n-oct | |
| - 3n-snr | |
| - 3na-spr | |
| - 3nb-spr | |
| default: 2n-emr | |
| branch: | |
| description: Branch or patch. | |
| required: true | |
| type: choice | |
| options: | |
| - rls2602 | |
| default: rls2602 | |
| suite_gen_params: | |
| description: Parameters for the suite generator. | |
| required: true | |
| type: string | |
| my_run_id: | |
| description: Run ID. | |
| required: true | |
| type: string | |
| permissions: | |
| contents: read | |
| jobs: | |
| dispatch: | |
| runs-on: | |
| - ubuntu-latest | |
| outputs: | |
| matrix: ${{ steps.set-matrix.outputs.matrix }} | |
| steps: | |
| - name: Prepare node selection matrix | |
| id: set-matrix | |
| uses: fdio/csit/.github/actions/csit-report-dispatch@89e40adc504ab4f2b4ae15a91e26b2f2c754cbf8 | |
| with: | |
| node: ${{ github.event.inputs.node }} | |
| dut: ${{ github.event.inputs.dut }} | |
| csit-hfr: | |
| needs: dispatch | |
| # yamllint disable-line rule:line-length | |
| name: csit-${{ github.event.inputs.dut }}-hfr-${{ github.event.inputs.job_type }}-${{ github.event.inputs.branch == 'rls2602' && '2602' }}-${{ matrix.node }} | |
| runs-on: | |
| - self-hosted | |
| - nomad | |
| - fdio:arch=${{ matrix.executor_arch }} | |
| - fdio:class=builder | |
| - fdio:size=csit | |
| - fdio:namespace=prod | |
| - fdio:os=${{ matrix.os }} | |
| - fdio:workflow=${{ github.run_id }} | |
| timeout-minutes: 1440 | |
| strategy: | |
| matrix: ${{ fromJSON(needs.dispatch.outputs.matrix) }} | |
| env: | |
| # yamllint disable-line rule:line-length | |
| BUILD_TAG: ${{ github.job }}-master-${{ matrix.node }}-${{ github.run_id }} | |
| # yamllint disable-line rule:line-length | |
| JOB_NAME: csit-${{ github.event.inputs.dut }}-hfr-${{ github.event.inputs.job_type }}-${{ github.event.inputs.branch == 'rls2602' && '2602' }}-${{ matrix.node }} | |
| GERRIT_BRANCH: ${{ github.event.inputs.branch }} | |
| TEST_TAG_STRING: ${{ github.event.inputs.suite_gen_params }} | |
| steps: | |
| - name: Git Checkout CSIT | |
| uses: actions/checkout@v6 | |
| with: | |
| ref: master | |
| fetch-depth: 0 |