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

adding ad remote index tests #1755

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/actions/start-opensearch/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,15 @@ inputs:
required: false

port:
description: 'Port to run OpenSearch. Leave empty to use the default config (9200)'
description: 'HTTP port to run OpenSearch. Leave empty to use the default config (9200)'
required: false
default: '9200'

transport_port:
description: 'Transport port to run OpenSearch transport layer. Leave empty to use the default config (9300-9400)'
required: false
default: '9300-9400'

runs:
using: "composite"
steps:
Expand Down Expand Up @@ -128,11 +133,12 @@ runs:
shell: bash
working-directory: ${{ inputs.port }}

- name: Use more space
- name: Use more space and update ports
run: |
echo '' >> ./opensearch-${{ inputs.opensearch-version }}-SNAPSHOT${{ inputs.port }}/config/opensearch.yml
echo "cluster.routing.allocation.disk.threshold_enabled: false" >> ./opensearch-${{ inputs.opensearch-version }}-SNAPSHOT${{ inputs.port }}/config/opensearch.yml
echo "http.port: ${{ inputs.port }}" >> ./opensearch-${{ inputs.opensearch-version }}-SNAPSHOT${{ inputs.port }}/config/opensearch.yml
echo "transport.port: ${{ inputs.transport_port }}" >> ./opensearch-${{ inputs.opensearch-version }}-SNAPSHOT${{ inputs.port }}/config/opensearch.yml
shell: bash
working-directory: ${{ inputs.port }}

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release-e2e-workflow-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ jobs:
opensearch-version: ${{ env.VERSION }}
security-enabled: false
port: 9201
transport_port: 9301
- uses: ./.github/actions/start-opensearch
with:
opensearch-version: ${{ env.VERSION }}
Expand Down Expand Up @@ -120,7 +121,7 @@ jobs:
echo "cypress_version=$cypress_version_temp" >> $GITHUB_ENV
- name: Cache Cypress
id: cache-cypress
uses: actions/cache@v1
uses: actions/cache@v4
with:
path: ~/.cache/Cypress
key: cypress-cache-v2-${{ runner.os }}-${{ hashFiles('**/package.json') }}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{"index":{"_id": "id-1"}}
{ "value": 1, "secondVal": 1, "timestamp": "2020-01-01"}
{"index":{"_id": "id-2"}}
{ "value": 2, "secondVal": 2, "timestamp": "2020-01-02"}
{"index":{"_id": "id-3"}}
{ "value": 3, "secondVal": 3, "timestamp": "2020-01-03"}
Loading
Loading