test: remove docker-compose.yml test file (#11243)
This commit is contained in:
parent
06b813d394
commit
476f498761
|
|
@ -80,13 +80,6 @@ make test
|
||||||
|
|
||||||
(Optional)
|
(Optional)
|
||||||
|
|
||||||
Running the integration tests requires several docker containers to be
|
|
||||||
running. You can start the containers with:
|
|
||||||
|
|
||||||
```shell
|
|
||||||
docker-compose up
|
|
||||||
```
|
|
||||||
|
|
||||||
To run only the integration tests use:
|
To run only the integration tests use:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
|
|
@ -99,8 +92,6 @@ To run the full test suite use:
|
||||||
make test-all
|
make test-all
|
||||||
```
|
```
|
||||||
|
|
||||||
Use `make docker-kill` to stop the containers.
|
|
||||||
|
|
||||||
### For more developer resources
|
### For more developer resources
|
||||||
|
|
||||||
- [Code Style][codestyle]
|
- [Code Style][codestyle]
|
||||||
|
|
|
||||||
5
Makefile
5
Makefile
|
|
@ -235,11 +235,6 @@ docker-image:
|
||||||
plugins/parsers/influx/machine.go: plugins/parsers/influx/machine.go.rl
|
plugins/parsers/influx/machine.go: plugins/parsers/influx/machine.go.rl
|
||||||
ragel -Z -G2 $^ -o $@
|
ragel -Z -G2 $^ -o $@
|
||||||
|
|
||||||
.PHONY: plugin-%
|
|
||||||
plugin-%:
|
|
||||||
@echo "Starting dev environment for $${$(@)} input plugin..."
|
|
||||||
@docker-compose -f plugins/inputs/$${$(@)}/dev/docker-compose.yml up
|
|
||||||
|
|
||||||
.PHONY: ci
|
.PHONY: ci
|
||||||
ci:
|
ci:
|
||||||
docker build -t quay.io/influxdb/telegraf-ci:1.18.1 - < scripts/ci.docker
|
docker build -t quay.io/influxdb/telegraf-ci:1.18.1 - < scripts/ci.docker
|
||||||
|
|
|
||||||
|
|
@ -1,35 +0,0 @@
|
||||||
version: '3'
|
|
||||||
|
|
||||||
services:
|
|
||||||
zookeeper:
|
|
||||||
image: wurstmeister/zookeeper
|
|
||||||
environment:
|
|
||||||
- JAVA_OPTS="-Xms256m -Xmx256m"
|
|
||||||
ports:
|
|
||||||
- "2181:2181"
|
|
||||||
kafka:
|
|
||||||
image: wurstmeister/kafka
|
|
||||||
environment:
|
|
||||||
- KAFKA_ADVERTISED_HOST_NAME=localhost
|
|
||||||
- KAFKA_ADVERTISED_PORT=9092
|
|
||||||
- KAFKA_ZOOKEEPER_CONNECT=zookeeper:2181
|
|
||||||
- KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR=1
|
|
||||||
- JAVA_OPTS="-Xms256m -Xmx256m"
|
|
||||||
ports:
|
|
||||||
- "9092:9092"
|
|
||||||
depends_on:
|
|
||||||
- zookeeper
|
|
||||||
elasticsearch:
|
|
||||||
image: docker.elastic.co/elasticsearch/elasticsearch:6.8.23
|
|
||||||
environment:
|
|
||||||
- "ES_JAVA_OPTS=-Xms256m -Xmx256m"
|
|
||||||
- discovery.type=single-node
|
|
||||||
- xpack.security.enabled=false
|
|
||||||
ports:
|
|
||||||
- "9200:9200"
|
|
||||||
postgres:
|
|
||||||
image: postgres:alpine
|
|
||||||
environment:
|
|
||||||
- POSTGRES_HOST_AUTH_METHOD=trust
|
|
||||||
ports:
|
|
||||||
- "5432:5432"
|
|
||||||
Loading…
Reference in New Issue