Skip to content

Commit c7c9101

Browse files
sjarmakclaude
andcommitted
feat: inject SOURCEGRAPH_REPO_NAME into all 165 SDLC Dockerfile.sg_only files
Adds ENV SOURCEGRAPH_REPO_NAME (single-repo) or ENV SOURCEGRAPH_REPOS (multi-repo, comma-separated) to every Dockerfile.sg_only across all 8 SDLC suites (ccb_build, ccb_debug, ccb_design, ccb_document, ccb_fix, ccb_secure, ccb_test, ccb_understand). Mapping rules applied: - sg-benchmarks/* custom mirrors: flipt, ansible, openlibrary, nodebb, navidrome, protonmail, numpy, pandas, scikit-learn, aspnetcore, calcom, ghost, curl, kafka, etcd, llama.cpp, OpenHands, linux kernel (5 mirrors), DIBench repos (cgen, IAMActionHunter, pcap-parser, similar-asserts, CodeCoverageSummary, DotNetKoans, eslint-markdown, dotenv-expand), k8s-stripped (doc tasks), envoy/terraform version-pinned mirrors - github.com/* public repos: django, envoy, k8s, kafka, flink, istio, cilium, argocd, grafana, prometheus, rust, servo, strata, postgres, terraform, vscode, pytorch, qutebrowser, teleport, tutanota, etc. - 15 multi-repo tasks use SOURCEGRAPH_REPOS (comma-separated list) - 5 already-set tasks skipped: curl-cve-triage-001, curl-vuln-reachability-001, kafka-vuln-reachability-001, envoy-code-review-001, vscode-code-review-001 Also adds scripts/inject_sg_repo_env.py (the injection tool used). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent f5ba584 commit c7c9101

File tree

166 files changed

+663
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

166 files changed

+663
-0
lines changed

benchmarks/ccb_build/bustub-hyperloglog-impl-001/environment/Dockerfile.sg_only

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
# TAC Task Wrapper: sde-implement-hyperloglog
66
FROM ghcr.io/theagentcompany/sde-implement-hyperloglog-image:1.0.0
77

8+
ENV SOURCEGRAPH_REPO_NAME=sg-benchmarks/bustub--d5f79431
9+
810
# Create logs directory for Harbor compatibility
911
RUN mkdir -p /logs /workspace
1012

benchmarks/ccb_build/camel-fix-protocol-feat-001/environment/Dockerfile.sg_only

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
FROM ccb-repo-camel-1006f047
66

7+
ENV SOURCEGRAPH_REPO_NAME=github.com/apache/camel
8+
79
# --- sg_only_env: back up full repo, then truncate source ---
810
RUN cp -a /workspace /repo_full
911
RUN find /workspace -type f \( \

benchmarks/ccb_build/cgen-deps-install-001/environment/Dockerfile.sg_only

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
FROM ubuntu:22.04
66

7+
ENV SOURCEGRAPH_REPO_NAME=sg-benchmarks/cgen--dibench
8+
79
ENV DEBIAN_FRONTEND=noninteractive
810

911
RUN apt-get update -qq && apt-get install -y -qq --no-install-recommends \

benchmarks/ccb_build/codecoverage-deps-install-001/environment/Dockerfile.sg_only

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
FROM ubuntu:22.04
66

7+
ENV SOURCEGRAPH_REPO_NAME=sg-benchmarks/CodeCoverageSummary--dibench
8+
79
ENV DEBIAN_FRONTEND=noninteractive
810

911
RUN apt-get update -qq && apt-get install -y -qq --no-install-recommends \

benchmarks/ccb_build/django-dep-refactor-001/environment/Dockerfile.sg_only

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
FROM ccb-repo-flipt-3d5a345f
66

7+
ENV SOURCEGRAPH_REPO_NAME=sg-benchmarks/flipt--3d5a345f
8+
79
# --- sg_only_env: back up full repo, then truncate source ---
810
RUN cp -a /workspace /repo_full
911
RUN find /workspace -type f \( \

benchmarks/ccb_build/dotenv-expand-deps-install-001/environment/Dockerfile.sg_only

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
FROM ubuntu:22.04
66

7+
ENV SOURCEGRAPH_REPO_NAME=sg-benchmarks/dotenv-expand--dibench
8+
79
ENV DEBIAN_FRONTEND=noninteractive
810

911
RUN apt-get update -qq && apt-get install -y -qq --no-install-recommends \

benchmarks/ccb_build/dotnetkoans-deps-install-001/environment/Dockerfile.sg_only

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
FROM ubuntu:22.04
66

7+
ENV SOURCEGRAPH_REPO_NAME=sg-benchmarks/DotNetKoans--dibench
8+
79
ENV DEBIAN_FRONTEND=noninteractive
810

911
RUN apt-get update -qq && apt-get install -y -qq --no-install-recommends \

benchmarks/ccb_build/envoy-grpc-server-impl-001/environment/Dockerfile.sg_only

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
FROM ubuntu:22.04
66

7+
ENV SOURCEGRAPH_REPOS=github.com/envoyproxy/go-control-plane,github.com/istio/istio,github.com/emissary-ingress/emissary
8+
79
ENV DEBIAN_FRONTEND=noninteractive
810

911
RUN apt-get update -qq && apt-get install -y -qq --no-install-recommends \

benchmarks/ccb_build/eslint-markdown-deps-install-001/environment/Dockerfile.sg_only

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
FROM ubuntu:22.04
66

7+
ENV SOURCEGRAPH_REPO_NAME=sg-benchmarks/markdown--dibench
8+
79
ENV DEBIAN_FRONTEND=noninteractive
810

911
RUN apt-get update -qq && apt-get install -y -qq --no-install-recommends \

benchmarks/ccb_build/flink-pricing-window-feat-001/environment/Dockerfile.sg_only

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
FROM ccb-repo-flink-0cc95fcc
66

7+
ENV SOURCEGRAPH_REPO_NAME=github.com/apache/flink
8+
79
# --- sg_only_env: back up full repo, then truncate source ---
810
RUN cp -a /workspace /repo_full
911
RUN find /workspace -type f \( \

0 commit comments

Comments
 (0)