blob: 3414e4cab9c1f43e82e85286683187a045a23e4d [file] [log] [blame]
Serge Bazanskif369cfa2020-05-22 18:36:42 +02001// Copyright 2020 The Monogon Project Authors.
2//
3// SPDX-License-Identifier: Apache-2.0
4//
5// Licensed under the Apache License, Version 2.0 (the "License");
6// you may not use this file except in compliance with the License.
7// You may obtain a copy of the License at
8//
9// http://www.apache.org/licenses/LICENSE-2.0
10//
11// Unless required by applicable law or agreed to in writing, software
12// distributed under the License is distributed on an "AS IS" BASIS,
13// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14// See the License for the specific language governing permissions and
15// limitations under the License.
16
17package main
18
19func depsGVisor(p *planner) {
20 p.collect(
Serge Bazanskif12bedf2021-01-15 16:58:50 +010021 "github.com/google/gvisor", "release-20201216.0",
22 patches(
23 "gvisor.patch",
24 "gvisor-build-against-newer-runtime-specs.patch",
25 ),
Serge Bazanskif369cfa2020-05-22 18:36:42 +020026 ).use(
27 "github.com/cenkalti/backoff",
28 "github.com/gofrs/flock",
29 "github.com/google/subcommands",
30 "github.com/kr/pretty",
31 "github.com/kr/pty",
Serge Bazanskif12bedf2021-01-15 16:58:50 +010032 "github.com/mohae/deepcopy",
Serge Bazanskif369cfa2020-05-22 18:36:42 +020033 "golang.org/x/time",
34 )
Serge Bazanski216fe7b2021-05-21 18:36:16 +020035 // gRPC is used by gvisor's bazel machinery, but not present in go.sum. Include it
36 // manually.
Serge Bazanskif12bedf2021-01-15 16:58:50 +010037 p.collect("github.com/grpc/grpc", "v1.29.1")
Serge Bazanskif369cfa2020-05-22 18:36:42 +020038}