use go 1.14

pull/227/head
iwilltry42 5 years ago
parent 2070df4c9d
commit 1b70008457
No known key found for this signature in database
GPG Key ID: 7BA57AD1CFF16110
  1. 2
      .travis.yml
  2. 4
      Makefile
  3. 2
      go.mod
  4. 45
      vendor/modules.txt

@ -3,7 +3,7 @@ language: go
env:
- GO111MODULE=on
go:
- 1.13.x
- 1.14.x
git:
depth: 1
install: true

@ -11,7 +11,11 @@ GIT_TAG := $(shell git describe --always)
endif
# get latest k3s version: grep the tag JSON field, extract the tag and replace + with - (difference between git and dockerhub tags)
ifneq (${GITHUB_API_TOKEN},)
K3S_TAG := $(shell curl --silent -H "Authorization: token: ${GITHUB_API_TOKEN}" "https://api.github.com/repos/rancher/k3s/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/' | sed -E 's/\+/\-/')
else
K3S_TAG := $(shell curl --silent "https://api.github.com/repos/rancher/k3s/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/' | sed -E 's/\+/\-/')
endif
ifeq ($(K3S_TAG),)
$(warning K3S_TAG undefined: couldn't get latest k3s image tag!)
$(warning Output of curl: $(shell curl --silent "https://api.github.com/repos/rancher/k3s/releases/latest"))

@ -1,6 +1,6 @@
module github.com/rancher/k3d
go 1.13
go 1.14
require (
github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78 // indirect

45
vendor/modules.txt vendored

@ -1,7 +1,11 @@
# github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78
## explicit
# github.com/Microsoft/go-winio v0.4.14
## explicit
github.com/Microsoft/go-winio
github.com/Microsoft/go-winio/pkg/guid
# github.com/Microsoft/hcsshim v0.8.6
## explicit
github.com/Microsoft/hcsshim
github.com/Microsoft/hcsshim/internal/guestrequest
github.com/Microsoft/hcsshim/internal/guid
@ -17,7 +21,10 @@ github.com/Microsoft/hcsshim/internal/schema1
github.com/Microsoft/hcsshim/internal/schema2
github.com/Microsoft/hcsshim/internal/timeout
github.com/Microsoft/hcsshim/internal/wclayer
# github.com/containerd/cgroups v0.0.0-20190923161937-abd0b19954a6
## explicit
# github.com/containerd/containerd v1.3.0-rc.2.0.20190924150618-aba201344ebf
## explicit
github.com/containerd/containerd
github.com/containerd/containerd/api/services/containers/v1
github.com/containerd/containerd/api/services/content/v1
@ -69,16 +76,21 @@ github.com/containerd/containerd/snapshots/proxy
github.com/containerd/containerd/sys
github.com/containerd/containerd/version
# github.com/containerd/continuity v0.0.0-20190827140505-75bee3e2ccb6
## explicit
github.com/containerd/continuity/fs
github.com/containerd/continuity/syscallx
github.com/containerd/continuity/sysx
# github.com/containerd/fifo v0.0.0-20190816180239-bda0ff6ed73c
## explicit
github.com/containerd/fifo
# github.com/containerd/ttrpc v0.0.0-20190828172938-92c8520ef9f8
## explicit
github.com/containerd/ttrpc
# github.com/containerd/typeurl v0.0.0-20190911142611-5eb25027c9fd
## explicit
github.com/containerd/typeurl
# github.com/docker/distribution v0.0.0-20190905152932-14b96e55d84c
## explicit
github.com/docker/distribution
github.com/docker/distribution/digestset
github.com/docker/distribution/manifest
@ -87,6 +99,7 @@ github.com/docker/distribution/manifest/schema2
github.com/docker/distribution/reference
github.com/docker/distribution/registry/api/errcode
# github.com/docker/docker v1.4.2-0.20190905191220-3b23f9033967
## explicit
github.com/docker/docker/api
github.com/docker/docker/api/types
github.com/docker/docker/api/types/blkiodev
@ -106,61 +119,84 @@ github.com/docker/docker/api/types/volume
github.com/docker/docker/client
github.com/docker/docker/errdefs
# github.com/docker/go-connections v0.4.0
## explicit
github.com/docker/go-connections/nat
github.com/docker/go-connections/sockets
github.com/docker/go-connections/tlsconfig
# github.com/docker/go-events v0.0.0-20190806004212-e31b211e4f1c
## explicit
github.com/docker/go-events
# github.com/docker/go-units v0.4.0
github.com/docker/go-units
# github.com/docker/libtrust v0.0.0-20160708172513-aabc10ec26b7
github.com/docker/libtrust
# github.com/go-test/deep v1.0.4
## explicit
github.com/go-test/deep
# github.com/gogo/googleapis v1.3.0
## explicit
github.com/gogo/googleapis/google/rpc
# github.com/gogo/protobuf v1.3.0
github.com/gogo/protobuf/proto
github.com/gogo/protobuf/sortkeys
github.com/gogo/protobuf/types
# github.com/golang/protobuf v1.3.1
## explicit
github.com/golang/protobuf/proto
github.com/golang/protobuf/ptypes
github.com/golang/protobuf/ptypes/any
github.com/golang/protobuf/ptypes/duration
github.com/golang/protobuf/ptypes/timestamp
# github.com/google/go-cmp v0.3.0
## explicit
# github.com/heroku/docker-registry-client v0.0.0-20190909225348-afc9e1acc3d5
## explicit
github.com/heroku/docker-registry-client/registry
# github.com/imdario/mergo v0.3.7
## explicit
# github.com/inconshreveable/mousetrap v1.0.0
github.com/inconshreveable/mousetrap
# github.com/konsorten/go-windows-terminal-sequences v1.0.1
github.com/konsorten/go-windows-terminal-sequences
# github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de
## explicit
github.com/liggitt/tabwriter
# github.com/mitchellh/go-homedir v1.1.0
## explicit
github.com/mitchellh/go-homedir
# github.com/morikuni/aec v0.0.0-20170113033406-39771216ff4c
## explicit
# github.com/opencontainers/go-digest v1.0.0-rc1
github.com/opencontainers/go-digest
# github.com/opencontainers/image-spec v1.0.1
## explicit
github.com/opencontainers/image-spec/identity
github.com/opencontainers/image-spec/specs-go
github.com/opencontainers/image-spec/specs-go/v1
# github.com/opencontainers/runc v0.1.1
## explicit
github.com/opencontainers/runc/libcontainer/system
github.com/opencontainers/runc/libcontainer/user
# github.com/opencontainers/runtime-spec v1.0.1
## explicit
github.com/opencontainers/runtime-spec/specs-go
# github.com/pkg/errors v0.8.1
github.com/pkg/errors
# github.com/sirupsen/logrus v1.4.2
## explicit
github.com/sirupsen/logrus
# github.com/spf13/cobra v0.0.5
## explicit
github.com/spf13/cobra
# github.com/spf13/pflag v1.0.3
github.com/spf13/pflag
# github.com/syndtr/gocapability v0.0.0-20180916011248-d98352740cb2
## explicit
github.com/syndtr/gocapability/capability
# go.etcd.io/bbolt v1.3.3
## explicit
# golang.org/x/net v0.0.0-20190812203447-cdfb69ac37fc
## explicit
golang.org/x/net/context
golang.org/x/net/context/ctxhttp
golang.org/x/net/http/httpguts
@ -175,16 +211,21 @@ golang.org/x/net/trace
golang.org/x/sync/errgroup
golang.org/x/sync/semaphore
# golang.org/x/sys v0.0.0-20190902133755-9109b7679e13
## explicit
golang.org/x/sys/unix
golang.org/x/sys/windows
# golang.org/x/text v0.3.2
## explicit
golang.org/x/text/secure/bidirule
golang.org/x/text/transform
golang.org/x/text/unicode/bidi
golang.org/x/text/unicode/norm
# golang.org/x/time v0.0.0-20190308202827-9d24e82272b4
## explicit
# google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8
google.golang.org/genproto/googleapis/rpc/status
# google.golang.org/grpc v1.23.0
## explicit
google.golang.org/grpc
google.golang.org/grpc/balancer
google.golang.org/grpc/balancer/base
@ -219,3 +260,7 @@ google.golang.org/grpc/serviceconfig
google.golang.org/grpc/stats
google.golang.org/grpc/status
google.golang.org/grpc/tap
# gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15
## explicit
# gotest.tools v2.2.0+incompatible
## explicit

Loading…
Cancel
Save