.github/workflows/build.yml in antbird-0.4.0 vs .github/workflows/build.yml in antbird-0.5.0
- old
+ new
@@ -1,26 +1,29 @@
name: build
on: [push]
+env:
+ ENGINE_NAME: elasticsearch
+ REST_API_SPEC_REPO: elastic/elasticsearch
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
# 1. Run script/list_versions
# 2. Check https://www.elastic.co/jp/support/eol
- elasticsearch:
- - 7.14.0
+ search_versions:
+ - 7.15.2
+ - 7.14.2
- 7.13.4
- 7.12.1
- 7.11.2
- 7.10.2
- 7.9.3
- 7.8.1
- - 7.7.1
- 6.8.18
steps:
# @see https://github.com/elastic/elastic-github-actions/tree/master/elasticsearch
- name: Configure sysctl limits for Elasticsearch
run: |
@@ -29,15 +32,14 @@
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}}
+ stack-version: ${{matrix.search_versions}}
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
bundler-cache: true
- - run: bundle install --jobs 4 --retry 3
- name: Wait for elasticsearch
run: timeout 60 bash -c "until curl --silent --output /dev/null localhost:9200/_cat/health?h=st; do printf '.'; sleep 5; done; printf '\n'"
- run: bundle exec rspec