From edfd707c227590acc2081b985e7dc9a7569fe8f3 Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Wed, 20 Jan 2021 01:57:15 -0300 Subject: [PATCH] run ES on github actions --- .github/workflows/main.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f6e974ff2..880e3e7df 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -37,6 +37,17 @@ jobs: - blockchain - other steps: + - name: Configure sysctl 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 + + - name: Runs Elasticsearch + uses: elastic/elastic-github-actions/elasticsearch@master + with: + stack-version: 7.6.0 - uses: actions/checkout@v2 - uses: actions/setup-python@v1 with: