Skip to content

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

Closed

Description

@MaxKsyunz

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

Activity

  1. added
    enhancement
    maintenance
    on Jun 6, 2023
  2. acarbonetto commented on Jun 23, 2023

    @acarbonetto
    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/

  3. removed
    enhancement
    on Jul 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    maintenance

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions