mirror of
https://github.com/projectcapsule/capsule.git
synced 2026-04-05 10:17:42 +00:00
49 lines
1.2 KiB
YAML
49 lines
1.2 KiB
YAML
name: e2e
|
|
permissions: {}
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- "*"
|
|
paths:
|
|
- '.github/workflows/e2e.yml'
|
|
- 'api/**'
|
|
- 'controllers/**'
|
|
- 'pkg/**'
|
|
- 'e2e/*'
|
|
- 'Dockerfile'
|
|
- 'go.*'
|
|
- 'main.go'
|
|
- 'Makefile'
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
e2e:
|
|
name: E2E Testing
|
|
runs-on:
|
|
labels: ubuntu-latest-8-cores
|
|
steps:
|
|
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
|
with:
|
|
fetch-depth: 0
|
|
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
|
|
with:
|
|
go-version-file: 'go.mod'
|
|
- uses: azure/setup-helm@b9e51907a09c216f16ebe8536097933489208112 # v4
|
|
with:
|
|
version: v3.14.2
|
|
- name: unit tracing
|
|
run: sudo make trace-unit
|
|
- name: e2e tracing
|
|
run: sudo make trace-e2e
|
|
- name: build seccomp profile
|
|
run: make seccomp
|
|
- name: upload artifact
|
|
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
|
|
with:
|
|
name: capsule-seccomp
|
|
path: capsule-seccomp.json
|