updated CI #2263
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!2263
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "refs/pull/2263/head"
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?
Imported from GitHub pull request.
Original GitHub pull request: #1688
Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/pull/1688
Original created: 2025-10-03T05:04:20Z
Original updated: 2025-12-08T06:55:32Z
Original head: carverauto/serviceradar:1687-chorebazel-update-github-ci-to-publish-docker-images
Original base: main
Original merged: 2025-10-03T05:14:22Z by @mfreeman451
PR Type
Enhancement
Description
Replaced Docker-based CI with Bazel-based OCI image publishing
Consolidated 17 separate build jobs into single streamlined workflow
Added BuildBuddy remote caching for improved build performance
Switched from ubuntu to oracle runner infrastructure
Diagram Walkthrough
File Walkthrough
docker-build.yml
Complete CI workflow migration to Bazel.github/workflows/docker-build.yml
publish job
variables
parameter
Imported GitHub PR comment.
Original author: @qodo-code-review[bot]
Original URL: https://github.com/carverauto/serviceradar/pull/1688#issuecomment-3364269403
Original created: 2025-10-03T05:04:47Z
PR Compliance Guide 🔍
Below is a summary of compliance checks for this PR:
Excessive secret exposure
Description: The workflow exposes multiple registry-related secrets as environment variables for all
steps in the job, increasing blast radius if any subsequent step (including third-party
actions) is compromised.
docker-build.yml [22-29]
Referred Code
Secret leakage risk
Description: Creating a .bazelrc.remote file from an environment-provided API key risks accidental
leakage if build logs or artifacts print or upload this file; prefer using --remote_header
via Bazel args or actions with masked secrets.
docker-build.yml [35-41]
Referred Code
🎫 #1687
Codebase context is not defined
Follow the guide to enable codebase context checks.
No custom compliance provided
Follow the guide to enable custom compliance check.
Compliance status legend
🟢 - Fully Compliant🟡 - Partial Compliant
🔴 - Not Compliant
⚪ - Requires Further Human Verification
🏷️ - Compliance label
Imported GitHub PR comment.
Original author: @qodo-code-review[bot]
Original URL: https://github.com/carverauto/serviceradar/pull/1688#issuecomment-3364271271
Original created: 2025-10-03T05:05:48Z
PR Code Suggestions ✨
Explore these optional code suggestions:
CI workflow omits critical test step
The CI workflow is missing the
bazel testcommand before the image publishingstep. This introduces a risk of deploying untested code and should be added to
maintain code quality.
Examples:
.github/workflows/docker-build.yml [21-87]
Solution Walkthrough:
Before:
After:
Suggestion importance[1-10]: 9
__
Why: The suggestion correctly identifies a critical omission of the testing step before publishing images, which was specified in the ticket and is essential for preventing regressions.
Simplify workflow input access logic
Simplify the expression for accessing the
release_tagworkflow input by usingthe
inputscontext directly, i.e.,inputs.release_tag..github/workflows/docker-build.yml [42-51]
Suggestion importance[1-10]: 5
__
Why: The suggestion correctly identifies a way to simplify the GitHub Actions expression by using the
inputscontext, which improves readability and maintainability.