[VDO-5672] Reset bi_ioprio to the default value when the bio is reset #74
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
pull_request_target: | |
types: [ opened, reopened, ready_for_review, synchronize ] | |
workflow_dispatch: | |
# This allows a subsequently queued workflow run to interrupt previous runs | |
concurrency: | |
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}' | |
cancel-in-progress: true | |
jobs: | |
Verifying: | |
if: github.event.pull_request.draft == false | |
runs-on: ubuntu-latest | |
steps: | |
- name: Start verification | |
run: echo Verification Start | |
# Run assignment action | |
- name: Assign reviewers and assignees | |
uses: dm-vdo/vdo-auto-assign@main | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Remove all known labels | |
uses: buildsville/[email protected] | |
with: | |
token: ${{secrets.GITHUB_TOKEN}} | |
labels: untested, private testing running, private testing done, private testing failed | |
type: remove | |
- name: Add untested label | |
uses: buildsville/[email protected] | |
with: | |
token: ${{secrets.VDODEVEL}} | |
label: untested | |
type: add | |
Testing: | |
if: github.event.pull_request.draft == false | |
runs-on: [self-hosted, trusted] | |
needs: [Verifying] | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
path: dm-linux | |
- uses: actions/checkout@v2 | |
with: | |
repository: ${{ github.event.repository.owner.login }}/vdo-devel | |
path: vdo-devel | |
- name: Add private testing running label | |
uses: buildsville/[email protected] | |
with: | |
token: ${{secrets.GITHUB_TOKEN}} | |
label: private testing running | |
type: add | |
- name: Start private testing | |
run: | | |
cd ${{ github.workspace }}/vdo-devel/src/ | |
make DMLINUX_SOURCE_DIR=${{ github.workspace }}/dm-linux dmlinux-jenkins | |
- name: Copy log file to /permatbit/user/bunsen/artifacts | |
if: failure() | |
run: | | |
REPO=${{ github.repository }} | |
REPO=${REPO//\//-} | |
cp -a ${{ github.workspace }}/vdo-devel/logs /permabit/user/bunsen/artifacts/logs.`date +'%Y%m%d%H%M'`.$REPO.${{ github.event.number }} | |
- name: Remove private testing running label | |
if: always() | |
uses: buildsville/[email protected] | |
with: | |
token: ${{secrets.GITHUB_TOKEN}} | |
label: private testing running | |
type: remove | |
- name: Add private testing failed | |
if: failure() | |
uses: buildsville/[email protected] | |
with: | |
token: ${{secrets.GITHUB_TOKEN}} | |
label: private testing failed | |
type: add | |
- name: Add private testing success | |
if: success() | |
uses: buildsville/[email protected] | |
with: | |
token: ${{secrets.VDODEVEL}} | |
label: private testing done | |
type: add |