Skip to content

Commit

Permalink
ci: Reduce the number of threads when using OVH Swift
Browse files Browse the repository at this point in the history
  • Loading branch information
otetard committed Aug 30, 2023
1 parent 4f33ef9 commit 6f0285f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/delete-preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- name: OVH Object Storage
run: |
swift delete sekoiaio-documentation-previews -p ${{ steps.pr_number.outputs.pr_number }}
swift delete sekoiaio-documentation-previews -p ${{ steps.pr_number.outputs.pr_number }} --object-threads 5
env:
OS_AUTH_URL: "https://auth.cloud.ovh.net/v3/"
OS_IDENTITY_API_VERSION: 3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-public-website.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
run: |
swift list sekoiaio-public-documentation -j | jq -r ".[].name" | while read remote_file; do
if [ ! -f "site/${remote_file}" ]; then
swift delete sekoiaio-public-documentation "$remote_file"
swift delete sekoiaio-public-documentation "$remote_file" --object-threads 5
fi
done
env:
Expand All @@ -73,7 +73,7 @@ jobs:

- name: OVH Object Storage
run: |
swift upload sekoiaio-public-documentation site --object-name /
swift upload sekoiaio-public-documentation site --object-name / --object-threads 5
env:
OS_AUTH_URL: "https://auth.cloud.ovh.net/v3/"
OS_IDENTITY_API_VERSION: 3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/upload-preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
- name: Delete any previous preview
run: |
swift delete sekoiaio-documentation-previews -p ${{ steps.pr_number.outputs.pr_number }}
swift delete sekoiaio-documentation-previews -p ${{ steps.pr_number.outputs.pr_number }} --object-threads 5
env:
OS_AUTH_URL: "https://auth.cloud.ovh.net/v3/"
OS_IDENTITY_API_VERSION: 3
Expand All @@ -65,7 +65,7 @@ jobs:

- name: OVH Object Storage
run: |
swift upload sekoiaio-documentation-previews site --object-name ${{ steps.pr_number.outputs.pr_number }}
swift upload sekoiaio-documentation-previews site --object-name ${{ steps.pr_number.outputs.pr_number }} --object-threads 5
env:
OS_AUTH_URL: "https://auth.cloud.ovh.net/v3/"
OS_IDENTITY_API_VERSION: 3
Expand Down

0 comments on commit 6f0285f

Please sign in to comment.