forked from rabbitmq/rabbitmq-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
WORKSPACE
197 lines (157 loc) · 5.67 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
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive", "http_file")
http_archive(
name = "bazel_skylib",
sha256 = "af87959afe497dc8dfd4c6cb66e1279cb98ccc84284619ebfec27d9c09a903de",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.2.0/bazel-skylib-1.2.0.tar.gz",
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.2.0/bazel-skylib-1.2.0.tar.gz",
],
)
load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
bazel_skylib_workspace()
http_archive(
name = "rules_pkg",
sha256 = "a89e203d3cf264e564fcb96b6e06dd70bc0557356eb48400ce4b5d97c2c3720d",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/0.5.1/rules_pkg-0.5.1.tar.gz",
"https://github.com/bazelbuild/rules_pkg/releases/download/0.5.1/rules_pkg-0.5.1.tar.gz",
],
)
load("@rules_pkg//:deps.bzl", "rules_pkg_dependencies")
rules_pkg_dependencies()
http_archive(
name = "io_bazel_rules_docker",
sha256 = "b1e80761a8a8243d03ebca8845e9cc1ba6c82ce7c5179ce2b295cd36f7e394bf",
urls = ["https://github.com/bazelbuild/rules_docker/releases/download/v0.25.0/rules_docker-v0.25.0.tar.gz"],
)
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//container:container.bzl",
"container_pull",
)
container_pull(
name = "ubuntu2004",
registry = "index.docker.io",
repository = "pivotalrabbitmq/ubuntu",
tag = "20.04",
)
http_file(
name = "openssl-1.1.1g",
downloaded_file_path = "openssl-1.1.1g.tar.gz",
sha256 = "ddb04774f1e32f0c49751e21b67216ac87852ceb056b75209af2443400636d46",
urls = ["https://www.openssl.org/source/openssl-1.1.1g.tar.gz"],
)
http_file(
name = "otp_src_24",
downloaded_file_path = "OTP-24.3.4.6.tar.gz",
sha256 = "dc3d2c54eeb093e0dc9a0fe493bc69d6dfac0affbe77c9e3c935aa86c0f63cd5",
urls = ["https://github.com/erlang/otp/archive/OTP-24.3.4.6.tar.gz"],
)
http_file(
name = "otp_src_25_0",
downloaded_file_path = "OTP-25.0.4.tar.gz",
sha256 = "05878cb51a64b33c86836b12a21903075c300409b609ad5e941ddb0feb8c2120",
urls = ["https://github.com/erlang/otp/archive/OTP-25.0.4.tar.gz"],
)
http_file(
name = "otp_src_25_1",
downloaded_file_path = "OTP-25.1.1.tar.gz",
sha256 = "3348616450868fa8b39bddf0b528030e4525afef5b30e3a4b54c375add7d3f4f",
urls = ["https://github.com/erlang/otp/archive/OTP-25.1.1.tar.gz"],
)
http_archive(
name = "io_buildbuddy_buildbuddy_toolchain",
sha256 = "a2a5cccec251211e2221b1587af2ce43c36d32a42f5d881737db3b546a536510",
strip_prefix = "buildbuddy-toolchain-829c8a574f706de5c96c54ca310f139f4acda7dd",
urls = ["https://github.com/buildbuddy-io/buildbuddy-toolchain/archive/829c8a574f706de5c96c54ca310f139f4acda7dd.tar.gz"],
)
load("@io_buildbuddy_buildbuddy_toolchain//:deps.bzl", "buildbuddy_deps")
buildbuddy_deps()
load("@io_buildbuddy_buildbuddy_toolchain//:rules.bzl", "buildbuddy")
buildbuddy(
name = "buildbuddy_toolchain",
llvm = True,
)
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
git_repository(
name = "rbe",
branch = "linux-rbe",
remote = "https://github.com/rabbitmq/rbe-erlang-platform.git",
)
git_repository(
name = "rules_erlang",
remote = "https://github.com/rabbitmq/rules_erlang.git",
tag = "3.7.2",
)
load(
"@rules_erlang//:rules_erlang.bzl",
"erlang_config",
"internal_erlang_from_github_release",
"internal_erlang_from_http_archive",
"rules_erlang_dependencies",
)
erlang_config(
internal_erlang_configs = [
internal_erlang_from_github_release(
name = "24",
sha256 = "8444ff9abe23aea268adbb95463561fc222c965052d35d7c950b17be01c3ad82",
version = "24.3.4.6",
),
internal_erlang_from_github_release(
name = "25_0",
sha256 = "8fc707f92a124b2aeb0f65dcf9ac8e27b2a305e7bcc4cc1b2fdf770eec0165bf",
version = "25.0.4",
),
internal_erlang_from_github_release(
name = "25_1",
sha256 = "42840c32e13a27bdb2c376d69aa22466513d441bfe5eb882de23baf8218308d3",
version = "25.1.1",
),
internal_erlang_from_http_archive(
name = "git_master",
strip_prefix = "otp-master",
url = "https://github.com/erlang/otp/archive/refs/heads/master.tar.gz",
version = "26",
),
],
)
rules_erlang_dependencies()
load("@erlang_config//:defaults.bzl", "register_defaults")
register_defaults()
load(
"//bazel/elixir:elixir.bzl",
"elixir_config",
"internal_elixir_from_github_release",
)
elixir_config(
internal_elixir_configs = [
internal_elixir_from_github_release(
name = "1_13",
sha256 = "95daf2dd3052e6ca7d4d849457eaaba09de52d65ca38d6933c65bc1cdf6b8579",
version = "1.13.4",
),
internal_elixir_from_github_release(
name = "1_14",
sha256 = "8ad537eb84471c24c3e6984c37884f06a7834ff2efd72c436c222baee8df9a11",
version = "1.14.1",
),
],
rabbitmq_server_workspace = "@",
)
load(
"@elixir_config//:defaults.bzl",
register_elixir_defaults = "register_defaults",
)
register_elixir_defaults()
load("//:workspace_helpers.bzl", "rabbitmq_external_deps")
rabbitmq_external_deps(rabbitmq_workspace = "@")
load("//deps/amqp10_client:activemq.bzl", "activemq_archive")
activemq_archive()
load("//bazel/bzlmod:secondary_umbrella.bzl", "secondary_umbrella")
secondary_umbrella()