Skip to content

Add ulimit options #75

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

Merged
merged 4 commits into from
May 15, 2024
Merged
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
12 changes: 8 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
name: Test
runs-on: ubuntu-latest
container:
image: node:18
image: node:20
strategy:
matrix:
searchdb-host: [elastic7, elastic8, opensearch1, opensearch2]
Expand All @@ -25,18 +25,21 @@ jobs:
image: elasticsearch:7.17.9
env:
discovery.type: single-node
options: --ulimit memlock=-1:-1 --ulimit nofile=65536:65536
elastic8:
image: elasticsearch:8.13.4
env:
discovery.type: single-node
xpack.security.enabled: false
options: --ulimit memlock=-1:-1 --ulimit nofile=65536:65536
opensearch1:
image: opensearchproject/opensearch:1.3.16
env:
discovery.type: single-node
plugins.security.disabled: true
OPENSEARCH_JAVA_OPTS: -Xms512m -Xmx512m
DISABLE_INSTALL_DEMO_CONFIG: true
options: --ulimit memlock=-1:-1 --ulimit nofile=65536:65536
opensearch2:
image: opensearchproject/opensearch:2.13.0
env:
Expand All @@ -45,13 +48,14 @@ jobs:
OPENSEARCH_JAVA_OPTS: -Xms512m -Xmx512m
DISABLE_INSTALL_DEMO_CONFIG: true
OPENSEARCH_INITIAL_ADMIN_PASSWORD: temba
options: --ulimit memlock=-1:-1 --ulimit nofile=65536:65536

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just to fix the

Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, codecov/codecov-action@v3


- name: Install Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: ${{ env.go-version }}

Expand All @@ -65,7 +69,7 @@ jobs:

- name: Upload coverage
if: success()
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
Expand Down
Loading