Skip to content

Commit

Permalink
testing: Fix Docker deprecation warnings (elastic#40734)
Browse files Browse the repository at this point in the history
* testing: Fix Docker deprecation warnings

I stumbled upon some warnings when trying to start the integration testing
environment. The errors don't cause any harm but they pollute the output of
the tool. Errors include:

	WARN[0000] /home/mauri870/git/elastic/beats/testing/environments/snapshot.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avo
id potential confusion
	WARN[0000] /home/mauri870/git/elastic/beats/testing/environments/local.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid
potential confusion

	WARN: MaintainerDeprecated: Maintainer instruction is deprecated in favor of using label (line 4)
  • Loading branch information
mauri870 authored Sep 13, 2024
1 parent 3f44bd1 commit 28cd825
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion testing/environments/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Basic debian file with curl, wget and nano installed to fetch files
# an update config files
FROM debian:latest
MAINTAINER Nicolas Ruflin <[email protected]>

RUN apt-get update && \
apt-get install -y curl nano wget zip && \
Expand Down
1 change: 0 additions & 1 deletion testing/environments/local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
# This is useful for testing locally with a full elastic stack setup.
# All services can be reached through localhost like localhost:5601 for Kibana
# This is not used for CI as otherwise ports conflicts could happen.
version: '2.3'
services:
kibana:
ports:
Expand Down
1 change: 0 additions & 1 deletion testing/environments/snapshot.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# This should start the environment with the latest snapshots.

version: '2.3'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:8.16.0-07587139-SNAPSHOT
Expand Down

0 comments on commit 28cd825

Please sign in to comment.