Centos7, Centos8, and Ubuntu1804 are all EOL and should be removed
from the testing matrix. This will allow us to focus on the supported
distros.
Pull in the latest updates.
Change-Id: Ia92426676adb2d72eede27f8cb1a342c5986a73e
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
runs-on: ubuntu-latest
steps:
- name: Clear votes
runs-on: ubuntu-latest
steps:
- name: Clear votes
- uses: lfit/gerrit-review-action@v0.3
+ # yamllint disable-line rule:line-length
+ uses: lfit/gerrit-review-action@9627b9a144f2a2cad70707ddfae87c87dce60729 # v0.8
with:
host: ${{ vars.LFIT_GERRIT_SERVER }}
username: ${{ vars.LFIT_GERRIT_SSH_USER }}
with:
host: ${{ vars.LFIT_GERRIT_SERVER }}
username: ${{ vars.LFIT_GERRIT_SSH_USER }}
gerrit-change-number: ${{ inputs.GERRIT_CHANGE_NUMBER }}
gerrit-patchset-number: ${{ inputs.GERRIT_PATCHSET_NUMBER }}
vote-type: clear
gerrit-change-number: ${{ inputs.GERRIT_CHANGE_NUMBER }}
gerrit-patchset-number: ${{ inputs.GERRIT_PATCHSET_NUMBER }}
vote-type: clear
- name: Allow replication
run: sleep 10s
- name: Allow replication
run: sleep 10s
needs: prepare
runs-on: ubuntu-latest
steps:
needs: prepare
runs-on: ubuntu-latest
steps:
- - uses: lfit/checkout-gerrit-change-action@v0.4
+ - name: Gerrit Checkout
+ # yamllint disable-line rule:line-length
+ uses: lfit/checkout-gerrit-change-action@54d751e8bd167bc91f7d665dabe33fae87aaaa63 # v0.9
with:
gerrit-refspec: ${{ inputs.GERRIT_REFSPEC }}
with:
gerrit-refspec: ${{ inputs.GERRIT_REFSPEC }}
+ gerrit-project: ${{ inputs.GERRIT_PROJECT }}
+ gerrit-url: ${{ vars.GERRIT_URL }}
delay: "0s"
- name: Download actionlint
id: get_actionlint
delay: "0s"
- name: Download actionlint
id: get_actionlint
needs: prepare
runs-on: ubuntu-latest
steps:
needs: prepare
runs-on: ubuntu-latest
steps:
- - uses: lfit/checkout-gerrit-change-action@v0.4
+ - name: Gerrit Checkout
+ # yamllint disable-line rule:line-length
+ uses: lfit/checkout-gerrit-change-action@54d751e8bd167bc91f7d665dabe33fae87aaaa63 # v0.9
with:
gerrit-refspec: ${{ inputs.GERRIT_REFSPEC }}
with:
gerrit-refspec: ${{ inputs.GERRIT_REFSPEC }}
+ gerrit-project: ${{ inputs.GERRIT_PROJECT }}
+ gerrit-url: ${{ vars.GERRIT_URL }}
- - uses: actions/setup-python@v4
+ - uses: actions/setup-python@v5
- name: Run static analysis and format checkers
run: pipx run pre-commit run --all-files --show-diff-on-failure
- name: Run static analysis and format checkers
run: pipx run pre-commit run --all-files --show-diff-on-failure
strategy:
matrix:
distro:
strategy:
matrix:
distro:
- - centos7
- - centos8
- - ubuntu1804
- ubuntu2004
- ubuntu2204
fail-fast: false
steps:
- name: Gerrit Checkout
# yamllint disable-line rule:line-length
- ubuntu2004
- ubuntu2204
fail-fast: false
steps:
- name: Gerrit Checkout
# yamllint disable-line rule:line-length
- uses: lfit/checkout-gerrit-change-action@70360ca2f8bee3e6a15224d8a03f8e017b1ac91f # v0.4
+ uses: lfit/checkout-gerrit-change-action@54d751e8bd167bc91f7d665dabe33fae87aaaa63 # v0.9
with:
gerrit-refspec: ${{ inputs.GERRIT_REFSPEC }}
with:
gerrit-refspec: ${{ inputs.GERRIT_REFSPEC }}
+ gerrit-project: ${{ inputs.GERRIT_PROJECT }}
+ gerrit-url: ${{ vars.GERRIT_URL }}
delay: "0s"
- name: Install test dependencies.
run: |
delay: "0s"
- name: Install test dependencies.
run: |
]
runs-on: ubuntu-latest
steps:
]
runs-on: ubuntu-latest
steps:
- - uses: technote-space/workflow-conclusion-action@v3
+ - name: Get conclusion
+ # yamllint disable-line rule:line-length
+ uses: im-open/workflow-conclusion@e4f7c4980600fbe0818173e30931d3550801b992 # v2.2.3
- uses: lfit/gerrit-review-action@v0.3
+ uses: lfit/gerrit-review-action@9627b9a144f2a2cad70707ddfae87c87dce60729 # v0.8
with:
host: ${{ vars.LFIT_GERRIT_SERVER }}
username: ${{ vars.LFIT_GERRIT_SSH_USER }}
with:
host: ${{ vars.LFIT_GERRIT_SERVER }}
username: ${{ vars.LFIT_GERRIT_SSH_USER }}
gerrit-change-number: ${{ inputs.GERRIT_CHANGE_NUMBER }}
gerrit-patchset-number: ${{ inputs.GERRIT_PATCHSET_NUMBER }}
vote-type: ${{ env.WORKFLOW_CONCLUSION }}
gerrit-change-number: ${{ inputs.GERRIT_CHANGE_NUMBER }}
gerrit-patchset-number: ${{ inputs.GERRIT_PATCHSET_NUMBER }}
vote-type: ${{ env.WORKFLOW_CONCLUSION }}