Follow the install instructions for the required dependencies:
Create a new configuration file, starting from the default template:
cp \
deployment/env.template \
deployment/envNext, configure the following options. Follow the instructions in the comments when setting the GHCR_AUTH value.
SCANTRON_GITHUB_PAT
GHCR_AUTH
OPENAI_API_KEY
ANTHROPIC_API_KEY
DOCKER_USERNAME
DOCKER_PATUse the hardcoded test credentials found in the comments:
AZURE_ENABLED=false
TAILSCALE_ENABLED=false
COMPETITION_API_KEY_ID: `11111111-1111-1111-1111-111111111111`
COMPETITION_API_KEY_TOKEN: `secret`
CRS_KEY_ID="515cc8a0-3019-4c9f-8c1c-72d0b54ae561"
CRS_KEY_TOKEN="VGuAC8axfOnFXKBB7irpNDOKcDjOlnyB"
CRS_API_HOSTNAME="<generated with: openssl rand -hex 16>"
BUTTERCUP_K8S_VALUES_TEMPLATE="k8s/values-minikube.template"
OTEL_ENDPOINT="<insert endpoint url from aixcc vault, is pseudo secret>"
OTEL_PROTOCOL="http"Keep empty:
AZURE_API_BASE=""
AZURE_API_KEY=""Commented out:
CRS_URL
CRS_API_HOSTNAME
LANGFUSE_HOST
LANGFUSE_PUBLIC_KEY
LANGFUSE_SECRET_KEY
OTEL_TOKENWhen re-running unscored rounds, set this to true:
MOCK_COMPETITION_API_ENABLEDLog into ghcr.io:
docker login ghcr.io -u <username>cd deployment && make upcd deployment && make downkubectl port-forward -n crs service/buttercup-competition-api 31323:1323./orchestrator/scripts/task_crs.shSend a SARIF message
./orchestrator/scripts/send_sarif.sh <TASK-ID-FROM-TASK-CRS>kubectl port-forward -n crs service/buttercup-competition-api 31323:1323./orchestrator/scripts/round_2_sim.shCheck that patches get submitted to the bundler.
kubectl logs -n crs -l app=scheduler --tail=-1 --prefix | grep "WAIT_PATCH_PASS -> SUBMIT_BUNDLE"If needing to debug, run the following to log into the pod.
kubectl get pods -n crs
kubectl exec -it -n crs <pod-name> -- /bin/bash