Merge pull request 'added step to install minio client' (#6) from fix-sync-label-studio-output-pipeline into main
Code Quality Pipeline / code-quality (push) Successful in 52s
Test Python Package / test (push) Successful in 33s
Sync Label Studio / sync_storage (push) Failing after 52s

Reviewed-on: #6
This commit was merged in pull request #6.
This commit is contained in:
Brian Bjarke Jensen
2025-09-18 21:40:34 +02:00
+7 -1
View File
@@ -3,7 +3,7 @@ name: Sync Label Studio
on:
schedule:
# This job will run every day at 03:00 AM
- cron: "0/10 * * * *"
- cron: "0/5 * * * *"
jobs:
sync_storage:
@@ -17,6 +17,12 @@ jobs:
-H "Authorization: Token $LABEL_STUDIO_API_TOKEN" \
"https://label-studio.gt-proj.com/api/storages/export/s3/1/sync"
- name: Install MinIO Client
run: |
wget https://dl.min.io/client/mc/release/linux-amd64/mc
chmod +x mc
sudo mv mc /usr/local/bin/
- name: Fix Label Studio output content type in MinIO
env:
MINIO_ACCESS_KEY: ${{ secrets.MINIO_ACCESS_KEY }}