.github/workflows/build.yml in antbird-0.3.0 vs .github/workflows/build.yml in antbird-0.4.0
- old
+ new
@@ -9,29 +9,30 @@
fail-fast: false
matrix:
# 1. Run script/list_versions
# 2. Check https://www.elastic.co/jp/support/eol
elasticsearch:
- - 7.10.1
+ - 7.14.0
+ - 7.13.4
+ - 7.12.1
+ - 7.11.2
+ - 7.10.2
- 7.9.3
- 7.8.1
- 7.7.1
- - 7.6.2
- - 7.5.2
- - 7.4.2
- - 7.3.2
- - 7.2.1
- - 7.1.1
- - 6.8.13
- services:
- elasticsearch:
- image: docker.elastic.co/elasticsearch/elasticsearch-oss:${{matrix.elasticsearch}}
- ports:
- - 9200:9200
- - 9300:9300
- env:
- discovery.type: single-node
+ - 6.8.18
steps:
+ # @see https://github.com/elastic/elastic-github-actions/tree/master/elasticsearch
+ - name: Configure sysctl limits for Elasticsearch
+ 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: ${{matrix.elasticsearch}}
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
bundler-cache: true