Skip to content

Commit

Permalink
Switch to dockerhub for Elasticsearch/Logstash/Kibana images in integ…
Browse files Browse the repository at this point in the history
…ration tests

docker.elastic.co has been down a few times in the past, dockerhub is
more reliable.

They both serve the exact same images (same tags, same hashes),
so the change should be mostly transparent.
  • Loading branch information
yrodiere committed May 19, 2022
1 parent a032e30 commit 22c12c0
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions build-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@

<!-- Defaults for integration tests -->
<elasticsearch-server.version>7.16.3</elasticsearch-server.version>
<elasticsearch.image>docker.elastic.co/elasticsearch/elasticsearch:${elasticsearch-server.version}</elasticsearch.image>
<logstash.image>docker.elastic.co/logstash/logstash:${elasticsearch-server.version}</logstash.image>
<kibana.image>docker.elastic.co/kibana/kibana:${elasticsearch-server.version}</kibana.image>
<elasticsearch.image>docker.io/elastic/elasticsearch:${elasticsearch-server.version}</elasticsearch.image>
<logstash.image>docker.io/elastic/logstash:${elasticsearch-server.version}</logstash.image>
<kibana.image>docker.io/elastic/kibana:${elasticsearch-server.version}</kibana.image>
<elasticsearch.protocol>http</elasticsearch.protocol>
<opensearch-server.version>1.2.3</opensearch-server.version>
<opensearch.image>docker.io/opensearchproject/opensearch:${opensearch-server.version}</opensearch.image>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3.2'

services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.16.3
image: docker.io/elastic/elasticsearch:7.16.3
environment:
ES_JAVA_OPTS: "-Xms512m -Xmx512m"
discovery.type: "single-node"
Expand All @@ -23,7 +23,7 @@ services:
- elasticsearch

kibana:
image: docker.elastic.co/kibana/kibana:7.16.3
image: docker.io/elastic/kibana:7.16.3
ports:
- "5601:5601"
networks:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ version: '3.2'

services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.16.3
image: docker.io/elastic/elasticsearch:7.16.3
environment:
ES_JAVA_OPTS: "-Xms512m -Xmx512m"
discovery.type: "single-node"
networks:
- elk

logstash:
image: docker.elastic.co/logstash/logstash:7.16.3
image: docker.io/elastic/logstash:7.16.3
volumes:
- source: $HOME/pipelines
target: /usr/share/logstash/pipeline
Expand All @@ -25,7 +25,7 @@ services:
- elasticsearch

kibana:
image: docker.elastic.co/kibana/kibana:7.16.3
image: docker.io/elastic/kibana:7.16.3
ports:
- "5601:5601"
networks:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3.2'

services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.16.3
image: docker.io/elastic/elasticsearch:7.16.3
environment:
ES_JAVA_OPTS: "-Xms512m -Xmx512m"
discovery.type: "single-node"
Expand Down

0 comments on commit 22c12c0

Please sign in to comment.