blob: 79b01c4a9deb27bb2537972b675d71f5e2d1ba2f [file] [log] [blame]
Eric Ball274ca2e2024-09-12 15:20:09 -07001---
2name: Call Composed ci-management Merge
3
4# yamllint disable-line rule:truthy
5on:
6 workflow_dispatch:
7 inputs:
8 GERRIT_BRANCH:
9 description: "Branch that change is against"
10 required: true
11 type: string
12 GERRIT_CHANGE_ID:
13 description: "The ID for the change"
14 required: true
15 type: string
16 GERRIT_CHANGE_NUMBER:
17 description: "The Gerrit number"
18 required: true
19 type: string
20 GERRIT_CHANGE_URL:
21 description: "URL to the change"
22 required: true
23 type: string
24 GERRIT_EVENT_TYPE:
25 description: "Type of Gerrit event"
26 required: true
27 type: string
28 GERRIT_PATCHSET_NUMBER:
29 description: "The patch number for the change"
30 required: true
31 type: string
32 GERRIT_PATCHSET_REVISION:
33 description: "The revision sha"
34 required: true
35 type: string
36 GERRIT_PROJECT:
37 description: "Project in Gerrit"
38 required: true
39 type: string
40 GERRIT_REFSPEC:
41 description: "Gerrit refspec of change"
42 required: true
43 type: string
44
45concurrency:
46 # yamllint disable-line rule:line-length
47 group: ci-management-${{ github.workflow }}-${{ github.event.inputs.GERRIT_CHANGE_ID || github.run_id }}
48 cancel-in-progress: true
49
50permissions: read-all
51
52jobs:
53 call-composed-ci-man-merge:
54 # yamllint disable-line rule:line-length
55 uses: lfit/releng-reusable-workflows/.github/workflows/gerrit-ci-management-merge.yaml@cfe55838e3aac24c19b250029ba9d4f503c54fc6
56 with:
57 GERRIT_BRANCH: ${{ inputs.GERRIT_BRANCH }}
58 GERRIT_CHANGE_ID: ${{ inputs.GERRIT_CHANGE_ID }}
59 GERRIT_CHANGE_NUMBER: ${{ inputs.GERRIT_CHANGE_NUMBER }}
60 GERRIT_CHANGE_URL: ${{ inputs.GERRIT_CHANGE_URL }}
61 GERRIT_EVENT_TYPE: ${{ inputs.GERRIT_EVENT_TYPE }}
62 GERRIT_PATCHSET_NUMBER: ${{ inputs.GERRIT_PATCHSET_NUMBER }}
63 GERRIT_PATCHSET_REVISION: ${{ inputs.GERRIT_PATCHSET_REVISION }}
64 GERRIT_PROJECT: ${{ inputs.GERRIT_PROJECT }}
65 GERRIT_REFSPEC: ${{ inputs.GERRIT_REFSPEC }}
66 secrets:
67 GERRIT_SSH_PRIVKEY: ${{ secrets.GERRIT_SSH_PRIVKEY }}
Eric Ball458feae2024-09-12 16:05:35 -070068 JOBBUILDER_PROD_PSW: ${{ secrets.JOBBUILDER_PROD_PSW }}