feat(build): add os-package native add-on template (#3425) #3471
No reviewers
Labels
No labels
1week
2weeks
Failed compliance check
IP cameras
NATS
Possible security concern
Review effort 1/5
Review effort 2/5
Review effort 3/5
Review effort 4/5
Review effort 5/5
UI
aardvark
accessibility
amd64
api
arm64
auth
back-end
bgp
blog
bug
build
checkers
ci-cd
cleanup
cnpg
codex
core
dependencies
device-management
documentation
duplicate
dusk
ebpf
enhancement
eta 1d
eta 1hr
eta 3d
eta 3hr
feature
fieldsurvey
github_actions
go
good first issue
help wanted
invalid
javascript
k8s
log-collector
mapper
mtr
needs-triage
netflow
network-sweep
observability
oracle
otel
plug-in
proton
python
question
reddit
redhat
research
rperf
rperf-checker
rust
sdk
security
serviceradar-agent
serviceradar-agent-gateway
serviceradar-web
serviceradar-web-ng
siem
snmp
sysmon
topology
ubiquiti
wasm
wontfix
zen-engine
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
carverauto/serviceradar!3471
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/addon-os-package-template"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
delivery-models task 1.2 (os-package half) — the
os-packageadd-on template. Companion to the per-arch pushed-artifact tarball (#3470); together they complete 1.2 within this change's scope.An
os-packageadd-on is delivered as a deb/rpm rather than a signed pushed-artifact tarball. This PR codifies that contract as an inert, copy-ready scaffold atbuild/packaging/addon-template/.The contract (documented in the README)
serviceradar-agent(deb_depends/rpm_requires) — governed by the agent, meaningless without it.exec.install_path+exec.binary; ships the self-describingaddon.yamlso the on-host package is verifiable against the catalog.Contents
Why inert (no BUILD.bazel / no PACKAGES entry)
release_targets.bzl'sdeclare_release_artifacts()builds a_deb/_rpmfor everyPACKAGESkey, so any real entry is auto-released. A "sample" os-package add-on would therefore ship as a real release artifact — not wanted. The scaffold deliberately has noBUILD.bazeland noPACKAGESentry, so it is neither built nor released and cannot break CI; it is the source you copy to package a real os-package add-on (netprobe, bumblebee).build/packaging/bumblebee-scanremains the shipping reference instance (os-package + systemd-timer).Verification
sh -nclean on both scripts; config + config.schema.json parse as JSON;openspec validate add-native-addon-delivery-models --strictpasses. tasks.md updated — 1.2 done within delivery-models (signing owned by build-signing, secret-blocked); only the breaking base-agent carve (1.1) remains.🤖 Generated with Claude Code
lgtm