mirror of
https://github.com/trailofbits/buttercup
synced 2026-06-21 14:11:39 +00:00
95875b4ec5
Apply automated fixes from shellcheck and shfmt to all shell scripts: - Quote variables to prevent word splitting and globbing - Use $(...) instead of backticks for command substitution - Add proper shebang and set -euo pipefail where missing - Fix array handling and iteration patterns - Consistent indentation (4 spaces) - Remove unnecessary curly braces and simplify expressions Files fixed: - deployment/*.sh - scripts/*.sh - orchestrator/scripts/*.sh - fuzzer_runner/runner.sh - protoc.sh Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
8 lines
326 B
Bash
Executable File
8 lines
326 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Download all artifacts from the buttercup-ui pod
|
|
BUTTERCUP_UI_POD=$(kubectl get pods -n "${BUTTERCUP_NAMESPACE:-crs}" -l app=ui -o jsonpath='{.items[0].metadata.name}')
|
|
kubectl cp -n crs "$BUTTERCUP_UI_POD":/tmp/buttercup-run-data /tmp/buttercup-run-data
|
|
|
|
echo "Artifacts downloaded to /tmp/buttercup-run-data"
|