summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Grimberg <agrimberg@linuxfoundation.org>2023-08-02 13:32:11 -0700
committerAndrew Grimberg <agrimberg@linuxfoundation.org>2023-08-02 14:17:12 -0700
commita47f2a2ff2144ef428e022d86dff64773c35de65 (patch)
tree17ce8ddf658bf6471028236d83fa1058908df542
parent643a5450f2da048338df997c284998a24f09c266 (diff)
CI: Add composed INFO yaml check to non-voting job
In prepration to move to a fully voting INFO yaml verify and docs verify, prep the non-voting job with both workflows Change-Id: Iba671ec3078b536f8ab081cada59fab05bbba95a Issue-ID: CIMAN-33 Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
-rw-r--r--.github/workflows/gerrit-required-verify.yaml (renamed from .github/workflows/gerrit-required-doc-rules-verify.yaml)21
1 files changed, 19 insertions, 2 deletions
diff --git a/.github/workflows/gerrit-required-doc-rules-verify.yaml b/.github/workflows/gerrit-required-verify.yaml
index 53ad486..f070a4e 100644
--- a/.github/workflows/gerrit-required-doc-rules-verify.yaml
+++ b/.github/workflows/gerrit-required-verify.yaml
@@ -1,5 +1,5 @@
---
-name: Gerrit Required doc-rules Verify
+name: Gerrit Required Verify
# yamllint disable-line rule:truthy
on:
@@ -49,7 +49,7 @@ on:
concurrency:
# yamllint disable-line rule:line-length
- group: required-doc-rules-${{ github.workflow }}-${{ github.event.inputs.GERRIT_CHANGE_ID || github.run_id }}
+ group: required-verify-${{ github.workflow }}-${{ github.event.inputs.GERRIT_CHANGE_ID || github.run_id }}
cancel-in-progress: true
env:
@@ -73,6 +73,23 @@ jobs:
- name: Allow replication
run: sleep 10s
+ info-yaml-verify:
+ # yamllint disable-line rule:line-length
+ uses: lfit/releng-reusable-workflows/.github/workflows/gerrit-compose-required-info-yaml-verify.yaml@main
+ with:
+ GERRIT_BRANCH: ${{ inputs.GERRIT_BRANCH }}
+ GERRIT_CHANGE_ID: ${{ inputs.GERRIT_CHANGE_ID }}
+ GERRIT_CHANGE_NUMBER: ${{ inputs.GERRIT_CHANGE_NUMBER }}
+ GERRIT_CHANGE_URL: ${{ inputs.GERRIT_CHANGE_URL }}
+ GERRIT_EVENT_TYPE: ${{ inputs.GERRIT_EVENT_TYPE }}
+ GERRIT_PATCHSET_NUMBER: ${{ inputs.GERRIT_PATCHSET_NUMBER }}
+ GERRIT_PATCHSET_REVISION: ${{ inputs.GERRIT_PATCHSET_REVISION }}
+ GERRIT_PROJECT: ${{ inputs.GERRIT_PROJECT }}
+ GERRIT_REFSPEC: ${{ inputs.GERRIT_REFSPEC }}
+ TARGET_REPO: ${{ inputs.TARGET_REPO }}
+ secrets:
+ GERRIT_SSH_REQUIRED_PRIVKEY: ${{ secrets.GERRIT_SSH_REQUIRED_PRIVKEY }}
+
doc-rules-validation:
needs: prepare
# yamllint disable-line rule:line-length