forked from draveness/istio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWORKSPACE
176 lines (144 loc) · 5.18 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
# Use go get github.com/bazelbuild/rules_go/go/tools/wtool
# then for instance wtool -verbose com_github_golang_glog
# to add to this file
workspace(name = "com_github_istio_istio")
git_repository(
name = "io_bazel_rules_go",
commit = "de4f17a549ec4b21566877f5a0f3fff0ba40931e", # July 17 2017 (0.5.2)
remote = "https://github.com/bazelbuild/rules_go.git",
)
load("@io_bazel_rules_go//go:def.bzl", "go_repositories", "go_repository")
go_repositories()
git_repository(
name = "org_pubref_rules_protobuf",
commit = "9ede1dbc38f0b89ae6cd8e206a22dd93cc1d5637", # Mar 31 2017 (gogo* support)
remote = "https://github.com/pubref/rules_protobuf",
)
load("@org_pubref_rules_protobuf//gogo:rules.bzl", "gogo_proto_repositories")
load("@org_pubref_rules_protobuf//cpp:rules.bzl", "cpp_proto_repositories")
cpp_proto_repositories()
gogo_proto_repositories()
go_repository(
name = "com_github_golang_glog",
commit = "23def4e6c14b4da8ac2ed8007337bc5eb5007998", # Jan 26, 2016 (no releases)
importpath = "github.com/golang/glog",
)
go_repository(
name = "com_google_cloud_go",
commit = "57377bad3486b37af17b47230a61603794c798ae",
importpath = "cloud.google.com/go",
)
go_repository(
name = "org_golang_x_net",
commit = "242b6b35177ec3909636b6cf6a47e8c2c6324b5d",
importpath = "golang.org/x/net",
)
go_repository(
name = "org_golang_x_oauth2",
commit = "314dd2c0bf3ebd592ec0d20847d27e79d0dbe8dd",
importpath = "golang.org/x/oauth2",
)
go_repository(
name = "org_golang_x_sync",
commit = "f52d1811a62927559de87708c8913c1650ce4f26",
importpath = "golang.org/x/sync",
)
go_repository(
name = "org_golang_google_api",
commit = "48e49d1645e228d1c50c3d54fb476b2224477303",
importpath = "google.golang.org/api",
)
go_repository(
name = "org_golang_google_grpc",
commit = "377586b314e142ce186a0644138c92fe55b9162e",
importpath = "google.golang.org/grpc",
)
go_repository(
name = "org_golang_google_genproto",
commit = "411e09b969b1170a9f0c467558eb4c4c110d9c77",
importpath = "google.golang.org/genproto",
)
go_repository(
name = "com_github_googleapis_gax_go",
commit = "9af46dd5a1713e8b5cd71106287eba3cefdde50b",
importpath = "github.com/googleapis/gax-go",
)
go_repository(
name = "com_github_google_uuid",
commit = "6a5e28554805e78ea6141142aba763936c4761c0",
importpath = "github.com/google/uuid",
)
go_repository(
name = "com_github_golang_protobuf",
commit = "2bba0603135d7d7f5cb73b2125beeda19c09f4ef",
importpath = "github.com/golang/protobuf",
)
go_repository(
name = "com_github_pmezard_go_difflib",
commit = "d8ed2627bdf02c080bf22230dbb337003b7aba2d",
importpath = "github.com/pmezard/go-difflib",
)
go_repository(
name = "com_github_hashicorp_errwrap",
commit = "7554cd9344cec97297fa6649b055a8c98c2a1e55",
importpath = "github.com/hashicorp/errwrap",
)
go_repository(
name = "com_github_hashicorp_go_multierror",
commit = "8484912a3b9987857bac52e0c5fec2b95f419628",
importpath = "github.com/hashicorp/go-multierror",
)
##
## Docker rules
##
new_http_archive(
name = "docker_ubuntu",
build_file_content = """
load("@bazel_tools//tools/build_defs/docker:docker.bzl", "docker_build")
docker_build(
name = "xenial",
tars = ["xenial/ubuntu-xenial-core-cloudimg-amd64-root.tar.gz"],
visibility = ["//visibility:public"],
)
""",
sha256 = "de31e6fcb843068965de5945c11a6f86399be5e4208c7299fb7311634fb41943",
strip_prefix = "docker-brew-ubuntu-core-e406914e5f648003dfe8329b512c30c9ad0d2f9c",
type = "zip",
url = "https://codeload.github.com/tianon/docker-brew-ubuntu-core/zip/e406914e5f648003dfe8329b512c30c9ad0d2f9c",
)
http_file(
name = "deb_iptables",
sha256 = "d2cafb4f1860435ce69a4971e3af5f4bb20753054020f32e1b767e4ba79c0831",
url = "http://mirrors.kernel.org/ubuntu/pool/main/i/iptables/iptables_1.6.0-2ubuntu3_amd64.deb",
)
http_file(
name = "deb_libnfnetlink",
sha256 = "fbaf9b8914a607e2a07e5525c6c9c0ecb71d70236f54ad185f4cc81b4541f6ba",
url = "http://mirrors.kernel.org/ubuntu/pool/main/libn/libnfnetlink/libnfnetlink0_1.0.1-3_amd64.deb",
)
http_file(
name = "deb_libxtables",
sha256 = "9a4140b0b599612af1006efeee1c6b98771b0bc8dcdcd0510218ef69d6652c7f",
url = "http://mirrors.kernel.org/ubuntu/pool/main/i/iptables/libxtables11_1.6.0-2ubuntu3_amd64.deb",
)
# More go repositories (wtool adds things at the end)
go_repository(
name = "com_github_prometheus_common",
commit = "13ba4ddd0caa9c28ca7b7bffe1dfa9ed8d5ef207",
importpath = "github.com/prometheus/common",
)
go_repository(
name = "com_github_prometheus_client_model",
commit = "fa8ad6fec33561be4280a8f0514318c79d7f6cb6", # Feb 12, 2015 (only release too old)
importpath = "github.com/prometheus/client_model",
)
go_repository(
name = "com_github_matttproud_golang_protobuf_extensions",
commit = "c12348ce28de40eed0136aa2b644d0ee0650e56c", # Apr 24, 2016 (v1.0.0)
importpath = "github.com/matttproud/golang_protobuf_extensions",
)
go_repository(
name = "com_github_prometheus_client_golang",
commit = "de4d4ffe63b9eff7f27484fdef6e421597e6abb4", # June 6, 2017
importpath = "github.com/prometheus/client_golang",
)