Add S3 configuration to CI workflows

- Added S3-related environment variables to both `pr-test.yml` and `unit-test.yml` workflows, enabling integration with S3 for testing and deployment.
- Included API, access key, secret key, bucket, and cache path settings to facilitate S3 interactions during CI processes.
This commit is contained in:
Max 2025-07-25 18:28:41 +08:00
parent 2f13dbbffb
commit d8cc1f2390
2 changed files with 14 additions and 0 deletions

View file

@ -73,6 +73,13 @@ env:
QDRANT_TEST_HOST: "127.0.0.1"
QDRANT_TEST_PORT: "6334"
# S3
S3_API: ${{ secrets.S3_API }}
S3_ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY }}
S3_SECRET_KEY: ${{ secrets.S3_SECRET_KEY }}
S3_BUCKET: ${{ secrets.S3_BUCKET }}
S3_CACHE_PATH: /tmp/s3-cache
jobs:
UnitTest:
runs-on: ubuntu-latest

View file

@ -77,6 +77,13 @@ env:
QDRANT_TEST_HOST: "127.0.0.1"
QDRANT_TEST_PORT: "6334"
# S3
S3_API: ${{ secrets.S3_API }}
S3_ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY }}
S3_SECRET_KEY: ${{ secrets.S3_SECRET_KEY }}
S3_BUCKET: ${{ secrets.S3_BUCKET }}
S3_CACHE_PATH: /tmp/s3-cache
jobs:
unit-test:
runs-on: ubuntu-latest