Skip to content

Commit

Permalink
Upgrade to Kubebuilder v2 (#1723)
Browse files Browse the repository at this point in the history
  • Loading branch information
anyasabo authored Sep 23, 2019
1 parent 260aff6 commit 8f7265b
Show file tree
Hide file tree
Showing 141 changed files with 1,500 additions and 1,827 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,9 @@ hack/deployer/config/deployer-config.yml
# ignore CI config files
deployer-config.yml
.env

# ignore test output
integration-tests.json
integration-tests.xml
unit-tests.json
unit-tests.xml
1 change: 1 addition & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ linters:
enable-all: true
disable:
- dupl
- funlen
- gochecknoglobals
- gochecknoinits
- interfacer
Expand Down
11 changes: 8 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
# Build the manager binary
FROM golang:1.11 as builder
FROM golang:1.13 as builder

# Copy in the go src
WORKDIR /go/src/github.com/elastic/cloud-on-k8s
COPY go.mod go.mod
COPY go.sum go.sum
# cache deps before building and copying source so that we don't need to re-download as much
# and so that source changes don't invalidate our downloaded layer
RUN go mod download

# Copy the go source
COPY pkg/ pkg/
COPY cmd/ cmd/
COPY vendor/ vendor/

ARG GO_LDFLAGS
ARG GO_TAGS
Expand Down
Loading

0 comments on commit 8f7265b

Please sign in to comment.