Closed soltex1 closed 3 years ago
If you want to use a specific version of elasticsearch, you have to run it manually, instead of using it as a service. This can be done by adding commands to your elasticsearch.yml
file. This is my configuration to use version 7.10.0:
ci:
- wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.10.0-amd64.deb
- wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.10.0-amd64.deb.sha512
- shasum -a 512 -c elasticsearch-7.10.0-amd64.deb.sha512
- sudo dpkg -i elasticsearch-7.10.0-amd64.deb
- sudo -i service elasticsearch start
- sudo -i service elasticsearch status
I am running a rails application that uses the gems elasticsearch-model and elasticsearch-rails:
And it requires elasticsearch 7.x.
However, the last version that I see on docs is 6.6.0: http://docs.shippable.com/platform/runtime/machine-image/services-versions/#elasticsearch
The problem is that the build is failing, but if I change the versions of the gems to 6.1.1, it works fine.
Here's the error:![Captura de ecrã de 2020-11-27 18-27-44](https://user-images.githubusercontent.com/10777354/100476770-590f9b00-30de-11eb-8891-4d147a4d072e.png)
Is there a way to use elasticsearch 7.x?