Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DO NOT MERGE] fix: polishing tmp fs and s3 fs #438

Closed
wants to merge 30 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
33e396a
feat: make request buffer size configurable via cli flags
nyannyacha Nov 7, 2024
d657bc3
fix: allow more file APIs
nyannyacha Nov 7, 2024
8942561
fix(sb_fs): polishing tmp fs and s3 fs
nyannyacha Nov 7, 2024
ae41e95
stamp: clippy
nyannyacha Nov 7, 2024
2d745df
chore: add and update dependencies
nyannyacha Nov 14, 2024
20bb49b
chore(sb_fs): add `.gitignore` and `.env.template`
nyannyacha Nov 14, 2024
a8681da
fix(sb_core): allow `Deno.readDir`
nyannyacha Nov 14, 2024
c571a24
stamp(base): polishing macros and test helpers
nyannyacha Nov 14, 2024
7b1cdaf
stamp: polishing
nyannyacha Nov 14, 2024
248e86b
chore(sb_fs): add integration tests
nyannyacha Nov 14, 2024
c213842
chore: update `Cargo.lock`
nyannyacha Nov 14, 2024
56b2101
chore: update an integration test
nyannyacha Nov 14, 2024
1bb5488
stamp(sb_fs): polishing
nyannyacha Nov 14, 2024
6059616
chore(sb_fs): update integration tests
nyannyacha Nov 14, 2024
44172e8
chore(ci): expose user worker messages while integration testing
nyannyacha Nov 14, 2024
1d3c535
stamp: typo
nyannyacha Nov 14, 2024
7511c0c
fix(base): add arch gate the integration tests to be only tested on x64
nyannyacha Nov 14, 2024
101065d
stamp: typo
nyannyacha Nov 14, 2024
6a1d235
chore(ci): apply env variables for s3 fs integration tests
nyannyacha Nov 14, 2024
bff500d
stamp: typo
nyannyacha Nov 14, 2024
53d6e6c
stamp(sb_fs): polishing
nyannyacha Nov 15, 2024
77214b5
chore(sb_fs): add dependencies
nyannyacha Nov 16, 2024
c6002b1
stamp: add proxy connector
nyannyacha Nov 16, 2024
d5f16e1
stamp: polishing
nyannyacha Nov 16, 2024
63abe59
chore(ci): update workflow
nyannyacha Nov 16, 2024
4a863ff
stamp(sb_fs): make integration tests run conditionally
nyannyacha Nov 16, 2024
fc4ae2b
chore: update `Cargo.lock`
nyannyacha Nov 16, 2024
833d7c5
stamp: typo
nyannyacha Nov 18, 2024
eeb0c52
stamp: update ci
nyannyacha Nov 18, 2024
5fb6b69
stamp: retry
nyannyacha Nov 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 24 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ env:
CARGO_TERM_COLOR: always
RUSTUP_MAX_RETRIES: 10
ORT_DYLIB_PATH: /tmp/onnxruntime/lib/libonnxruntime.so
RUST_LOG: event_worker=trace

jobs:
cargo-fmt:
Expand Down Expand Up @@ -50,9 +51,31 @@ jobs:
- uses: actions/checkout@v4
- run: rustup show
- uses: Swatinem/rust-cache@v2

- uses: cardinalby/export-env-action@v2
with:
envFile: ".env"

- name: Install ONNX Runtime Library
run: ./scripts/install_onnx.sh ${{ env.ONNXRUNTIME_VERSION }} x64 /tmp/onnxruntime
- run: ./scripts/test.sh

- name: Install S3 credentials for testing
run: |
cd crates/sb_fs/tests
echo "S3FS_TEST_SUPABASE_STORAGE=true" >> .env
echo "S3FS_TEST_APP_NAME=edge_runtime_github_ci" >> .env
echo "S3FS_TEST_BUCKET_NAME=$BUCKET_NAME" >> .env
echo "S3FS_TEST_ENDPOINT_URL=$ENDPOINT_URL" >> .env
echo "S3FS_TEST_REGION=$REGION" >> .env
echo "S3FS_TEST_ACCESS_KEY_ID=$ACCESS_KEY_ID" >> .env
echo "S3FS_TEST_SECRET_ACCESS_KEY=$SECRET_ACCESS_KEY" >> .env
shell: bash
env:
BUCKET_NAME: ${{ secrets.SUPABASE_S3_BUCKET_NAME }}
ENDPOINT_URL: ${{ secrets.SUPABASE_S3_ENTRYPOINT }}
REGION: ${{ secrets.SUPABASE_S3_REGION }}
ACCESS_KEY_ID: ${{ secrets.SUPABASE_S3_ACCESS_KEY }}
SECRET_ACCESS_KEY: ${{ secrets.SUPABASE_S3_SECRET }}

- run: ./scripts/test.sh --features base/tracing

Loading
Loading