forked from cert-manager/testing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
WORKSPACE
104 lines (88 loc) · 3.27 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
workspace(name = "io_jetstack_testing")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_file")
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
load("@bazel_tools//tools/build_defs/repo:git.bzl", "new_git_repository")
git_repository(
name = "bazel_skylib",
remote = "https://github.com/bazelbuild/bazel-skylib.git",
commit = "f83cb8dd6f5658bc574ccd873e25197055265d1c",
shallow_since = "1543273402 -0500",
)
load("@bazel_skylib//lib:versions.bzl", "versions")
versions.check(minimum_bazel_version = "0.23.0")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "io_bazel_rules_go",
urls = ["https://github.com/bazelbuild/rules_go/releases/download/0.18.2/rules_go-0.18.2.tar.gz"],
sha256 = "31f959ecf3687f6e0bb9d01e1e7a7153367ecd82816c9c0ae149cd0e5a92bf8c",
)
http_archive(
name = "bazel_gazelle",
urls = ["https://github.com/bazelbuild/bazel-gazelle/releases/download/0.17.0/bazel-gazelle-0.17.0.tar.gz"],
sha256 = "3c681998538231a2d24d0c07ed5a7658cb72bfb5fd4bf9911157c0e9ac6a2687",
)
load("@io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies", "go_register_toolchains")
go_rules_dependencies()
go_register_toolchains()
load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies", "go_repository")
gazelle_dependencies()
git_repository(
name = "io_kubernetes_build",
commit = "84d52408a061e87d45aebf5a0867246bdf66d180",
remote = "https://github.com/kubernetes/repo-infra.git",
shallow_since = "1535407978 -0700",
)
git_repository(
name = "io_bazel_rules_docker",
remote = "https://github.com/bazelbuild/rules_docker.git",
commit = "3732c9d05315bef6a3dbd195c545d6fea3b86880",
shallow_since = "1547471117 +0100",
)
load("@io_bazel_rules_docker//container:container.bzl", "container_pull")
# Used by label_sync
container_pull(
name = "distroless-base",
# latest circa 2017/11/29
digest = "sha256:bef8d030c7f36dfb73a8c76137616faeea73ac5a8495d535f27c911d0db77af3",
registry = "gcr.io",
repository = "distroless/base",
)
container_pull(
name = "python",
digest = "sha256:8bfeec8f8ba3aaeea918a0198f4b1c7c9b2b39e26f399a7173229dfcef76fc1f",
registry = "index.docker.io",
repository = "library/python",
tag = "2.7.14-jessie",
)
load(
"@io_bazel_rules_docker//go:image.bzl",
_go_repositories = "repositories",
)
_go_repositories()
git_repository(
name = "io_bazel_rules_k8s",
commit = "c861e4ea5a0b34e17fb682f60fa78a9c85050519",
remote = "https://github.com/bazelbuild/rules_k8s.git",
shallow_since = "1535029445 -0400",
)
http_archive(
name = "yaml",
build_file_content = """
py_library(
name = "yaml",
srcs = glob(["*.py"]),
visibility = ["//visibility:public"],
)
""",
sha256 = "592766c6303207a20efc445587778322d7f73b161bd994f227adaa341ba212ab",
strip_prefix = "PyYAML-3.12/lib/yaml",
urls = ["https://files.pythonhosted.org/packages/4a/85/db5a2df477072b2902b0eb892feb37d88ac635d36245a72a6a69b23b383a/PyYAML-3.12.tar.gz"],
)
go_repository(
name = "in_gopkg_yaml_v2",
commit = "5420a8b6744d3b0345ab293f6fcba19c978f1183",
remote = "https://github.com/go-yaml/yaml",
vcs = "git",
importpath = "gopkg.in/yaml.v2",
)