正式なドキュメントは英語版であり、この日本語訳はAI支援翻訳により作成された参考用のものです。日本語訳の一部の内容は人間によるレビューがまだ行われていないため、翻訳のタイミングにより英語版との間に差異が生じることがあります。最新かつ正確な情報については、英語版をご参照ください。
ドキュメントに関する現在のご利用体験についてお聞かせください。アンケートにご協力ください。

glab dependency-firewall job-proxy start

Start the job-level proxy and print shell exports to route the job through it.

Synopsis

Start the job-level Dependency Firewall proxy as a background process and print export lines that route the current shell through it. Evaluate the output so the exports apply to the rest of the job.

If the proxy cannot start, the command prints false, so the eval fails and a CI/CD job (which runs with set -e) stops instead of running without the firewall.

glab dependency-firewall job-proxy start [flags]

Examples

console
# In before_script: route the rest of the CI/CD job through the proxy
eval "$(glab dependency-firewall job-proxy start)"

# As the last command in script: fail the job if a package was blocked
glab dependency-firewall ci-summary

Environment variables

GLAB_DF_JOB_PROXY_STATE_DIR: directory for the proxy's runtime state (address, pid, CA). Set it to pin a known location; otherwise start creates a fresh per-user directory and exports this variable so `job-proxy stop` finds the same proxy.

Options inherited from parent commands

  -h, --help   Show help for this command.