Merge pull request 'added step to install minio client' (#6) from fix-sync-label-studio-output-pipeline into main
Reviewed-on: #6
This commit was merged in pull request #6.
This commit is contained in:
@@ -3,7 +3,7 @@ name: Sync Label Studio
|
|||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
# This job will run every day at 03:00 AM
|
# This job will run every day at 03:00 AM
|
||||||
- cron: "0/10 * * * *"
|
- cron: "0/5 * * * *"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
sync_storage:
|
sync_storage:
|
||||||
@@ -17,6 +17,12 @@ jobs:
|
|||||||
-H "Authorization: Token $LABEL_STUDIO_API_TOKEN" \
|
-H "Authorization: Token $LABEL_STUDIO_API_TOKEN" \
|
||||||
"https://label-studio.gt-proj.com/api/storages/export/s3/1/sync"
|
"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
|
- name: Fix Label Studio output content type in MinIO
|
||||||
env:
|
env:
|
||||||
MINIO_ACCESS_KEY: ${{ secrets.MINIO_ACCESS_KEY }}
|
MINIO_ACCESS_KEY: ${{ secrets.MINIO_ACCESS_KEY }}
|
||||||
|
|||||||
Reference in New Issue
Block a user