Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/workflows/e2e-sgx.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: e2e-sgx
on:
workflow_dispatch:
inputs:
images:
description: 'Images to build before provisioning pull on worker'
required: true
default: 'intel-sgx-plugin intel-sgx-initcontainer intel-sgx-admissionwebhook'

env:
IMAGES: ${{ github.event.inputs.images }}

jobs:
e2e-sgx:
name: e2e-sgx
runs-on: [self-hosted, linux, x64, sgx]
concurrency: one_at_a_time_sgx
steps:
- uses: actions/checkout@v2
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: ${{ github.event.inputs.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
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ e2e-fpga:
e2e-qat:
@$(GO) test -v ./test/e2e/... -ginkgo.v -ginkgo.progress -ginkgo.focus "QAT plugin in DPDK mode"

e2e-sgx:
@$(GO) test -v ./test/e2e/... -ginkgo.v -ginkgo.progress -ginkgo.focus "SGX"

pre-pull:
ifeq ($(TAG),devel)
@$(BUILDER) pull golang:1.17-bullseye
Expand Down