Skip to content

Commit 8ec43a2

Browse files
committed
Upload traffic monitoring log as artifacts
After enabling traffic monitor in bpf selftests, upload the log files as artifacts. Signed-off-by: Amery Hung <ameryhung@gmail.com>
1 parent 558f313 commit 8ec43a2

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/kernel-test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,4 @@ jobs:
8282
# Here we must use kbuild-output local to the repo, because
8383
# it was extracted from the artifacts.
8484
kbuild-output: ${{ env.REPO_ROOT }}/kbuild-output
85+
toolchain_full: ${{ inputs.toolchain_full }}

run-vmtest/action.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ inputs:
3131
description: 'Release version of vmtest tool to use'
3232
required: false
3333
default: 'v0.15.0'
34+
toolchain_full:
35+
required: true
36+
type: string
37+
description: The toolchain, e.g gcc, llvm
3438

3539
runs:
3640
using: "composite"
@@ -76,4 +80,9 @@ runs:
7680
VMLINUZ: ${{ inputs.vmlinuz || '' }}
7781
run: |
7882
${GITHUB_ACTION_PATH}/run.sh
83+
- uses: actions/upload-artifact@v4
84+
with:
85+
name: tmon-logs-${{ inputs.arch }}-${{ inputs.toolchain_full }}${{ inputs.kernel-test }}
86+
if-no-files-found: error
87+
path: "/tmp/tmon_pcap/*"
7988

0 commit comments

Comments
 (0)