File: config.yml

package info (click to toggle)
golang-github-segmentio-kafka-go 0.2.1-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 572 kB
  • sloc: makefile: 3
file content (25 lines) | stat: -rw-r--r-- 860 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
version: 2
jobs:
  build:
    working_directory: /go/src/github.com/segmentio/kafka-go
    docker:
      - image: circleci/golang
      - image: wurstmeister/zookeeper
        ports: ['2181:2181']
      - image: wurstmeister/kafka:0.11.0.1
        ports: ['9092:9092']
        environment:
          KAFKA_VERSION: '0.11.0.1'
          KAFKA_BROKER_ID: '1'
          KAFKA_CREATE_TOPICS: 'test-writer-0:3:1,test-writer-1:3:1'
          KAFKA_DELETE_TOPIC_ENABLE: 'true'
          KAFKA_ADVERTISED_HOST_NAME: 'localhost'
          KAFKA_ADVERTISED_PORT: '9092'
          KAFKA_ZOOKEEPER_CONNECT: 'localhost:2181'
          KAFKA_AUTO_CREATE_TOPICS_ENABLE: 'true'
    steps:
      - checkout
      - setup_remote_docker: { reusable: true, docker_layer_caching: true }
      - run: go get -v -t ./...
      - run: go vet ./...
      - run: go test -v -race ./...