Skip to content

Commit 182e30e

Browse files
authored
Merge pull request #75 from nyaruka/ulimit
Add ulimit options
2 parents 00d13f7 + 20a9861 commit 182e30e

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/ci.yml

+8-4
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
name: Test
88
runs-on: ubuntu-latest
99
container:
10-
image: node:18
10+
image: node:20
1111
strategy:
1212
matrix:
1313
searchdb-host: [elastic7, elastic8, opensearch1, opensearch2]
@@ -25,18 +25,21 @@ jobs:
2525
image: elasticsearch:7.17.9
2626
env:
2727
discovery.type: single-node
28+
options: --ulimit memlock=-1:-1 --ulimit nofile=65536:65536
2829
elastic8:
2930
image: elasticsearch:8.13.4
3031
env:
3132
discovery.type: single-node
3233
xpack.security.enabled: false
34+
options: --ulimit memlock=-1:-1 --ulimit nofile=65536:65536
3335
opensearch1:
3436
image: opensearchproject/opensearch:1.3.16
3537
env:
3638
discovery.type: single-node
3739
plugins.security.disabled: true
3840
OPENSEARCH_JAVA_OPTS: -Xms512m -Xmx512m
3941
DISABLE_INSTALL_DEMO_CONFIG: true
42+
options: --ulimit memlock=-1:-1 --ulimit nofile=65536:65536
4043
opensearch2:
4144
image: opensearchproject/opensearch:2.13.0
4245
env:
@@ -45,13 +48,14 @@ jobs:
4548
OPENSEARCH_JAVA_OPTS: -Xms512m -Xmx512m
4649
DISABLE_INSTALL_DEMO_CONFIG: true
4750
OPENSEARCH_INITIAL_ADMIN_PASSWORD: temba
51+
options: --ulimit memlock=-1:-1 --ulimit nofile=65536:65536
4852

4953
steps:
5054
- name: Checkout code
51-
uses: actions/checkout@v3
55+
uses: actions/checkout@v4
5256

5357
- name: Install Go
54-
uses: actions/setup-go@v3
58+
uses: actions/setup-go@v5
5559
with:
5660
go-version: ${{ env.go-version }}
5761

@@ -65,7 +69,7 @@ jobs:
6569

6670
- name: Upload coverage
6771
if: success()
68-
uses: codecov/codecov-action@v3
72+
uses: codecov/codecov-action@v4
6973
with:
7074
token: ${{ secrets.CODECOV_TOKEN }}
7175
fail_ci_if_error: true

0 commit comments

Comments
 (0)