Skip to content

Commit

Permalink
Bump Go to 1.21, set KAFKA_BOOTSTRAP_SERVERS from makefile only (remo…
Browse files Browse the repository at this point in the history
…ve unused env in docker-compose.testacc.yaml), and switch testacc to network: host to allow it to reach brokers via localhost
  • Loading branch information
Anonymous committed Feb 19, 2024
1 parent df230b8 commit 6a84564
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.16
FROM golang:1.21

WORKDIR /go/src/github.com/Mongey/terraform-provider-kafka/

Expand Down
3 changes: 1 addition & 2 deletions docker-compose.testacc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ version: '3.2'
services:
testacc:
build: .
environment:
KAFKA_BOOTSTRAP_SERVER: kafka1:9090,kafka2:9090,kafka3:9090
network_mode: host
entrypoint:
- make
- testacc
Expand Down

0 comments on commit 6a84564

Please sign in to comment.