Serge Bazanski | f369cfa | 2020-05-22 18:36:42 +0200 | [diff] [blame] | 1 | // 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 | |
| 17 | package main |
| 18 | |
| 19 | func depsGVisor(p *planner) { |
| 20 | p.collect( |
Serge Bazanski | f12bedf | 2021-01-15 16:58:50 +0100 | [diff] [blame] | 21 | "github.com/google/gvisor", "release-20201216.0", |
| 22 | patches( |
| 23 | "gvisor.patch", |
| 24 | "gvisor-build-against-newer-runtime-specs.patch", |
| 25 | ), |
Serge Bazanski | f369cfa | 2020-05-22 18:36:42 +0200 | [diff] [blame] | 26 | ).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 Bazanski | f12bedf | 2021-01-15 16:58:50 +0100 | [diff] [blame] | 32 | "github.com/mohae/deepcopy", |
Serge Bazanski | f369cfa | 2020-05-22 18:36:42 +0200 | [diff] [blame] | 33 | "golang.org/x/time", |
| 34 | ) |
| 35 | // gRPC is used by gvisor's bazel machinery, but not present in go.sum. Include it manually. |
Serge Bazanski | f12bedf | 2021-01-15 16:58:50 +0100 | [diff] [blame] | 36 | p.collect("github.com/grpc/grpc", "v1.29.1") |
Serge Bazanski | f369cfa | 2020-05-22 18:36:42 +0200 | [diff] [blame] | 37 | } |