From 45d008e7d1c49a6f090f4900987b3e53d2fa06a9 Mon Sep 17 00:00:00 2001 From: Antoine Cotten Date: Tue, 18 Jun 2019 14:42:17 +0200 Subject: [PATCH] Travis: Return exit code of spawned process in password setup script Also bump stack version in stack file. --- .travis/elasticsearch-setup-passwords.exp | 3 +++ docker-stack.yml | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.travis/elasticsearch-setup-passwords.exp b/.travis/elasticsearch-setup-passwords.exp index b5ff18a..b5ff68d 100755 --- a/.travis/elasticsearch-setup-passwords.exp +++ b/.travis/elasticsearch-setup-passwords.exp @@ -23,3 +23,6 @@ expect { } eof } + +lassign [wait] pid spawnid os_error_flag value +exit $value diff --git a/docker-stack.yml b/docker-stack.yml index bf467f3..cde1aa3 100644 --- a/docker-stack.yml +++ b/docker-stack.yml @@ -3,7 +3,7 @@ version: '3.3' services: elasticsearch: - image: docker.elastic.co/elasticsearch/elasticsearch:7.0.1 + image: docker.elastic.co/elasticsearch/elasticsearch:7.1.1 ports: - "9200:9200" - "9300:9300" @@ -20,7 +20,7 @@ services: replicas: 1 logstash: - image: docker.elastic.co/logstash/logstash:7.0.1 + image: docker.elastic.co/logstash/logstash:7.1.1 ports: - "5000:5000" - "9600:9600" @@ -38,7 +38,7 @@ services: replicas: 1 kibana: - image: docker.elastic.co/kibana/kibana:7.0.1 + image: docker.elastic.co/kibana/kibana:7.1.1 ports: - "5601:5601" configs: