blob: 13b425dc21fc4a6ef5414003f9409ced64a2c05a [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
Serge Bazanskif12bedf2021-01-15 16:58:50 +010036 "k8s.io/repo-infra", "a3483874bd37251c629c92df6d82a226b0e6ad92",
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",
Serge Bazanskif369cfa2020-05-22 18:36:42 +020075 "github.com/container-storage-interface/spec",
76 "github.com/coreos/go-oidc",
77 "github.com/coreos/go-semver",
78 "github.com/coreos/go-systemd",
79 "github.com/coreos/pkg",
80 "github.com/cyphar/filepath-securejoin",
81 "github.com/daviddengcn/go-colortext",
82 "github.com/dgrijalva/jwt-go",
83 "github.com/docker/go-connections",
Lorenz Brunb876fc32020-07-14 13:54:01 +020084 "github.com/docker/distribution",
Serge Bazanskif369cfa2020-05-22 18:36:42 +020085 "github.com/dustin/go-humanize",
Lorenz Bruned0503c2020-07-28 17:21:25 +020086 "github.com/elazarl/goproxy",
Serge Bazanskif369cfa2020-05-22 18:36:42 +020087 "github.com/euank/go-kmsg-parser",
88 "github.com/evanphx/json-patch",
89 "github.com/exponent-io/jsonpath",
90 "github.com/fatih/camelcase",
91 "github.com/fatih/color",
92 "github.com/ghodss/yaml",
93 "github.com/go-openapi/analysis",
94 "github.com/go-openapi/errors",
95 "github.com/go-openapi/jsonpointer",
96 "github.com/go-openapi/jsonreference",
97 "github.com/go-openapi/loads",
98 "github.com/go-openapi/runtime",
99 "github.com/go-openapi/spec",
100 "github.com/go-openapi/strfmt",
101 "github.com/go-openapi/swag",
102 "github.com/go-openapi/validate",
103 "github.com/go-stack/stack",
104 "github.com/golang/groupcache",
105 "github.com/google/btree",
106 "github.com/google/go-cmp",
107 "github.com/googleapis/gnostic",
108 "github.com/gorilla/websocket",
109 "github.com/gregjones/httpcache",
110 "github.com/grpc-ecosystem/go-grpc-middleware",
111 "github.com/grpc-ecosystem/go-grpc-prometheus",
112 "github.com/grpc-ecosystem/grpc-gateway",
Serge Bazanski520c9342020-12-22 10:58:41 +0100113 "github.com/hashicorp/hcl",
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",
Serge Bazanski520c9342020-12-22 10:58:41 +0100120 "github.com/magiconair/properties",
Serge Bazanskif369cfa2020-05-22 18:36:42 +0200121 "github.com/mattn/go-colorable",
122 "github.com/mattn/go-isatty",
123 "github.com/mattn/go-runewidth",
124 "github.com/mindprince/gonvml",
Lorenz Brunb876fc32020-07-14 13:54:01 +0200125 "github.com/mistifyio/go-zfs",
Serge Bazanskif369cfa2020-05-22 18:36:42 +0200126 "github.com/mitchellh/go-wordwrap",
127 "github.com/mitchellh/mapstructure",
128 "github.com/moby/term",
Lorenz Brunb876fc32020-07-14 13:54:01 +0200129 "github.com/moby/sys/mountinfo",
Serge Bazanskif369cfa2020-05-22 18:36:42 +0200130 "github.com/morikuni/aec",
131 "github.com/mrunalp/fileutils",
132 "github.com/munnerz/goautoneg",
133 "github.com/mxk/go-flowrate",
134 "github.com/olekukonko/tablewriter",
Lorenz Bruned0503c2020-07-28 17:21:25 +0200135 "github.com/onsi/ginkgo",
136 "github.com/onsi/gomega",
Serge Bazanskif369cfa2020-05-22 18:36:42 +0200137 "github.com/peterbourgon/diskv",
138 "github.com/pquerna/cachecontrol",
139 "github.com/robfig/cron",
Lorenz Brunb876fc32020-07-14 13:54:01 +0200140 "github.com/russross/blackfriday",
Serge Bazanskif369cfa2020-05-22 18:36:42 +0200141 "github.com/soheilhy/cmux",
142 "github.com/spf13/afero",
Serge Bazanski520c9342020-12-22 10:58:41 +0100143 "github.com/spf13/cast",
144 "github.com/spf13/jwalterweatherman",
145 "github.com/spf13/cobra",
Serge Bazanskif369cfa2020-05-22 18:36:42 +0200146 "github.com/spf13/pflag",
Serge Bazanski520c9342020-12-22 10:58:41 +0100147 "github.com/spf13/viper",
Lorenz Brunb876fc32020-07-14 13:54:01 +0200148 "github.com/stretchr/testify",
Serge Bazanskif369cfa2020-05-22 18:36:42 +0200149 "github.com/tmc/grpc-websocket-proxy",
150 "github.com/vishvananda/netlink",
151 "github.com/vishvananda/netns",
152 "github.com/xiang90/probing",
153 "go.mongodb.org/mongo-driver",
154 "go.uber.org/atomic",
155 "go.uber.org/multierr",
156 "go.uber.org/zap",
157 "golang.org/x/xerrors",
158 "gonum.org/v1/gonum",
Lorenz Bruned0503c2020-07-28 17:21:25 +0200159 "gopkg.in/fsnotify.v1",
Serge Bazanskif369cfa2020-05-22 18:36:42 +0200160 "gopkg.in/natefinch/lumberjack.v2",
161 "gopkg.in/square/go-jose.v2",
Lorenz Bruned0503c2020-07-28 17:21:25 +0200162 "gopkg.in/tomb.v1",
Serge Bazanskif369cfa2020-05-22 18:36:42 +0200163 "k8s.io/gengo",
164 "k8s.io/heapster",
165 "k8s.io/kube-openapi",
Serge Bazanskif369cfa2020-05-22 18:36:42 +0200166 "sigs.k8s.io/apiserver-network-proxy/konnectivity-client",
167 "sigs.k8s.io/kustomize",
168 "sigs.k8s.io/structured-merge-diff/v3",
169 "vbom.ml/util",
Lorenz Brunb876fc32020-07-14 13:54:01 +0200170 ).use(
Serge Bazanskif369cfa2020-05-22 18:36:42 +0200171 "github.com/google/cadvisor",
172 ).with(disabledProtoBuild).use(
173 "go.etcd.io/etcd",
174 )
175}