intel-device-plugins-for-ku.../.github/workflows/lib-e2e.yaml
Mikko Ylinen e565604ee5 ci: enable SGX Admission tests for e2e-sgx
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2024-03-07 14:46:30 +02:00

73 lines
2.7 KiB
YAML

name: e2e
on:
workflow_call:
permissions:
contents: read
jobs:
e2e:
strategy:
fail-fast: false
matrix:
include:
- name: e2e-dsa-spr
targetjob: e2e-dsa
runner: simics-spr
images: intel-dsa-plugin intel-idxd-config-initcontainer accel-config-demo intel-deviceplugin-operator
- name: e2e-dsa-gnr
targetjob: e2e-dsa
runner: simics-gnr
images: intel-dsa-plugin intel-idxd-config-initcontainer accel-config-demo intel-deviceplugin-operator
- name: e2e-fpga
runner: fpga
images: intel-fpga-plugin intel-fpga-initcontainer intel-fpga-admissionwebhook opae-nlb-demo
- name: e2e-gpu
runner: gpu
images: intel-gpu-plugin intel-gpu-initcontainer
- name: e2e-iaa-spr
targetjob: e2e-iaa
runner: simics-spr
images: intel-iaa-plugin intel-idxd-config-initcontainer accel-config-demo intel-deviceplugin-operator
- name: e2e-iaa-gnr
targetjob: e2e-iaa
runner: simics-gnr
images: intel-iaa-plugin intel-idxd-config-initcontainer accel-config-demo intel-deviceplugin-operator
- name: e2e-qat
targetjob: e2e-qat FOCUS=Resource:generic
runner: qat
images: intel-qat-plugin intel-qat-initcontainer crypto-perf
- name: e2e-qat4
targetjob: e2e-qat FOCUS="Mode:dpdk.*Resource:(cy|dc)" SKIP=App:crypto-perf
runner: simics-spr
images: intel-qat-plugin intel-qat-initcontainer openssl-qat-engine
- name: e2e-sgx
targetjob: e2e-sgx FOCUS="|(SGX Admission)"
runner: sgx
images: intel-sgx-plugin intel-sgx-initcontainer intel-sgx-admissionwebhook sgx-sdk-demo intel-deviceplugin-operator
name: ${{ matrix.name }}
runs-on: ${{ matrix.runner }}
env:
TARGET_JOB: ${{ matrix.targetjob || matrix.name }}
IMAGES: ${{ matrix.images }}
steps:
- uses: actions/checkout@v4
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"
echo "Target job: $TARGET_JOB"
- 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