forked from waldophotos/kafka-avro
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing CI of all e2e tests (waldophotos#32)
* Adding network_mode to docker compose * Updating node version in cd/ci * Installing docker-compose * Using docker command instead of docker-compose * Using a simpler docker command * Changing travis and docker-compose containers * Docker compose to circleCI * Updating circleci docker * localhost as advertised listener * Adding hosts to circleci and more tolerance with some tests * Removing intermittent tests to a more precise ci * More interval to producer * Updating readme with the new way to run * Increasing timeout of producer * Disconnecting consumers
- Loading branch information
1 parent
5a54442
commit dc53b8c
Showing
6 changed files
with
62 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,16 @@ | ||
machine: | ||
pre: | ||
- curl -sSL https://s3.amazonaws.com/circle-downloads/install-circleci-docker.sh | bash -s -- 1.10.0 | ||
- pip install docker-compose | ||
services: | ||
- docker | ||
node: | ||
version: 6.9.1 | ||
version: 8.2.0 | ||
hosts: | ||
kafka: 127.0.0.1 | ||
|
||
dependencies: | ||
pre: | ||
- docker run -d -p 2181:2181 -p 3030:3030 -p 8081:8081 -p 8082:8082 -p 8083:8083 -p 9092:9092 -e ADV_HOST=127.0.0.1 landoop/fast-data-dev | ||
- docker-compose up -d | ||
- sudo apt-get update; | ||
- sudo apt-get -y install libsasl2-dev | ||
- sudo apt-get -y install libsasl2-dev libssl-dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,38 @@ | ||
version: '2' | ||
|
||
services: | ||
zookeeper: | ||
image: confluentinc/cp-zookeeper:4.1.0 | ||
hostname: zookeeper | ||
environment: | ||
SERVICE_NAME: zookeeper | ||
ZOOKEEPER_CLIENT_PORT: 2181 | ||
ZOOKEEPER_TICK_TIME: 2000 | ||
zk_id: "1" | ||
ports: | ||
- "2181:2181" | ||
|
||
kafka: | ||
image: landoop/fast-data-dev | ||
image: confluentinc/cp-kafka:4.1.0 | ||
hostname: kafka | ||
links: | ||
- zookeeper | ||
ports: | ||
- "9092:9092" | ||
environment: | ||
ADV_HOST: kafka | ||
KAFKA_ZOOKEEPER_CONNECT: "zookeeper:2181" | ||
KAFKA_ADVERTISED_LISTENERS: "PLAINTEXT://kafka:9092" | ||
KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1 | ||
|
||
schema-registry: | ||
image: confluentinc/cp-schema-registry:4.1.0 | ||
hostname: schema-registry | ||
links: | ||
- kafka | ||
- zookeeper | ||
ports: | ||
- 2181:2181 | ||
- 3030:3030 | ||
- 8081:8081 | ||
- 8082:8082 | ||
- 8083:8083 | ||
- 9092:9092 | ||
- "8081:8081" | ||
environment: | ||
SCHEMA_REGISTRY_KAFKASTORE_CONNECTION_URL: "zookeeper:2181" | ||
SCHEMA_REGISTRY_KAFKASTORE_BOOTSTRAP_SERVERS: "PLAINTEXT://kafka:9092" | ||
SCHEMA_REGISTRY_HOST_NAME: schema-registry |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters