Skip to content

Commit 2dabd17

Browse files
committed
run ebpf container privileged
1 parent 2195474 commit 2dabd17

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/base-ci-goreleaser.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ on:
2121
required: false
2222
type: string
2323
default: default-config
24+
docker_run_options:
25+
required: false
26+
type: string
2427
otelcol_run_options:
2528
required: false
2629
type: string
@@ -283,6 +286,7 @@ jobs:
283286
echo "Running container..."
284287
docker run --name ${{ inputs.distribution }} \
285288
-d \
289+
${{ inputs.docker_run_options }} \
286290
-v ${PWD}/tests/docker-tests/${{ inputs.config_file }}.yaml:/config.yaml \
287291
${{ inputs.distribution }}:${{ needs.check-goreleaser.outputs.version }}-${{ matrix.GOOS }}-${{ matrix.GOARCH }} \
288292
--config /config.yaml ${{ inputs.otelcol_run_options }}

.github/workflows/ci-goreleaser-ebpf-profiler.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
with:
3131
distribution: otelcol-ebpf-profiler
3232
config_file: ebpf-profiler-config
33+
docker_run_options: '--privileged'
3334
otelcol_run_options: '--feature-gates=service.profilesSupport'
3435
goos: '[ "linux" ]'
3536
goarch: '[ "amd64" ]'

0 commit comments

Comments
 (0)