Skip to content

Commit 62034b1

Browse files
committed
Configure release of the ebpf-profiler distro
Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com>
1 parent 85c8b56 commit 62034b1

File tree

4 files changed

+47
-0
lines changed

4 files changed

+47
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Use this changelog template to create an entry for release notes.
2+
3+
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
4+
change_type: enhancement
5+
6+
# The name of the component, or a single word describing the area of concern, (e.g. otlpreceiver)
7+
component: ebpf-profiler
8+
9+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
10+
note: Start producing release artifacts for the eBPF profiler distribution.
11+
12+
# One or more tracking issues or pull requests related to the change
13+
issues: [984]
14+
15+
# (Optional) One or more lines of additional information to render under the primary note.
16+
# These lines will be padded with 2 spaces and then inserted directly into the document.
17+
# Use pipe (|) for multiline entries.
18+
subtext:
19+
20+
# Optional: The change log or logs in which this entry should be included.
21+
# e.g. '[user]' or '[user, api]'
22+
# Include 'user' if the change is relevant to end users.
23+
# Include 'api' if there is a change to a library API.
24+
# Default: '[user]'
25+
change_logs: [user]
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Release eBPF Profiler
2+
3+
on:
4+
push:
5+
tags: ["v*"]
6+
7+
jobs:
8+
release:
9+
name: Release eBPF Profiler
10+
uses: ./.github/workflows/base-release.yaml
11+
with:
12+
distribution: otelcol-ebpf-profiler
13+
goos: '[ "linux" ]'
14+
goarch: '[ "amd64" ]'
15+
nightly: ${{ contains(github.ref, '-nightly') }}
16+
secrets: inherit
17+
permissions: write-all

cmd/goreleaser/internal/configure.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ var (
193193
WithDefaultEnv().
194194
WithDefaultPartial().
195195
WithDefaultRelease().
196+
WithNightlyConfig().
196197
Build()
197198

198199
// OCB binary

distributions/otelcol-ebpf-profiler/.goreleaser.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,3 +85,7 @@ monorepo:
8585
tag_prefix: v
8686
partial:
8787
by: target
88+
nightly:
89+
version_template: '{{ incpatch .Version}}-nightly.{{ .ShortCommit }}'
90+
tag_name: nightly-otelcol-ebpf-profiler
91+
keep_single_release: true

0 commit comments

Comments
 (0)