Skip to content

Commit fbf833f

Browse files
committed
test commit do not merge
Signed-off-by: Drew Erny <[email protected]>
1 parent 0b8364e commit fbf833f

File tree

5 files changed

+15
-3
lines changed

5 files changed

+15
-3
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
# Needed to install go
1212
OS: linux
1313
ARCH: amd64
14-
GOVERSION: 1.11
14+
GOVERSION: 1.13
1515
# Needed to install protoc
1616
PROTOC_VERSION: 3.6.1
1717

Dockerfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# NOTE(dperny): for some reason, alpine was giving me trouble
2-
FROM golang:1.11.0-stretch
2+
ARG GO_VERSION=1.13.15
3+
ARG DEBIAN_FRONTEND=noninteractive
4+
ARG BASE_DEBIAN_DISTRO="buster"
5+
ARG GOLANG_IMAGE="golang:${GO_VERSION}-${BASE_DEBIAN_DISTRO}"
6+
7+
FROM ${GOLANG_IMAGE}
38

49
RUN apt-get update && apt-get install -y make git unzip
510

@@ -16,6 +21,7 @@ WORKDIR /go/src/github.com/docker/swarmkit/
1621
# install the dependencies from `make setup`
1722
# we only copy `direct.mk` to avoid busting the cache too easily
1823
COPY direct.mk .
24+
COPY hack/protobuild hack/protobuild
1925
RUN make --file=direct.mk setup
2026

2127
# now we can copy the rest

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,3 +332,5 @@ drzndxnjz3c8iujdewzaplgr6 redis 5 redis:3.0.7 RUNNING
332332
```
333333

334334
As you can see, every Task running on `node-1` was rebalanced to either `node-2` or `node-3` by the reconciliation loop.
335+
336+

direct.mk

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,11 @@ setup: ## install dependencies
4242
# install golangci-lint version 1.17.1 to ./bin/golangci-lint
4343
@curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s v1.17.1
4444
@go get -u github.com/lk4d4/vndr
45-
@go get -u github.com/stevvooe/protobuild
45+
# horrid, awful hack to fix CI. we use a version of protobuild that predates
46+
# some changes that result in it failing on some newer version because of
47+
# dependencies. this is a binary checked into this branch, then copied into
48+
# the go path where it would be expected.
49+
@cp ./hack/protobuild ./bin/protobuild
4650

4751
.PHONY: generate
4852
generate: protos

hack/protobuild

8.07 MB
Binary file not shown.

0 commit comments

Comments
 (0)