| Eric Ball | b9c6206 | 2026-02-03 07:49:12 -0800 | [diff] [blame] | 1 | --- |
| Eric Ball | cac645c | 2026-02-03 07:57:15 -0800 | [diff] [blame^] | 2 | # SPDX-License-Identifier: Apache-2.0 |
| 3 | # Copyright 2026 The Linux Foundation |
| 4 | |
| Eric Ball | b9c6206 | 2026-02-03 07:49:12 -0800 | [diff] [blame] | 5 | name: Call Verify Workflow(s) |
| 6 | |
| 7 | # yamllint disable-line rule:truthy |
| 8 | on: |
| 9 | workflow_dispatch: |
| 10 | inputs: |
| 11 | GERRIT_BRANCH: |
| 12 | description: "Branch that change is against" |
| 13 | required: true |
| 14 | type: string |
| 15 | GERRIT_CHANGE_ID: |
| 16 | description: "The ID for the change" |
| 17 | required: true |
| 18 | type: string |
| 19 | GERRIT_CHANGE_NUMBER: |
| 20 | description: "The Gerrit number" |
| 21 | required: true |
| 22 | type: string |
| 23 | GERRIT_CHANGE_URL: |
| 24 | description: "URL to the change" |
| 25 | required: true |
| 26 | type: string |
| 27 | GERRIT_EVENT_TYPE: |
| 28 | description: "Type of Gerrit event" |
| 29 | required: true |
| 30 | type: string |
| 31 | GERRIT_PATCHSET_NUMBER: |
| 32 | description: "The patch number for the change" |
| 33 | required: true |
| 34 | type: string |
| 35 | GERRIT_PATCHSET_REVISION: |
| 36 | description: "The revision sha" |
| 37 | required: true |
| 38 | type: string |
| 39 | GERRIT_PROJECT: |
| 40 | description: "Project in Gerrit" |
| 41 | required: true |
| 42 | type: string |
| 43 | GERRIT_REFSPEC: |
| 44 | description: "Gerrit refspec of change" |
| 45 | required: true |
| 46 | type: string |
| 47 | |
| 48 | concurrency: |
| 49 | # yamllint disable-line rule:line-length |
| 50 | group: ${{ github.repository }}-${{ github.workflow }}-${{ github.event.inputs.GERRIT_CHANGE_ID || github.run_id }} |
| 51 | cancel-in-progress: true |
| 52 | |
| 53 | permissions: read-all |
| 54 | |
| 55 | jobs: |
| 56 | call-onos-component-verify: |
| 57 | # yamllint disable-line rule:line-length |
| 58 | uses: ${{ github.repository_owner }}/shared-workflows/workflows/verify-onos-component.yaml@main |
| 59 | with: |
| 60 | GERRIT_BRANCH: ${{ inputs.GERRIT_BRANCH }} |
| 61 | GERRIT_CHANGE_ID: ${{ inputs.GERRIT_CHANGE_ID }} |
| 62 | GERRIT_CHANGE_NUMBER: ${{ inputs.GERRIT_CHANGE_NUMBER }} |
| 63 | GERRIT_CHANGE_URL: ${{ inputs.GERRIT_CHANGE_URL }} |
| 64 | GERRIT_EVENT_TYPE: ${{ inputs.GERRIT_EVENT_TYPE }} |
| 65 | GERRIT_PATCHSET_NUMBER: ${{ inputs.GERRIT_PATCHSET_NUMBER }} |
| 66 | GERRIT_PATCHSET_REVISION: ${{ inputs.GERRIT_PATCHSET_REVISION }} |
| 67 | GERRIT_PROJECT: ${{ inputs.GERRIT_PROJECT }} |
| 68 | GERRIT_REFSPEC: ${{ inputs.GERRIT_REFSPEC }} |
| 69 | secrets: |
| 70 | GERRIT_SSH_PRIVKEY: ${{ secrets.GERRIT_SSH_PRIVKEY }} |