added steps to correct content type in minio
Code Quality Pipeline / code-quality (pull_request) Failing after 39s
Test Python Package / test (pull_request) Successful in 30s

This commit is contained in:
Brian Bjarke Jensen
2025-09-18 19:45:17 +02:00
parent f1bfd02b7e
commit 60c0993d59
4 changed files with 20 additions and 10 deletions
+10 -2
View File
@@ -13,8 +13,16 @@ jobs:
env:
LABEL_STUDIO_API_TOKEN: ${{ secrets.LABEL_STUDIO_API_TOKEN }}
run: |
# Replace <your_label_studio_url> and <your_storage_id> with your actual values.
# The storage_id can be found in the URL when you view your cloud storage in Label Studio.
curl -X POST \
-H "Authorization: Token $LABEL_STUDIO_API_TOKEN" \
"https://label-studio.gt-proj.com/api/storages/export/s3/1/sync"
- name: Fix MinIO file content type
env:
MINIO_ACCESS_KEY: ${{ secrets.MINIO_ACCESS_KEY }}
MINIO_SECRET_KEY: ${{ secrets.MINIO_SECRET_KEY }}
run: |
mc alias set myminio http://10.0.0.2:9000 $MINIO_ACCESS_KEY $MINIO_SECRET_KEY
mc mirror --recursive --overwrite --attr 'Content-Type=application/json' \
myminio/visual-semiotic-ai-analysis/label-studio-output \
myminio/visual-semiotic-ai-analysis/label-studio-output