This commit is contained in:
Hardik Shah 2025-06-26 13:36:06 -07:00
parent db884d71ae
commit f44546f10c

View file

@ -49,7 +49,7 @@ jobs:
run: | run: |
echo "Waiting for ChromaDB to be ready..." echo "Waiting for ChromaDB to be ready..."
for i in {1..30}; do for i in {1..30}; do
if curl -s http://localhost:8000/api/v1/heartbeat | grep -q "nanosecond heartbeat"; then if curl -s http://localhost:8000/api/v2/heartbeat | grep -q "nanosecond heartbeat"; then
echo "ChromaDB is ready!" echo "ChromaDB is ready!"
exit 0 exit 0
fi fi
@ -85,6 +85,11 @@ jobs:
free -h free -h
df -h df -h
- name: Create sanitized provider name
if: ${{ always() }}
run: |
echo "SANITIZED_PROVIDER=${matrix.vector-io-provider//:/_}" >> $GITHUB_ENV
- name: Write ChromaDB logs to file - name: Write ChromaDB logs to file
if: ${{ always() }} if: ${{ always() }}
run: | run: |
@ -94,7 +99,7 @@ jobs:
if: ${{ always() }} if: ${{ always() }}
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with: with:
name: vector-io-logs-${{ github.run_id }}-${{ github.run_attempt }}-${{ matrix.vector-io-provider }}-${{ matrix.python-version }} name: vector-io-logs-${{ github.run_id }}-${{ github.run_attempt }}-${{ env.SANITIZED_PROVIDER }}-${{ matrix.python-version }}
path: | path: |
*.log *.log
retention-days: 1 retention-days: 1