-
Notifications
You must be signed in to change notification settings - Fork 229
Expand file tree
/
Copy pathci-goreleaser-ebpf-profiler.yaml
More file actions
56 lines (53 loc) · 1.47 KB
/
ci-goreleaser-ebpf-profiler.yaml
File metadata and controls
56 lines (53 loc) · 1.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: CI - eBPF Profiler - GoReleaser
on:
merge_group:
push:
branches:
- main
- release/*
paths:
- "distributions/otelcol-ebpf-profiler/**"
- "cmd/**"
- ".github/**"
- "scripts/**"
- "Makefile"
- "go.mod"
- "go.sum"
pull_request:
branches:
- main
- release/*
paths:
- "distributions/otelcol-ebpf-profiler/**"
- "cmd/**"
- ".github/**"
- "scripts/**"
- "Makefile"
- "go.mod"
- "go.sum"
permissions:
contents: read
jobs:
check-goreleaser-amd64:
name: CI - eBPF Profiler - GoReleaser
uses: ./.github/workflows/base-ci-goreleaser.yaml
with:
distribution: otelcol-ebpf-profiler
config_file: ebpf-profiler-config.yaml
docker_run_options: "--privileged --pid=host -v /sys/kernel/debug/:/sys/kernel/debug/:ro"
otelcol_run_options: "--feature-gates=service.profilesSupport"
goos: '[ "linux" ]'
goarch: '[ "amd64" ]'
secrets: inherit
check-goreleaser-arm64:
name: CI - eBPF Profiler - GoReleaser
uses: ./.github/workflows/base-ci-goreleaser.yaml
with:
distribution: otelcol-ebpf-profiler
config_file: ebpf-profiler-config.yaml
docker_run_options: "--privileged --pid=host -v /sys/kernel/debug/:/sys/kernel/debug/:ro"
otelcol_run_options: "--feature-gates=service.profilesSupport"
goos: '[ "linux" ]'
goarch: '[ "arm64" ]'
runner_os: ubuntu-24.04-arm
secrets: inherit