File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,15 +49,13 @@ jobs:
4949 - 9200:9200
5050 env :
5151 " discovery.type " : " single-node"
52- " plugins.security.disabled " : " true"
5352 options : >-
54- --health-cmd "curl -- silent --fail http ://localhost:9200/_cluster/health || exit 1"
53+ --health-cmd "curl -u admin:admin -- silent --fail --insecure https ://localhost:9200/_cluster/health || exit 1"
5554 --health-start-period 30s
5655 --health-interval 10s
5756 --health-timeout 5s
5857 --health-retries 10
5958 env :
60- SEARCH_URL : " http://localhost:9200"
6159 DATABASE_URL : " postgresql://rubyapi:rubyapi_password@localhost:5432/rubyapi_test"
6260 QUEUE_DATABASE_URL : " postgresql://rubyapi:rubyapi_password@localhost:5432/rubyapi_test_queue"
6361 RAILS_ENV : test
@@ -100,15 +98,13 @@ jobs:
10098 - 9200:9200
10199 env :
102100 " discovery.type " : " single-node"
103- " plugins.security.disabled " : " true"
104101 options : >-
105- --health-cmd "curl -- silent --fail http ://localhost:9200/_cluster/health || exit 1"
102+ --health-cmd "curl -u admin:admin -- silent --fail --insecure https ://localhost:9200/_cluster/health || exit 1"
106103 --health-start-period 30s
107104 --health-interval 10s
108105 --health-timeout 5s
109106 --health-retries 10
110107 env :
111- SEARCH_URL : " http://localhost:9200"
112108 DATABASE_URL : " postgresql://rubyapi:rubyapi_password@localhost:5432/rubyapi_test"
113109 QUEUE_DATABASE_URL : " postgresql://rubyapi:rubyapi_password@localhost:5432/rubyapi_test_queue"
114110 RAILS_ENV : test
Original file line number Diff line number Diff line change 11development :
2- url : http ://localhost:9200
2+ url : https ://admin:admin@ localhost:9200
33
44test :
5- url : http ://localhost:9200
5+ url : https ://admin:admin@ localhost:9200
You can’t perform that action at this time.
0 commit comments