Skip to content

Add search_pipeline to path #541

Add search_pipeline to path

Add search_pipeline to path #541

Workflow file for this run

name: Integration
on:
push:
branches:
- "*"
paths-ignore:
- '*.md'
pull_request:
branches:
- "*"
paths-ignore:
- '*.md'
jobs:
test-opensearch:
env:
TEST_OPENSEARCH_SERVER: http://localhost:9250
PORT: 9250
strategy:
fail-fast: false
matrix:
ruby: [ 2.5, 2.6, 2.7, '3.0', 3.1, 3.2, 3.3, jruby-9.3 ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Increase system limits
run: |
sudo swapoff -a
sudo sysctl -w vm.swappiness=1
sudo sysctl -w fs.file-max=262144
sudo sysctl -w vm.max_map_count=262144
- uses: ./.github/actions/opensearch
with:
cluster-version: latest
disable-security: true
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Build and test with Rake
run: |
sudo apt-get update
sudo apt-get install libcurl4-openssl-dev
ruby -v
bundle install
- name: Run All Tests
run: rake test:all
test-opensearch-faraday-1:
env:
TEST_OPENSEARCH_SERVER: http://localhost:9250
PORT: 9250
FARADAY_VERSION: '~> 1.0'
strategy:
fail-fast: false
matrix:
ruby: [ 2.6, 2.7, '3.0', 3.1, 3.2, 3.3, jruby-9.3 ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Increase system limits
run: |
sudo swapoff -a
sudo sysctl -w vm.swappiness=1
sudo sysctl -w fs.file-max=262144
sudo sysctl -w vm.max_map_count=262144
- uses: ./.github/actions/opensearch
with:
cluster-version: latest
disable-security: true
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Build and test with Rake
run: |
sudo apt-get update
sudo apt-get install libcurl4-openssl-dev
ruby -v
bundle install
- name: Test Faraday on Transport Layer
run: rake test:transport:all
test-opensearch-security:
env:
TEST_OPENSEARCH_SERVER: https://admin:myStrongPassword123!@localhost:9200
PORT: 9200
strategy:
fail-fast: false
matrix:
ruby: [ 2.5, 2.6, 2.7, '3.0', 3.1, 3.2, 3.3, jruby-9.3 ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Increase system limits
run: |
sudo swapoff -a
sudo sysctl -w vm.swappiness=1
sudo sysctl -w fs.file-max=262144
sudo sysctl -w vm.max_map_count=262144
- uses: ./.github/actions/opensearch
with:
cluster-version: latest
disable-security: false
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Build and test with Rake
run: |
sudo apt-get update
sudo apt-get install libcurl4-openssl-dev
sudo apt-get install ca-certificates
ruby -v
bundle install
- name: Test Client Security
run: rake test:client:security