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

[FEATURE] Run integration tests with security plugin enabled #1713

Closed
MaxKsyunz opened this issue Jun 6, 2023 · 1 comment · Fixed by #1986
Closed

[FEATURE] Run integration tests with security plugin enabled #1713

MaxKsyunz opened this issue Jun 6, 2023 · 1 comment · Fixed by #1986
Labels
maintenance Improves code quality, but not the product

Comments

@MaxKsyunz
Copy link
Collaborator

Is your feature request related to a problem?
OpenSearch release process includes running plugin integration tests against a cluster with security plugin enabled.

SQL plugin CI does not validate this configuration therefore it's possible for SQL plugin to fail OpenSearch release process to fail.

What solution would you like?
SQL Java CI GitHub action to run :integ-test:integTest gradle task against OpenSearch cluster with security plugin enabled as well as a cluster with security plugin disabled.

What alternatives have you considered?
Someone can do this manually.

Do you have any additional context?
OpenSearch release cannot proceed unless all checks pass. When one fails, it's disruptive for everyone.

image
@acarbonetto
Copy link
Collaborator

May be relevant:

Start without security

Docker command docker pull docker pull opensearchstaging/opensearch:1.3.11.8029 && docker run -it -d -p 9200:9200 -e "discovery.type=single-node" -e "DISABLE_SECURITY_PLUGIN=true" opensearchstaging/opensearch:1.3.11.8029  

Connect command curl http://localhost:9200/

Start with security

Docker command docker pull opensearchstaging/opensearch:1.3.11.8029 && docker run -it -d -p 9200:9200 -e "discovery.type=single-node" opensearchstaging/opensearch:1.3.11.8029  

Connect command curl --insecure https://admin:admin@localhost:9200/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Improves code quality, but not the product
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants