blob: be7355dda170c018be5ec5ff798124f706f44108 [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 depsKubernetes(p *planner) {
20 // containerd and its deps
21 p.collect(
Lorenz Brunb876fc32020-07-14 13:54:01 +020022 "k8s.io/kubernetes", "v1.19.0-rc.0",
Serge Bazanskif369cfa2020-05-22 18:36:42 +020023 buildTags("providerless"),
24 disabledProtoBuild,
Lorenz Brun878f5f92020-05-12 16:15:39 +020025 patches(
26 "k8s-kubernetes.patch",
27 "k8s-kubernetes-build.patch",
28 "k8s-native-metrics.patch",
29 "k8s-use-native.patch",
30 ),
Lorenz Bruned0503c2020-07-28 17:21:25 +020031 prePatches(
32 "k8s-e2e-tests-providerless.patch",
33 ),
Serge Bazanskif369cfa2020-05-22 18:36:42 +020034 ).inject(
35 // repo infra, not requested by k8s, but used with bazel
36 "k8s.io/repo-infra", "df02ded38f9506e5bbcbf21702034b4fef815f2f",
Lorenz Bruned0503c2020-07-28 17:21:25 +020037 ).with(prePatches("k8s-client-go.patch")).use(
Serge Bazanskif369cfa2020-05-22 18:36:42 +020038 "k8s.io/client-go",
Lorenz Brun878f5f92020-05-12 16:15:39 +020039 ).with(patches("k8s-native-mounter.patch")).use(
40 "k8s.io/utils",
Serge Bazanskif369cfa2020-05-22 18:36:42 +020041 ).use(
42 "k8s.io/cli-runtime",
43 "k8s.io/client-go",
44 "k8s.io/cloud-provider",
45 "k8s.io/cluster-bootstrap",
46 "k8s.io/component-base",
47 "k8s.io/csi-translation-lib",
48 "k8s.io/kube-controller-manager",
49 "k8s.io/kube-proxy",
50 "k8s.io/kube-scheduler",
51 "k8s.io/kubectl",
52 "k8s.io/legacy-cloud-providers",
53 "k8s.io/sample-apiserver",
54 ).with(disabledProtoBuild).use(
55 "k8s.io/api",
56 "k8s.io/apiextensions-apiserver",
57 "k8s.io/apimachinery",
58 "k8s.io/apiserver",
59 "k8s.io/cri-api",
60 "k8s.io/kube-aggregator",
61 "k8s.io/kubelet",
62 "k8s.io/metrics",
63 ).use(
64 "cloud.google.com/go",
65 "github.com/Azure/go-ansiterm",
66 "github.com/MakeNowJust/heredoc",
67 "github.com/NYTimes/gziphandler",
68 "github.com/PuerkitoBio/purell",
69 "github.com/PuerkitoBio/urlesc",
70 "github.com/armon/circbuf",
71 "github.com/asaskevich/govalidator",
72 "github.com/bgentry/speakeasy",
73 "github.com/blang/semver",
74 "github.com/chai2010/gettext-go",
Lorenz Brunb876fc32020-07-14 13:54:01 +020075 "github.com/checkpoint-restore/go-criu/v4",
Serge Bazanskif369cfa2020-05-22 18:36:42 +020076 "github.com/container-storage-interface/spec",
77 "github.com/coreos/go-oidc",
78 "github.com/coreos/go-semver",
79 "github.com/coreos/go-systemd",
80 "github.com/coreos/pkg",
81 "github.com/cyphar/filepath-securejoin",
82 "github.com/daviddengcn/go-colortext",
83 "github.com/dgrijalva/jwt-go",
84 "github.com/docker/go-connections",
Lorenz Brunb876fc32020-07-14 13:54:01 +020085 "github.com/docker/distribution",
Serge Bazanskif369cfa2020-05-22 18:36:42 +020086 "github.com/dustin/go-humanize",
Lorenz Bruned0503c2020-07-28 17:21:25 +020087 "github.com/elazarl/goproxy",
Serge Bazanskif369cfa2020-05-22 18:36:42 +020088 "github.com/euank/go-kmsg-parser",
89 "github.com/evanphx/json-patch",
90 "github.com/exponent-io/jsonpath",
91 "github.com/fatih/camelcase",
92 "github.com/fatih/color",
93 "github.com/ghodss/yaml",
94 "github.com/go-openapi/analysis",
95 "github.com/go-openapi/errors",
96 "github.com/go-openapi/jsonpointer",
97 "github.com/go-openapi/jsonreference",
98 "github.com/go-openapi/loads",
99 "github.com/go-openapi/runtime",
100 "github.com/go-openapi/spec",
101 "github.com/go-openapi/strfmt",
102 "github.com/go-openapi/swag",
103 "github.com/go-openapi/validate",
104 "github.com/go-stack/stack",
105 "github.com/golang/groupcache",
106 "github.com/google/btree",
107 "github.com/google/go-cmp",
108 "github.com/googleapis/gnostic",
109 "github.com/gorilla/websocket",
110 "github.com/gregjones/httpcache",
111 "github.com/grpc-ecosystem/go-grpc-middleware",
112 "github.com/grpc-ecosystem/go-grpc-prometheus",
113 "github.com/grpc-ecosystem/grpc-gateway",
Lorenz Bruned0503c2020-07-28 17:21:25 +0200114 "github.com/hpcloud/tail",
Serge Bazanskif369cfa2020-05-22 18:36:42 +0200115 "github.com/jonboulle/clockwork",
116 "github.com/karrick/godirwalk",
117 "github.com/liggitt/tabwriter",
118 "github.com/lithammer/dedent",
119 "github.com/mailru/easyjson",
120 "github.com/mattn/go-colorable",
121 "github.com/mattn/go-isatty",
122 "github.com/mattn/go-runewidth",
123 "github.com/mindprince/gonvml",
Lorenz Brunb876fc32020-07-14 13:54:01 +0200124 "github.com/mistifyio/go-zfs",
Serge Bazanskif369cfa2020-05-22 18:36:42 +0200125 "github.com/mitchellh/go-wordwrap",
126 "github.com/mitchellh/mapstructure",
127 "github.com/moby/term",
Lorenz Brunb876fc32020-07-14 13:54:01 +0200128 "github.com/moby/sys/mountinfo",
Serge Bazanskif369cfa2020-05-22 18:36:42 +0200129 "github.com/morikuni/aec",
130 "github.com/mrunalp/fileutils",
131 "github.com/munnerz/goautoneg",
132 "github.com/mxk/go-flowrate",
133 "github.com/olekukonko/tablewriter",
Lorenz Bruned0503c2020-07-28 17:21:25 +0200134 "github.com/onsi/ginkgo",
135 "github.com/onsi/gomega",
Serge Bazanskif369cfa2020-05-22 18:36:42 +0200136 "github.com/peterbourgon/diskv",
137 "github.com/pquerna/cachecontrol",
138 "github.com/robfig/cron",
Lorenz Brunb876fc32020-07-14 13:54:01 +0200139 "github.com/russross/blackfriday",
Serge Bazanskif369cfa2020-05-22 18:36:42 +0200140 "github.com/soheilhy/cmux",
141 "github.com/spf13/afero",
Serge Bazanskif369cfa2020-05-22 18:36:42 +0200142 "github.com/spf13/pflag",
Lorenz Brunb876fc32020-07-14 13:54:01 +0200143 "github.com/stretchr/testify",
Serge Bazanskif369cfa2020-05-22 18:36:42 +0200144 "github.com/tmc/grpc-websocket-proxy",
145 "github.com/vishvananda/netlink",
146 "github.com/vishvananda/netns",
147 "github.com/xiang90/probing",
148 "go.mongodb.org/mongo-driver",
149 "go.uber.org/atomic",
150 "go.uber.org/multierr",
151 "go.uber.org/zap",
152 "golang.org/x/xerrors",
153 "gonum.org/v1/gonum",
Lorenz Bruned0503c2020-07-28 17:21:25 +0200154 "gopkg.in/fsnotify.v1",
Serge Bazanskif369cfa2020-05-22 18:36:42 +0200155 "gopkg.in/natefinch/lumberjack.v2",
156 "gopkg.in/square/go-jose.v2",
Lorenz Bruned0503c2020-07-28 17:21:25 +0200157 "gopkg.in/tomb.v1",
Serge Bazanskif369cfa2020-05-22 18:36:42 +0200158 "k8s.io/gengo",
159 "k8s.io/heapster",
160 "k8s.io/kube-openapi",
Serge Bazanskif369cfa2020-05-22 18:36:42 +0200161 "sigs.k8s.io/apiserver-network-proxy/konnectivity-client",
162 "sigs.k8s.io/kustomize",
163 "sigs.k8s.io/structured-merge-diff/v3",
164 "vbom.ml/util",
Lorenz Brunb876fc32020-07-14 13:54:01 +0200165 ).use(
Serge Bazanskif369cfa2020-05-22 18:36:42 +0200166 "github.com/google/cadvisor",
167 ).with(disabledProtoBuild).use(
168 "go.etcd.io/etcd",
169 )
170}