Repository navigation
Add native AWS store providers #414
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
Changes from all commits
4ea9946
a9130af
63892b0
48761e3
5c13134
700f291
765d54d
652e324
746bfc9
9a985c9
a5ac63a
c66f93f
6af442d
ac6c77c
f161505
e918171
3733482
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,7 +4,6 @@ on: | |
| push: | ||
| branches: [main] | ||
| pull_request: | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
|
|
@@ -183,6 +182,19 @@ jobs: | |
| if: matrix.suite == 'workspace' | ||
| run: cargo test --workspace --all-targets | ||
|
|
||
| - name: Native store dependency isolation | ||
| if: matrix.suite == 'workspace' | ||
| run: bash scripts/check_native_store_dependency_contract.sh | ||
|
|
||
| - name: Native AWS provider and startup contracts (loopback only) | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔧 A new feature-gated test never runs in CI The axum lib tests never run with any Fix: cargo test --offline --locked -p edgezero-adapter-axum --features aws-stores,aws-dynamodb --lib native_stores(Correction to an earlier version of this comment: |
||
| if: matrix.suite == 'workspace' | ||
| run: | | ||
| cargo test --offline --locked -p edgezero-store-aws --no-default-features --features appconfig-agent --lib | ||
| cargo test --offline --locked -p edgezero-store-aws --no-default-features --features secrets-manager --lib | ||
| cargo test --offline --locked -p edgezero-store-aws --no-default-features --features dynamodb-kv --lib | ||
| cargo test --offline --locked -p edgezero-store-aws --all-features --lib | ||
| scripts/run_test_nonzero.sh production_runner_loads_envelope_and_real_sdk_secret_before_serving_mixed_stores cargo test --offline --locked -p edgezero-adapter-axum --features aws-stores,test-utils --test native_aws_startup | ||
|
|
||
| - name: Bundled demo logging and fallback TCP contracts | ||
| if: matrix.suite == 'cli' | ||
| run: | | ||
|
|
@@ -224,6 +236,28 @@ jobs: | |
| bash scripts/check_adapter_feature_matrix.sh "${adapter}" native | ||
| done | ||
|
|
||
| - name: Generated native AWS startup (loopback only) | ||
| if: matrix.suite == 'cli' | ||
| env: | ||
| EDGEZERO_GENERATED_TEST_TARGET_DIR: ${{ github.workspace }}/target | ||
| run: scripts/run_test_nonzero.sh --ignored generated_cli_build_features_and_native_aws_startup_are_proven_together cargo test --offline --locked -p edgezero-cli --test native_store_generated_proof | ||
|
|
||
| - name: Generated native DynamoDB KV (loopback only) | ||
| if: matrix.suite == 'cli' | ||
| env: | ||
| EDGEZERO_GENERATED_TEST_TARGET_DIR: ${{ github.workspace }}/target | ||
| run: scripts/run_test_nonzero.sh --ignored generated_cli_default_off_and_enabled_dynamodb_crud_list_ttl_restart cargo test --offline --locked -p edgezero-cli --test dynamodb_generated_proof | ||
|
|
||
| - name: Native AWS integration runner tests | ||
| if: matrix.suite == 'cli' | ||
| run: node --test scripts/native_aws_test_admin.test.mjs scripts/run_native_aws_integration.test.mjs | ||
|
|
||
| - name: Generated native AWS independent service contracts | ||
| if: matrix.suite == 'cli' | ||
| env: | ||
| EDGEZERO_GENERATED_TEST_TARGET_DIR: ${{ github.workspace }}/target | ||
| run: node scripts/run_native_aws_integration.mjs | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ❓ A required CI step pulls three container images from the network
Should this move to a separate, non-required job, or one with an image cache and retries? Or is this an accepted exception that should be written down? |
||
|
|
||
| - name: Verify generated project builds and fallback TCP policy | ||
| if: matrix.suite == 'cli' | ||
| run: scripts/run_test_nonzero.sh --ignored generated_workspace_compiles cargo test --offline --locked -p edgezero-cli --test generated_project_builds | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⛏ nitpick: Unrelated whitespace change: the blank line before
permissions:was deleted.