fix(smoke-test): copy promtail config file instead of directory
Some checks failed
Checkout test / test (push) Successful in 5s
CI/CD Pipeline / Test (push) Failing after 1s
CI/CD Pipeline / Dev Compose Smoke Test (push) Has been skipped
CI/CD Pipeline / Build (push) Has been skipped
CI/CD Pipeline / Test Scripts (push) Has been skipped
CI/CD Pipeline / Test Native Libraries (push) Has been skipped
CI/CD Pipeline / GPU Golden Test Matrix (push) Has been skipped
Documentation / build-and-publish (push) Failing after 38s
CI/CD Pipeline / Docker Build (push) Has been skipped
Build CLI with Embedded SQLite / build (arm64, aarch64-linux) (push) Has been cancelled
Build CLI with Embedded SQLite / build (x86_64, x86_64-linux) (push) Has been cancelled
Build CLI with Embedded SQLite / build-macos (arm64) (push) Has been cancelled
Build CLI with Embedded SQLite / build-macos (x86_64) (push) Has been cancelled
Security Scan / Security Analysis (push) Has been cancelled
Security Scan / Native Library Security (push) Has been cancelled
Verification & Maintenance / V.1 - Schema Drift Detection (push) Has been cancelled
Verification & Maintenance / V.4 - Custom Go Vet Analyzers (push) Has been cancelled
Verification & Maintenance / V.7 - Audit Chain Integrity (push) Has been cancelled
Verification & Maintenance / V.6 - Extended Security Scanning (push) Has been cancelled
Verification & Maintenance / V.10 - OpenSSF Scorecard (push) Has been cancelled
Verification & Maintenance / Verification Summary (push) Has been cancelled

Copy just promtail-config.yml to temp root instead of entire monitoring/
directory. This fixes the mount error where promtail couldn't find its
config at the expected path.
This commit is contained in:
Jeremie Fraeys 2026-02-24 11:57:35 -05:00
parent bcc432a524
commit 6e0e7d9d2e
No known key found for this signature in database

8
scripts/dev/smoke-test.sh Normal file → Executable file
View file

@ -119,8 +119,8 @@ if [ "$env" = "dev" ]; then
"$SMOKE_TEST_DATA_DIR/active" \
"$SMOKE_TEST_DATA_DIR/workspaces"
# Copy monitoring configs to temp directory (required for promtail)
cp -r "$repo_root/monitoring" "$SMOKE_TEST_DATA_DIR/"
# Copy monitoring config to temp directory (required for promtail)
cp "$repo_root/monitoring/promtail-config.yml" "$SMOKE_TEST_DATA_DIR/"
# Export for docker-compose to use
export SMOKE_TEST_DATA_DIR
@ -155,8 +155,8 @@ else
"$SMOKE_TEST_DATA_DIR/experiments" \
"$SMOKE_TEST_DATA_DIR/active"
# Copy monitoring configs to temp directory (required for promtail)
cp -r "$repo_root/monitoring" "$SMOKE_TEST_DATA_DIR/"
# Copy monitoring config to temp directory (required for promtail)
cp "$repo_root/monitoring/promtail-config.yml" "$SMOKE_TEST_DATA_DIR/"
# Export for docker-compose to use
export SMOKE_TEST_DATA_DIR