Skip to content

Commit

Permalink
Enable search pipelines on 2.8.0
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Farr <tsfarr@amazon.com>
  • Loading branch information
Xtansia committed Sep 24, 2024
1 parent 6e4163b commit a443838
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/actions/run-released-opensearch/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ inputs:
secured:
description: Whether to enable the security plugin
required: true
opensearch_args:
description: Additional arguments to pass to the OpenSearch process
default: ''
outputs:
opensearch_url:
description: The URL where the OpenSearch node is accessible
Expand Down Expand Up @@ -49,4 +52,5 @@ runs:
id: opensearch
uses: ./client/.github/actions/start-opensearch
with:
opensearch_args: ${{ inputs.opensearch_args }}
secured: ${{ inputs.secured }}
8 changes: 6 additions & 2 deletions .github/actions/start-opensearch/action.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Start OpenSearch
description: Configures and starts an OpenSearch daemon
inputs:
opensearch_args:
description: Additional arguments to pass to the OpenSearch process
default: ''
secured:
description: Whether to enable the security plugin
default: 'false'
Expand Down Expand Up @@ -74,9 +77,9 @@ runs:
fi
if [[ "$RUNNER_OS" != "Windows" ]]; then
$OPENSEARCH_HOME/bin/opensearch &
$OPENSEARCH_HOME/bin/opensearch ${OPENSEARCH_ARGS} &
else
$OPENSEARCH_HOME/bin/opensearch.bat -d &
$OPENSEARCH_HOME/bin/opensearch.bat ${OPENSEARCH_ARGS} -d &
fi
for attempt in {1..20}; do
Expand All @@ -91,3 +94,4 @@ runs:
env:
SECURED: ${{ inputs.secured }}
RUNNER_OS: ${{ runner.os }}
OPENSEARCH_ARGS: ${{ inputs.opensearch_args }}
1 change: 1 addition & 0 deletions .github/workflows/integration-yaml-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ jobs:
with:
version: ${{ matrix.version }}
secured: true
opensearch_args: ${{ matrix.version == '2.8.0' && '-Eopensearch.experimental.feature.search_pipeline.enabled=true' || '' }}

- name: Run YAML tests
working-directory: client
Expand Down

0 comments on commit a443838

Please sign in to comment.