fix(ci): move PVC mount to /mnt/training-data (avoids Redis /data conflict)
Redis image WORKDIR is /data and entrypoint runs chown recursively. PVC mounted at /data/training was read-only, causing chown to fail with exit code 1, crashing the Redis sidecar. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -17,8 +17,8 @@ variables:
|
||||
CUDA_COMPUTE_CAP: "90"
|
||||
# Stable JWT secret for api_gateway tests (prevents env-var race between parallel tests)
|
||||
JWT_SECRET: "CiTestSecret_Kx7mP9nR2sW5vY8bC3fG6jH1kL4pQ7tZ0uN9dM5eV8xS2wT6yA4zB_64chars_min"
|
||||
# Training data on block storage PVC (mounted at /data/training by runner)
|
||||
FOXHUNT_DATA_DIR: "/data/training/futures-baseline"
|
||||
# Training data on block storage PVC (mounted at /mnt/training-data by runner)
|
||||
FOXHUNT_DATA_DIR: "/mnt/training-data/futures-baseline"
|
||||
SCCACHE_BUCKET: $SCCACHE_BUCKET
|
||||
SCCACHE_ENDPOINT: $SCCACHE_ENDPOINT
|
||||
SCCACHE_S3_USE_SSL: "true"
|
||||
|
||||
@@ -47,9 +47,10 @@ runners:
|
||||
[runners.kubernetes.pod_labels]
|
||||
"app.kubernetes.io/part-of" = "foxhunt-ci"
|
||||
# Mount training data PVC (Databento futures .dbn.zst files)
|
||||
# Path must NOT be under /data — Redis image's WORKDIR is /data and entrypoint chowns it
|
||||
[[runners.kubernetes.volumes.pvc]]
|
||||
name = "training-data-pvc"
|
||||
mount_path = "/data/training"
|
||||
mount_path = "/mnt/training-data"
|
||||
read_only = true
|
||||
|
||||
# Runner tags for job matching
|
||||
|
||||
Reference in New Issue
Block a user