Skip to content

Commit

Permalink
CI: Use v0.3 of gerrit-review-action
Browse files Browse the repository at this point in the history
* Add a 10s sleep in the prepare to allow replication to catch up

Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
Change-Id: I2b57fdf375b060f0f055efd6fdc2b39348e35ec0
  • Loading branch information
tykeal committed Apr 10, 2023
1 parent d2356ea commit 7b043b9
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/gerrit-verify.yaml
Expand Up @@ -53,15 +53,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Clear votes
uses: lfit/gerrit-review-action@v0.2
uses: lfit/gerrit-review-action@v0.3
with:
host: gerrit.linuxfoundation.org
host: ${{ vars.LFIT_GERRIT_SERVER }}
username: ${{ vars.LFIT_GERRIT_SSH_USER }}
key: ${{ secrets.LFIT_GERRIT_SSH_PRIVKEY }}
passphrase: ${{ secrets.LFIT_GERRIT_SSH_PRIVKEY_PASSPHRASE }}
key: ${{ secrets.LFIT_GERRIT_SSH_PRIVKEY_NP }}
known_hosts: ${{ vars.LFIT_GERRIT_KNOWN_HOSTS }}
gerrit-change-number: ${{ inputs.GERRIT_CHANGE_NUMBER }}
gerrit-patchset-number: ${{ inputs.GERRIT_PATCHSET_NUMBER }}
vote-type: clear
- name: Allow replication
run:
sleep 10s



# run pre-commit tox env separately to get use of more parallel processing
Expand Down Expand Up @@ -104,12 +108,12 @@ jobs:
steps:
- uses: technote-space/workflow-conclusion-action@v3
- name: Set vote
uses: lfit/gerrit-review-action@v0.2
uses: lfit/gerrit-review-action@v0.3
with:
host: gerrit.linuxfoundation.org
host: ${{ vars.LFIT_GERRIT_SERVER }}
username: ${{ vars.LFIT_GERRIT_SSH_USER }}
key: ${{ secrets.LFIT_GERRIT_SSH_PRIVKEY }}
passphrase: ${{ secrets.LFIT_GERRIT_SSH_PRIVKEY_PASSPHRASE }}
key: ${{ secrets.LFIT_GERRIT_SSH_PRIVKEY_NP }}
known_hosts: ${{ vars.LFIT_GERRIT_KNOWN_HOSTS }}
gerrit-change-number: ${{ inputs.GERRIT_CHANGE_NUMBER }}
gerrit-patchset-number: ${{ inputs.GERRIT_PATCHSET_NUMBER }}
vote-type: ${{ env.WORKFLOW_CONCLUSION }}

0 comments on commit 7b043b9

Please sign in to comment.