mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2025-08-06 09:36:58 +02:00
upgrade go version to 1.13 in external-dns
This commit is contained in:
parent
8da3b34f6d
commit
28c7c72936
@ -6,7 +6,7 @@ os:
|
|||||||
language: go
|
language: go
|
||||||
|
|
||||||
go:
|
go:
|
||||||
- "1.12.x"
|
- "1.13.x"
|
||||||
- tip
|
- tip
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
@ -14,11 +14,11 @@ matrix:
|
|||||||
- go: tip
|
- go: tip
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- GO111MODULE=on GOLANGCI_RELEASE="v1.17.1"
|
- GOLANGCI_RELEASE="v1.17.1"
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- go get github.com/mattn/goveralls
|
- GO111MODULE=off go get github.com/mattn/goveralls
|
||||||
- go get github.com/lawrencewoodman/roveralls
|
- GO111MODULE=off go get github.com/lawrencewoodman/roveralls
|
||||||
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin ${GOLANGCI_RELEASE}
|
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin ${GOLANGCI_RELEASE}
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
# builder image
|
# builder image
|
||||||
FROM golang:1.12.9 as builder
|
FROM golang:1.13 as builder
|
||||||
|
|
||||||
WORKDIR /github.com/kubernetes-incubator/external-dns
|
WORKDIR /github.com/kubernetes-incubator/external-dns
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
FROM golang:1.12.9 as builder
|
FROM golang:1.13 as builder
|
||||||
|
|
||||||
WORKDIR /github.com/kubernetes-incubator/external-dns
|
WORKDIR /github.com/kubernetes-incubator/external-dns
|
||||||
|
|
||||||
|
@ -162,7 +162,6 @@ support](https://github.com/golang/go/wiki/Modules#installing-and-activating-mod
|
|||||||
Assuming Go has been setup with module support it can be built simply by running:
|
Assuming Go has been setup with module support it can be built simply by running:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ export GO111MODULE=on # needed if the project is checked out in your $GOPATH.
|
|
||||||
$ make
|
$ make
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user