forked from LandRover/StaffjoyV2-fork
-
Notifications
You must be signed in to change notification settings - Fork 0
/
WORKSPACE
365 lines (310 loc) · 12.6 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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive", "http_file")
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository", "new_git_repository")
io_rules_docker_version="80ea3aae060077e5fe0cdef1a5c570d4b7622100" # v0.8.1
## Load docker rules
http_archive(
name = "io_bazel_rules_docker",
urls = ["https://github.com/bazelbuild/rules_docker/archive/%s.zip"% io_rules_docker_version],
type = "zip",
strip_prefix = "rules_docker-%s" % io_rules_docker_version
)
# DOCKER STUFF
load(
"@io_bazel_rules_docker//repositories:repositories.bzl",
container_repositories = "repositories",
)
container_repositories()
load(
"@io_bazel_rules_docker//container:container.bzl",
"container_pull",
)
container_pull(
name = "nginx",
registry ="index.docker.io",
repository = "library/nginx",
tag = "latest",
)
container_pull(
name = "ubuntu",
registry ="index.docker.io",
repository = "library/ubuntu",
tag = "bionic",
)
# GOLANG INIT
load("//tools/go:go_configure.bzl", "go_configure")
go_configure()
bind(
name = "go_package_prefix",
actual = "//:go_package_prefix",
)
# GOLANG DEPS
new_git_repository(
name = "go_recaptcha",
build_file = "//:third_party/go/dpapathanasiou_recaptcha.BUILD",
commit = "be5090b17804c90a577d345b6d67acbf01dc90ed", # Jan 21, 2019 (LATEST)
remote = "https://github.com/dpapathanasiou/go-recaptcha.git",
)
new_git_repository(
name = "go_libphonenumber",
build_file = "//:third_party/go/ttacon_libphonenumber.BUILD",
commit = "23ddf903e8f8800d2857645eb155ffbe15cd02ee", ## Jan 8, 2019 (LATEST GIT COMMIT)
remote = "https://github.com/ttacon/libphonenumber.git",
)
new_git_repository(
name = "go_builder",
build_file = "//:third_party/go/ttacon_builder.BUILD",
commit = "c099f663e1c235176c175644792c5eb282017ad7", # May 18, 2017 (LATEST GIT COMMIT)
remote = "https://github.com/ttacon/builder.git",
)
new_git_repository(
name = "go_jwt",
build_file = "//:third_party/go/dgrijalva_jwt.BUILD",
commit = "06ea1031745cb8b3dab3f6a236daf2b0aa468b7e", # v3.2.0 Mar 9, 2018 (LATEST OFFICIAL VERSION)
remote = "https://github.com/dgrijalva/jwt-go.git",
)
new_git_repository(
name = "go_gorilla_sessions",
build_file = "//:third_party/go/gorilla_sessions.BUILD",
commit = "f57b7e2d29c6211d16ffa52a0998272f75799030", # v1.1.3 Sep 28, 2018 (LATEST OFFICIAL VERSION)
remote = "https://github.com/gorilla/sessions.git",
)
new_git_repository(
name = "go_gorilla_securecookie",
build_file = "//:third_party/go/gorilla_securecookie.BUILD",
commit = "e59506cc896acb7f7bf732d4fdf5e25f7ccd8983", # v1.1.1 Feb 24, 2017 (LATEST OFFICIAL VERSION)
remote = "https://github.com/gorilla/securecookie.git",
)
new_git_repository(
name = "go_gorilla_context",
build_file = "//:third_party/go/gorilla_context.BUILD",
commit = "8559d4a6b87e4f517ec1846eb90a192b8748cc89", # Jun 27, 2019 (LATEST OFFICIAL VERSION)
remote = "https://github.com/gorilla/context.git",
)
new_git_repository(
name = "go_gorilla_csrf",
build_file = "//:third_party/go/gorilla_csrf.BUILD",
commit = "9b0e3acb4f79e4bf9415d6144123987e7b8527cb", # Jun 25, 2019 (LATEST GIT COMMIT)
remote = "https://github.com/gorilla/csrf.git",
)
new_git_repository(
name = "go_gorilla_mux",
build_file = "//:third_party/go/gorilla_mux.BUILD",
commit = "5dd56998c22c824ad2e13c50bc3213e85b125134", # Jun 4, 2016 (UPDATE REQUIRED! above, breaks)
remote = "https://github.com/gorilla/mux.git",
)
new_git_repository(
name = "go_pkg_errors",
build_file = "//:third_party/go/pkg_errors.BUILD",
commit = "27936f6d90f9c8e1145f11ed52ffffbfdb9e0af7", # Feb 27, 2019 (LATEST GIT COMMIT)
remote = "https://github.com/pkg/errors.git",
)
new_git_repository(
name = "go_mailgun",
build_file = "//:third_party/go/go_mailgun.BUILD",
commit = "cd4cc0c6e6178be81b436ae16651f8db3d6e8460", # Jul 1, 2019 (LATEST GIT COMMIT)
remote = "https://github.com/mailgun/mailgun-go.git",
)
new_git_repository(
name = "easyjson",
build_file = "//:third_party/go/easyjson.BUILD",
commit = "b2ccc519800e761ac8000b95e5d57c80a897ff9e", # Jun 26, 2019 (LATEST GIT COMMIT)
remote = "https://github.com/mailru/easyjson.git",
)
new_git_repository(
name = "go_logrus",
build_file = "//:third_party/go/sirupsen_logrus.BUILD",
commit = "839c75faf7f98a33d445d181f3018b5c3409a45e", # May 18, 2019 (LATEST OFFICIAL VERSION)
remote = "https://github.com/sirupsen/logrus.git",
)
new_git_repository(
name = "go_testify",
build_file = "//:third_party/go/stretchr_testify.BUILD",
commit = "ffdc059bfe9ce6a4e144ba849dbedead332c6053", # v1.3.0 Dec 5, 2018 (LATEST OFFICIAL VERSION)
remote = "https://github.com/stretchr/testify.git",
)
new_git_repository(
name = "go_negroni",
build_file = "//:third_party/go/urfave_negroni.BUILD",
commit = "c6a59be0ce122566695fbd5e48a77f8f10c8a63a", # v1.0.0 Sep 2, 2018 (LATEST OFFICIAL VERSION)
remote = "https://github.com/urfave/negroni.git",
)
new_git_repository(
name = "go_raven",
build_file = "//:third_party/go/getsentry_raven.BUILD",
commit = "5c24d5110e0e198d9ae16f1f3465366085001d92", # Jun 19, 2019 (LATEST GIT COMMIT)
remote = "https://github.com/getsentry/raven-go.git",
)
new_git_repository(
name = "go_grpc",
build_file = "//:third_party/go/google_grpc.BUILD",
commit = "73b304d882a0822aaeb3c982c747563777e79586", # v1.22.0 Jul 3, 2019 (LATEST OFFICIAL VERSION)
remote = "https://github.com/grpc/grpc-go.git",
)
new_git_repository(
name = "go_genproto",
build_file = "//:third_party/go/google_genproto.BUILD",
commit = "eb59cef1c072c61ea4f7623910448d5e9c6a4455", # Jun 27, 2019 (LATEST GIT COMMIT)
remote = "https://github.com/googleapis/go-genproto.git"
)
# temp fix, crosses boundary fix for bazel, grpc-gateway modules:
# * utilities/BUILD.bazel
# * runtime/BUILD.bazel
# * internal/BUILD.bazel
# forked (10/07/19) and deleted the files that prevent compilation
# @todo: find better way to compile these, without forking grpc-gateway
new_git_repository(
name = "go_grpc_gateway",
build_file = "//:third_party/go/grpc_gateway.BUILD",
commit = "2be0f6f1f172c9c3f3713e027003534c3065e5e3", # Forked latest 10/07/19
remote = "https://github.com/LandRover/grpc-gateway.git",
)
new_git_repository(
name = "go_gogo_protobuf",
build_file = "//:third_party/go/gogo_protobuf.BUILD",
commit = "dadb625850898f31a8e40e83492f4a7132e520a2", # Jun 11, 2019 (LATEST GIT COMMIT)
remote = "https://github.com/gogo/protobuf.git",
)
new_git_repository(
name = "go_glog",
build_file = "//:third_party/go/glog.BUILD",
commit = "23def4e6c14b4da8ac2ed8007337bc5eb5007998", # Jan 27, 2016 (LATEST GIT COMMIT)
remote = "https://github.com/golang/glog.git",
)
new_git_repository(
name = "go_protobuf",
build_file = "//:third_party/go/protobuf.BUILD",
commit = "b285ee9cfc6c881bb20c0d8dc73370ea9b9ec90f", # May 17, 2019 (LATEST GIT COMMIT)
remote = "https://github.com/golang/protobuf.git",
)
new_git_repository(
name = "go_certifi",
build_file = "//:third_party/go/certifi_gocertifi.BUILD",
commit = "deb3ae2ef2610fde3330947281941c562861188b", # 2018.01.18 - Jan 18, 2018 (LATEST OFFICIAL RELEASE)
remote = "https://github.com/certifi/gocertifi.git",
)
new_git_repository(
name = "go_cloud",
build_file = "//:third_party/go/google_cloud.BUILD",
commit = "cf81fad90a1a1de334c4fc27e23eb9a4224b627a", # v0.41.0 - Jul 1, 2019 (LATEST OFFICIAL RELEASE)
remote = "https://github.com/GoogleCloudPlatform/google-cloud-go.git",
)
new_git_repository(
name = "go_intercom",
build_file = "//:third_party/go/intercom.BUILD",
commit = "1dbafb072bcdb981cad04ad4a0e6e29afbfc0c42", # Mar 19, 2019 (LATEST GIT COMMIT)
remote = "https://github.com/intercom/intercom-go.git"
)
new_git_repository(
name = "go_querystring",
build_file = "//:third_party/go/google_querystring.BUILD",
commit = "c8c88dbee036db4e4808d1f2ec8c2e15e11c3f80", # Mar 18, 2019 (LATEST GIT COMMIT)
remote = "https://github.com/google/go-querystring.git",
)
new_git_repository(
name = "go_google_api",
build_file = "//:third_party/go/google_api.BUILD",
commit = "cad4a65739ec9027249a05eec449fe57ff999d48", # Jul 2, 2019 (LATEST GIT COMMIT)
remote = "https://github.com/google/google-api-go-client.git",
)
new_git_repository(
name = "go_appengine",
build_file = "//:third_party/go/golang_appengine.BUILD",
commit = "b2f4a3cf3c67576a2ee09e1fe62656a5086ce880", # Jun 6, 2019 (LATEST GIT COMMIT)
remote = "https://github.com/golang/appengine.git",
)
new_git_repository(
name = "go_gorp",
build_file = "//:third_party/go/gorp.BUILD",
commit = "f3677d4a0a8838c846ed41bf41927f2c8713bd60", # Nov 4, 2018 (LATEST GIT COMMIT)
remote = "https://github.com/go-gorp/gorp.git",
)
new_git_repository(
name = "go_blackfriday",
build_file = "//:third_party/go/russross_blackfriday.BUILD",
commit = "d3b5b032dc8e8927d31a5071b56e14c89f045135", # v2.0.1 Sep 20, 2018 (LATEST OFFICIAL RELEASE)
remote = "https://github.com/russross/blackfriday.git",
)
new_git_repository(
name = "go_sanitized_anchor_name",
build_file = "//:third_party/go/shurcool_sanitized_anchor_name.BUILD",
commit = "7bfe4c7ecddb3666a94b053b422cdd8f5aaa3615", # Dec 26, 2018 (LATEST GIT COMMIT)
remote = "https://github.com/shurcool/sanitized_anchor_name.git",
)
new_git_repository(
name = "go_structs",
build_file = "//:third_party/go/fatih_structs.BUILD",
commit = "878a968ab22548362a09bdb3322f98b00f470d46", # Oct 11, 2018 (LATEST GIT COMMIT)
remote = "https://github.com/fatih/structs.git",
)
new_git_repository(
name = "go_mysql",
build_file = "//:third_party/go/mysql.BUILD",
commit = "877a9775f06853f611fb2d4e817d92479242d1cd", # May 10, 2019 (LATEST GIT COMMIT)
remote = "https://github.com/go-sql-driver/mysql.git",
)
new_git_repository(
name = "go_x_net",
build_file = "//:third_party/go/x_net.BUILD",
commit = "da137c7871d730100384dbcf36e6f8fa493aef5b", # Jun 28, 2019 (LATEST GIT COMMIT)
remote = "https://github.com/golang/net.git"
)
new_git_repository(
name = "go_x_oauth2",
build_file = "//:third_party/go/x_oauth2.BUILD",
commit = "0f29369cfe4552d0e4bcddc57cc75f4d7e672a33", # Jun 4, 2019 (LATEST GIT COMMIT)
remote = "https://github.com/golang/oauth2.git"
)
new_git_repository(
name = "go_x_time",
build_file = "//:third_party/go/x_time.BUILD",
commit = "9d24e82272b4f38b78bc8cff74fa936d31ccd8ef", # Feb 16, 2019 (LATEST GIT COMMIT)
remote = "https://github.com/golang/time.git"
)
new_git_repository(
name = "go_x_crypto",
build_file = "//:third_party/go/x_crypto.BUILD",
commit = "cc06ce4a13d484c0101a9e92913248488a75786d", # Jun 21, 2019 (LATEST GIT COMMIT)
remote = "https://github.com/golang/crypto.git"
)
new_git_repository(
name = "go_x_text",
build_file = "//:third_party/go/x_text.BUILD",
commit = "342b2e1fbaa52c93f31447ad2c6abc048c63e475", # Dec 15, 2018 (LATEST GIT COMMIT)
remote = "https://github.com/golang/text.git"
)
new_git_repository(
name = "go_x_sync",
build_file = "//:third_party/go/x_sync.BUILD",
commit = "112230192c580c3556b8cee6403af37a4fc5f28c", # Apr 23, 2019 (LATEST GIT COMMIT)
remote = "https://github.com/golang/sync.git"
)
new_git_repository(
name = "go_opencensus",
build_file = "//:third_party/go/go_opencensus.BUILD",
commit = "5897c5ce32247fc8af19c7710abd96e3304fb43c", # Jun 4, 2018 (UPDATE REQUIRED! above, breaks)
remote = "https://github.com/census-instrumentation/opencensus-go.git"
)
new_git_repository(
name = "golang_lru",
build_file = "//:third_party/go/golang_lru.BUILD",
commit = "59383c442f7d7b190497e9bb8fc17a48d06cd03f", # May 20, 2019 (LATEST GIT COMMIT)
remote = "https://github.com/hashicorp/golang-lru.git"
)
new_git_repository(
name = "googleapis_gax",
build_file = "//:third_party/go/googleapis_gax.BUILD",
commit = "bd5b16380fd03dc758d11cef74ba2e3bc8b0e8c2", # May 13, 2019 (LATEST GIT COMMIT)
remote = "https://github.com/googleapis/gax-go.git",
)
new_git_repository(
name = "go_rice",
build_file = "//:third_party/go/go_rice.BUILD",
commit = "c880e3cd4dd81db36b423e83dc0aeea4dca93774", # May 1, 2019 (LATEST GIT COMMIT)
remote = "https://github.com/GeertJohan/go.rice.git",
)
new_git_repository(
name = "go_zipexe",
build_file = "//:third_party/go/go_zipexe.BUILD",
commit = "74d766ac1dde7458348221869a7d1e7e5fa0597e", # v1.0.1 May 7, 2019 (LATEST GIT COMMIT)
remote = "https://github.com/daaku/go.zipexe.git",
)