-
Notifications
You must be signed in to change notification settings - Fork 125
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
Add github action for secure integ tests #836
Add github action for secure integ tests #836
Conversation
9d8f699
to
da4a7ae
Compare
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more @@ Coverage Diff @@
## main #836 +/- ##
============================================
- Coverage 85.17% 85.10% -0.07%
Complexity 1086 1086
============================================
Files 152 152
Lines 4404 4404
Branches 393 393
============================================
- Hits 3751 3748 -3
- Misses 474 477 +3
Partials 179 179 see 1 file with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
3e6dda3
to
193aa9b
Compare
65eaee7
to
a6deb50
Compare
Signed-off-by: Martin Gaievski <gaievski@amazon.com>
a6deb50
to
8c6ac66
Compare
.github/workflows/test_security.yml
Outdated
@@ -0,0 +1,96 @@ | |||
name: Security test workflow for k-NN |
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.
Rename this to, test k-NN on Secure Cluster
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.
ack
.github/workflows/test_security.yml
Outdated
matrix: | ||
java: [ 11,17 ] | ||
os: [ubuntu-latest] | ||
fail-fast: false |
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.
why this is false? I think we should make it true.
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.
ack
.github/workflows/test_security.yml
Outdated
os: [ubuntu-latest] | ||
fail-fast: false | ||
|
||
name: Security test workflow for k-NN Plugin |
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.
update the name as suggested above.
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.
ack
Signed-off-by: Martin Gaievski <gaievski@amazon.com>
3f4ae65
Signed-off-by: Martin Gaievski <gaievski@amazon.com> (cherry picked from commit 303d811)
Signed-off-by: Martin Gaievski <gaievski@amazon.com> (cherry picked from commit 303d811)
Description
Adding github action to run integ tests against cluster with security plugin. Approach is mainly taken from AD plugin https://github.com/opensearch-project/anomaly-detection/blob/main/.github/workflows/test_security.yml. Currently we're not able to build artifacts for native libraries in our regular assemble task, so for this iteration will be using latest pre-built versions from docker image. This means they may be different from PR version in case we're changing those libs in scope of PR. We'll be running tests on linux as this gives sufficient confidence, and for macos/win the docker setup has some difficulties.
PR requires #827 and #847 to be merged
Issues Resolved
opensearch-project/security#2265
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.