Skip to content

Commit 50e3946

Browse files
authored
Merge pull request #498 from fangn2/upgrade-go-to-1.7
Upgrade minimum go to 1.17
2 parents aa97886 + a611834 commit 50e3946

File tree

7 files changed

+36
-819
lines changed

7 files changed

+36
-819
lines changed

.buildkite/pipeline.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# express or implied. See the License for the specific language governing
1212
# permissions and limitations under the License.
1313
env:
14-
PATH: "/usr/lib/go-1.15/bin:/usr/bin"
14+
PATH: "/usr/lib/go-1.17/bin:/usr/bin"
1515
FC_TEST_DATA_PATH: "/tmp/buildkite_build_${BUILDKITE_BUILD_NUMBER}_testdata"
1616

1717
steps:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Please see [HACKING](HACKING.md)
2121
Building
2222
---
2323

24-
This library requires Go 1.11 and Go modules to build. A Makefile is provided
24+
This library requires Go 1.17 or later and Go modules to build. A Makefile is provided
2525
for convenience, but is not required. When using the Makefile, you can pass
2626
additional flags to the Go compiler via the `EXTRAGOARGS` make variable.
2727

doc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Firecracker is an open-source virtualization technology that is purpose-built
1818
for creating and managing secure, multi-tenant containers and functions-based
1919
services. See https://firecracker-microvm.github.io/ for more details.
2020
21-
This library requires Go 1.11 and can be used with Go modules.
21+
This library requires Go 1.17 or later and can be used with Go modules.
2222
2323
BUG(aws): There are some Firecracker features that are not yet supported by the
2424
SDK. These are tracked as GitHub issues with the firecracker-feature label:

examples/cmd/snapshotting/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ require (
1414
github.com/containernetworking/cni v1.1.2 // indirect
1515
github.com/containernetworking/plugins v1.1.1 // indirect
1616
github.com/go-openapi/analysis v0.21.4 // indirect
17-
github.com/go-openapi/errors v0.20.2 // indirect
17+
github.com/go-openapi/errors v0.20.3 // indirect
1818
github.com/go-openapi/jsonpointer v0.19.5 // indirect
1919
github.com/go-openapi/jsonreference v0.20.0 // indirect
2020
github.com/go-openapi/loads v0.21.1 // indirect

examples/cmd/snapshotting/go.sum

Lines changed: 4 additions & 811 deletions
Large diffs are not rendered by default.

go.mod

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/firecracker-microvm/firecracker-go-sdk
22

3-
go 1.11
3+
go 1.17
44

55
require (
66
github.com/containerd/fifo v1.0.0
@@ -22,3 +22,30 @@ require (
2222
golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d
2323
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8
2424
)
25+
26+
require (
27+
github.com/PuerkitoBio/purell v1.1.1 // indirect
28+
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect
29+
github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d // indirect
30+
github.com/davecgh/go-spew v1.1.1 // indirect
31+
github.com/go-openapi/analysis v0.21.2 // indirect
32+
github.com/go-openapi/jsonpointer v0.19.5 // indirect
33+
github.com/go-openapi/jsonreference v0.19.6 // indirect
34+
github.com/go-openapi/loads v0.21.1 // indirect
35+
github.com/go-openapi/spec v0.20.4 // indirect
36+
github.com/hashicorp/errwrap v1.0.0 // indirect
37+
github.com/josharian/intern v1.0.0 // indirect
38+
github.com/mailru/easyjson v0.7.7 // indirect
39+
github.com/mdlayher/socket v0.2.0 // indirect
40+
github.com/mitchellh/mapstructure v1.4.3 // indirect
41+
github.com/oklog/ulid v1.3.1 // indirect
42+
github.com/opentracing/opentracing-go v1.2.0 // indirect
43+
github.com/pkg/errors v0.9.1 // indirect
44+
github.com/pmezard/go-difflib v1.0.0 // indirect
45+
go.mongodb.org/mongo-driver v1.10.0 // indirect
46+
golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd // indirect
47+
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect
48+
golang.org/x/text v0.3.7 // indirect
49+
gopkg.in/yaml.v2 v2.4.0 // indirect
50+
gopkg.in/yaml.v3 v3.0.1 // indirect
51+
)

go.sum

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,6 @@ github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QD
366366
github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI=
367367
github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI=
368368
github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
369-
github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw=
370369
github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
371370
github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q=
372371
github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ=
@@ -972,7 +971,6 @@ golang.org/x/tools v0.1.4/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
972971
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
973972
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
974973
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
975-
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE=
976974
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
977975
google.golang.org/api v0.0.0-20160322025152-9bf6e6e569ff/go.mod h1:4mhQ8q/RsB7i+udVvVy5NUi08OU8ZlA0gRVgrF7VFY0=
978976
google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE=
@@ -1038,7 +1036,6 @@ google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpAD
10381036
google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4=
10391037
google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c=
10401038
google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
1041-
google.golang.org/protobuf v1.26.0 h1:bxAC2xTBsZGibn2RTntX0oH50xLsqy1OxA9tTL3p/lk=
10421039
google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
10431040
gopkg.in/airbrake/gobrake.v2 v2.0.9/go.mod h1:/h5ZAUhDkGaJfjzjKLSjv6zCL6O0LLBxU4K+aSYdM/U=
10441041
gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw=

0 commit comments

Comments
 (0)