add DLB workflow

Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
This commit is contained in:
Ed Bartosh 2022-06-09 17:13:24 +03:00
parent 98fd984142
commit 7a92912d87

34
.github/workflows/e2e-dlb.yml vendored Normal file
View File

@ -0,0 +1,34 @@
name: e2e-dlb
on:
workflow_dispatch:
schedule:
- cron: '0 4 * * *'
pull_request:
branches:
- main
- 'release-*'
env:
IMAGES: 'intel-dlb-plugin dlb-libdlb-demo'
jobs:
e2e-dlb:
name: e2e-dlb
runs-on: [self-hosted, linux, x64, dlb]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Describe test environment
run: |
echo "Event name: ${{ github.event_name }}"
echo "Actor: ${{ github.actor }}"
echo "Ref: ${{ github.ref }}"
echo "SHA: ${{ github.sha }}"
echo "Images: $IMAGES"
- name: Wait for ready state
run: ../../../../bmetal/actions-bmetal-runstage.sh waitready
- name: Prepare test environment
run: ../../../../bmetal/actions-bmetal-runstage.sh prepare
- name: Run tests
run: ../../../../bmetal/actions-bmetal-runstage.sh test