Skip to content

Commit

Permalink
Update to golang 1.10
Browse files Browse the repository at this point in the history
  • Loading branch information
Mongey committed Jul 19, 2018
1 parent 44c3de0 commit aef819b
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ jobs:
build:
working_directory: /go/src/github.com/Mongey/terraform-provider-kafka-connect
docker:
- image: circleci/golang:1.9
- image: circleci/golang:1.10
environment:
TEST_RESULTS: /tmp/test-results
- image: confluentinc/cp-zookeeper:latest
Expand All @@ -30,6 +30,9 @@ jobs:
CONNECT_INTERNAL_VALUE_CONVERTER: "org.apache.kafka.connect.json.JsonConverter"
CONNECT_REST_ADVERTISED_HOST_NAME: "localhost"
CONNECT_PLUGIN_PATH: /usr/share/java
CONNECT_CONFIG_STORAGE_REPLICATION_FACTOR: 1
CONNECT_OFFSET_STORAGE_REPLICATION_FACTOR: 1
CONNECT_STATUS_STORAGE_REPLICATION_FACTOR: 1
steps:
- checkout
- run: go build
Expand All @@ -38,6 +41,13 @@ jobs:
destination: terraform-provider-kafka
- run: go get github.com/jstemmer/go-junit-report
- run: mkdir -p $TEST_RESULTS
- run:
name: Wait for connect
command: |
until $(curl --output /dev/null --silent --head --fail http://localhost:8083); do
printf '.'
sleep 5
done
- run:
name: Run Tests
command: |
Expand Down

0 comments on commit aef819b

Please sign in to comment.