Skip to content

Commit

Permalink
Merge pull request #20 from displague/useNBCRebuild
Browse files Browse the repository at this point in the history
Use NBC Rebuild features in UpdateLoadBalancer
  • Loading branch information
asauber committed Mar 6, 2019
2 parents 31a9d49 + 6595a06 commit ebfef1f
Show file tree
Hide file tree
Showing 2,903 changed files with 720 additions and 1,004,019 deletions.
10 changes: 7 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
sudo: required
dist: xenial

services:
- docker

language: go

env:
- GO111MODULE=on

go:
- 1.10.x
- 1.11.x
- tip

cache:
Expand All @@ -19,8 +23,8 @@ matrix:
- go: tip

before_install:
- go get github.com/mattn/goveralls
- go get github.com/lawrencewoodman/roveralls
- GO111MODULE=off go get github.com/mattn/goveralls
- GO111MODULE=off go get github.com/lawrencewoodman/roveralls

install:
- wget -O - -q https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $GOPATH/bin latest
Expand Down
16 changes: 8 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Build the manager binary
FROM golang:1.11.2 as builder
FROM golang:1.11.5 as builder

WORKDIR /go/src/github.com/linode/linode-cloud-controller-manager
COPY cloud/ cloud/
COPY *.go ./
COPY vendor/ vendor/
COPY go.* *.go ./
COPY cloud/ ./cloud
ENV GO111MODULE=on

RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o linode-cloud-controller-manager github.com/linode/linode-cloud-controller-manager

FROM ubuntu:latest
FROM alpine:latest
RUN apk update && apk add ca-certificates && rm -rf /var/cache/apk/*
WORKDIR /root/
RUN apt-get update -qq && apt-get install -qy ca-certificates
COPY --from=builder /go/src/github.com/linode/linode-cloud-controller-manager/linode-cloud-controller-manager .
ENTRYPOINT ["./linode-cloud-controller-manager"]
COPY --from=builder /go/src/github.com/linode/linode-cloud-controller-manager/linode-cloud-controller-manager /
ENTRYPOINT ["/linode-cloud-controller-manager"]
Loading

0 comments on commit ebfef1f

Please sign in to comment.