-
Notifications
You must be signed in to change notification settings - Fork 478
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
feat(integrations/cloudfilter): introduce behavior tests #4973
Conversation
8a3b935
to
2b68b95
Compare
e6c9959
to
35b7027
Compare
ebdb6ae
to
2454c3c
Compare
@@ -270,6 +286,20 @@ def generate_bin_cases( | |||
|
|||
return cases | |||
|
|||
def generate_integration_cases( |
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.
Maybe we don't need to touch here if cloudfilter only support fs now?
connect-token: ${{ secrets.OP_CONNECT_TOKEN }} | ||
|
||
- name: Test Integration CloudFilter | ||
uses: ./.github/actions/test_behavior_integration_cloudfilter |
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.
We can test directly here without altering the entire integration test system if Cloudflitler only supports fs.
Fixed cc @Xuanwo |
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.
Thanks for your contribution. I want to minimize the changes to the entire codebase before the cloud filter is ready for production use.
Would you like to revert changes to the integration test system?
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.
Maybe we can also remove those changes.
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.
The same.
.github/workflows/test_behavior.yml
Outdated
@@ -145,3 +145,17 @@ jobs: | |||
with: | |||
os: ${{ matrix.os }} | |||
cases: ${{ toJson(matrix.cases) }} | |||
|
|||
test_integration_cloudfilter: |
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.
We don't need this anymore?
name: Behavior Test Integration CloudFilter | ||
|
||
on: | ||
workflow_call: |
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.
We can use on pull_request
instead.
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.
Thanks for your contribution. I want to minimize the changes to the entire codebase before the cloud filter is ready for production use.
Would you like to revert changes to the integration test system?
cc @Xuanwo , PTAL |
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.
Other LGTM, thanks a lot for your work!
# TODO: 1password is only supported on linux | ||
# | ||
# Waiting for https://github.com/1Password/load-secrets-action/issues/46 | ||
- name: Setup 1Password Connect | ||
if: runner.os == 'Linux' | ||
uses: 1password/load-secrets-action/configure@v1 | ||
with: | ||
connect-host: ${{ secrets.OP_CONNECT_HOST }} | ||
connect-token: ${{ secrets.OP_CONNECT_TOKEN }} |
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.
We don't need this.
with: | ||
need-protoc: true | ||
need-rocksdb: true | ||
github-token: ${{ secrets.GITHUB_TOKEN }} |
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.
We don't need this.
Fixed @Xuanwo |
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.
Thank you!
What changes are included in this PR?
integration/cloudfilter
.cloud-filter
to0.0.5
.