forked from kubernetes/test-infra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
WORKSPACE
105 lines (65 loc) · 2.36 KB
/
WORKSPACE
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# gazelle:repository_macro repos.bzl%go_repositories
workspace(name = "io_k8s_test_infra")
canary_repo_infra = False # Set to true to use the local version
canary_repo_infra and local_repository(
name = "io_k8s_repo_infra",
path = "../repo-infra",
)
load("//:load.bzl", "repositories")
repositories()
load("@io_k8s_repo_infra//:load.bzl", _repo_infra_repos = "repositories")
_repo_infra_repos()
load("@io_k8s_repo_infra//:repos.bzl", "configure")
configure(
go_version = "1.16.2",
nogo = "@//:nogo_vet",
)
load("//:repos.bzl", "go_repositories")
go_repositories()
load("@io_k8s_repo_infra//:repos.bzl", _repo_infra_go_repos = "go_repositories")
_repo_infra_go_repos()
load("@io_bazel_rules_docker//repositories:repositories.bzl", _container_repositories = "repositories")
_container_repositories()
load("@io_bazel_rules_docker//repositories:deps.bzl", _container_deps = "deps")
_container_deps()
load("@io_bazel_rules_docker//repositories:pip_repositories.bzl", _pip_deps = "pip_deps")
_pip_deps()
load("@io_bazel_rules_docker//go:image.bzl", _go_repositories = "repositories")
_go_repositories()
load("@io_bazel_rules_k8s//k8s:k8s.bzl", _k8s_repos = "k8s_repositories")
load("@io_bazel_rules_k8s//toolchains/kubectl:kubectl_configure.bzl", "kubectl_configure")
kubectl_configure(name = "k8s_config")
_k8s_repos()
load("@io_bazel_rules_k8s//k8s:k8s_go_deps.bzl", _k8s_go_repos = "deps")
_k8s_go_repos()
load("//:containers.bzl", _container_repos = "repositories")
_container_repos()
load("@io_bazel_rules_k8s//k8s:k8s.bzl", "k8s_repositories")
k8s_repositories()
# TODO(fejta): node repositories
load("@build_bazel_rules_nodejs//:index.bzl", "yarn_install")
yarn_install(
name = "npm",
# Updating yarn.lock? Set frozen_lockfile=False,
frozen_lockfile = True,
package_json = "//:package.json",
quiet = True,
yarn_lock = "//:yarn.lock",
)
load("@rules_python//python:pip.bzl", "pip_import")
pip_import(
name = "py_deps",
python_interpreter = "python2.7",
requirements = "//:requirements2.txt",
)
load("@py_deps//:requirements.bzl", "pip_install")
pip_install()
pip_import(
name = "py3_deps",
python_interpreter = "python3",
requirements = "//:requirements3.txt",
)
load("//:py.bzl", "python_repos")
python_repos()
load("@io_bazel_rules_jsonnet//jsonnet:jsonnet.bzl", "jsonnet_repositories")
jsonnet_repositories()