Sergiusz Bazanski | 5f9b1ec | 2019-09-22 02:19:18 +0200 | [diff] [blame] | 1 | workspace( |
| 2 | name = "hscloud", |
| 3 | ) |
| 4 | |
Sergiusz Bazanski | de06180 | 2019-01-13 21:14:02 +0100 | [diff] [blame] | 5 | load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository") |
Serge Bazanski | 146c99e | 2021-03-18 19:15:38 +0000 | [diff] [blame] | 6 | load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive", "http_file") |
Sergiusz Bazanski | de06180 | 2019-01-13 21:14:02 +0100 | [diff] [blame] | 7 | |
Bartosz Stebel | cae27ec | 2020-07-03 07:05:15 +0200 | [diff] [blame] | 8 | # Protobuf deps (shared between many rules). |
| 9 | # Load this as early as possible, to avoid a different version being pulled in by deps of something else |
Bartosz Stebel | cae27ec | 2020-07-03 07:05:15 +0200 | [diff] [blame] | 10 | http_archive( |
| 11 | name = "com_google_protobuf", |
Bartosz Stebel | 4ea5cdb | 2022-06-19 00:17:30 +0200 | [diff] [blame] | 12 | sha256 = "8b28fdd45bab62d15db232ec404248901842e5340299a57765e48abe8a80d930", |
| 13 | strip_prefix = "protobuf-3.20.1", |
| 14 | urls = ["https://github.com/google/protobuf/archive/v3.20.1.tar.gz"], |
Bartosz Stebel | cae27ec | 2020-07-03 07:05:15 +0200 | [diff] [blame] | 15 | ) |
| 16 | |
| 17 | load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps") |
Serge Bazanski | 1572e52 | 2020-12-03 23:19:28 +0100 | [diff] [blame] | 18 | |
Bartosz Stebel | cae27ec | 2020-07-03 07:05:15 +0200 | [diff] [blame] | 19 | protobuf_deps() |
| 20 | |
Bartosz Stebel | f21ca38 | 2023-02-04 23:57:59 +0100 | [diff] [blame] | 21 | rules_python_version = "0.13.0" |
Serge Bazanski | 194b1c8 | 2020-09-25 20:24:17 +0000 | [diff] [blame] | 22 | http_archive( |
| 23 | name = "rules_python", |
Bartosz Stebel | f21ca38 | 2023-02-04 23:57:59 +0100 | [diff] [blame] | 24 | sha256 = "8c8fe44ef0a9afc256d1e75ad5f448bb59b81aba149b8958f02f7b3a98f5d9b4", |
Bartosz Stebel | 999a8f5 | 2021-06-26 14:51:15 +0200 | [diff] [blame] | 25 | strip_prefix = "rules_python-{}".format(rules_python_version), |
Bartosz Stebel | e69e98d | 2022-06-18 23:56:22 +0200 | [diff] [blame] | 26 | url = "https://github.com/bazelbuild/rules_python/archive/refs/tags/{}.tar.gz".format(rules_python_version), |
Serge Bazanski | 194b1c8 | 2020-09-25 20:24:17 +0000 | [diff] [blame] | 27 | ) |
Patryk Jakuszew | 30f9d03 | 2020-06-05 23:37:34 +0200 | [diff] [blame] | 28 | |
Serge Bazanski | 194b1c8 | 2020-09-25 20:24:17 +0000 | [diff] [blame] | 29 | # Download Go/Gazelle rules |
Patryk Jakuszew | 30f9d03 | 2020-06-05 23:37:34 +0200 | [diff] [blame] | 30 | http_archive( |
| 31 | name = "io_bazel_rules_go", |
Patryk Jakuszew | 28742b8 | 2022-11-26 21:33:38 +0100 | [diff] [blame] | 32 | sha256 = "099a9fb96a376ccbbb7d291ed4ecbdfd42f6bc822ab77ae6f1b5cb9e914e94fa", |
Patryk Jakuszew | 30f9d03 | 2020-06-05 23:37:34 +0200 | [diff] [blame] | 33 | urls = [ |
Patryk Jakuszew | 28742b8 | 2022-11-26 21:33:38 +0100 | [diff] [blame] | 34 | "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.35.0/rules_go-v0.35.0.zip", |
| 35 | "https://github.com/bazelbuild/rules_go/releases/download/v0.35.0/rules_go-v0.35.0.zip", |
Patryk Jakuszew | 30f9d03 | 2020-06-05 23:37:34 +0200 | [diff] [blame] | 36 | ], |
| 37 | ) |
Serge Bazanski | 1572e52 | 2020-12-03 23:19:28 +0100 | [diff] [blame] | 38 | |
Patryk Jakuszew | 30f9d03 | 2020-06-05 23:37:34 +0200 | [diff] [blame] | 39 | http_archive( |
| 40 | name = "bazel_gazelle", |
Patryk Jakuszew | 28742b8 | 2022-11-26 21:33:38 +0100 | [diff] [blame] | 41 | sha256 = "448e37e0dbf61d6fa8f00aaa12d191745e14f07c31cabfa731f0c8e8a4f41b97", |
Patryk Jakuszew | 30f9d03 | 2020-06-05 23:37:34 +0200 | [diff] [blame] | 42 | urls = [ |
Patryk Jakuszew | 28742b8 | 2022-11-26 21:33:38 +0100 | [diff] [blame] | 43 | "https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.28.0/bazel-gazelle-v0.28.0.tar.gz", |
| 44 | "https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.28.0/bazel-gazelle-v0.28.0.tar.gz", |
Patryk Jakuszew | 30f9d03 | 2020-06-05 23:37:34 +0200 | [diff] [blame] | 45 | ], |
| 46 | ) |
| 47 | |
Patryk Jakuszew | 28742b8 | 2022-11-26 21:33:38 +0100 | [diff] [blame] | 48 | # Gazelle started requiring this after we bumped the version to v0.28.0. |
| 49 | http_archive( |
| 50 | name = "bazel_skylib", |
| 51 | sha256 = "74d544d96f4a5bb630d465ca8bbcfe231e3594e5aae57e1edbf17a6eb3ca2506", |
| 52 | urls = [ |
| 53 | "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz", |
| 54 | "https://github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz", |
| 55 | ], |
| 56 | ) |
| 57 | |
| 58 | load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace") |
| 59 | |
| 60 | bazel_skylib_workspace() |
| 61 | |
Bartosz Stebel | cae27ec | 2020-07-03 07:05:15 +0200 | [diff] [blame] | 62 | # Python rules |
Bartosz Stebel | f21ca38 | 2023-02-04 23:57:59 +0100 | [diff] [blame] | 63 | load("@rules_python//python:repositories.bzl", "python_register_toolchains") |
| 64 | |
| 65 | python_register_toolchains( |
| 66 | name = "python3_10", |
| 67 | python_version = "3.10", |
| 68 | ) |
| 69 | |
| 70 | load("@python3_10//:defs.bzl", "interpreter") |
Serge Bazanski | 4e534cc | 2021-06-29 19:16:45 +0000 | [diff] [blame] | 71 | load("@rules_python//python:pip.bzl", "pip_parse") |
Serge Bazanski | 50e987c | 2021-07-11 12:32:36 +0000 | [diff] [blame] | 72 | |
Serge Bazanski | 4e534cc | 2021-06-29 19:16:45 +0000 | [diff] [blame] | 73 | pip_parse( |
Serge Bazanski | 1572e52 | 2020-12-03 23:19:28 +0100 | [diff] [blame] | 74 | name = "pydeps", |
Bartosz Stebel | f21ca38 | 2023-02-04 23:57:59 +0100 | [diff] [blame] | 75 | python_interpreter_target = interpreter, |
Serge Bazanski | 4e534cc | 2021-06-29 19:16:45 +0000 | [diff] [blame] | 76 | requirements_lock = "//third_party/py:requirements.txt", |
Patryk Jakuszew | 30f9d03 | 2020-06-05 23:37:34 +0200 | [diff] [blame] | 77 | ) |
Serge Bazanski | 50e987c | 2021-07-11 12:32:36 +0000 | [diff] [blame] | 78 | |
Serge Bazanski | 4e534cc | 2021-06-29 19:16:45 +0000 | [diff] [blame] | 79 | load("@pydeps//:requirements.bzl", "install_deps") |
| 80 | install_deps() |
Patryk Jakuszew | 30f9d03 | 2020-06-05 23:37:34 +0200 | [diff] [blame] | 81 | |
Serge Bazanski | 194b1c8 | 2020-09-25 20:24:17 +0000 | [diff] [blame] | 82 | # Setup Go toolchain. |
Serge Bazanski | 4b61330 | 2021-02-13 13:16:10 +0100 | [diff] [blame] | 83 | load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains") |
Serge Bazanski | 50e987c | 2021-07-11 12:32:36 +0000 | [diff] [blame] | 84 | |
Patryk Jakuszew | 28742b8 | 2022-11-26 21:33:38 +0100 | [diff] [blame] | 85 | go_register_toolchains(version = "1.18.3") |
Serge Bazanski | 194b1c8 | 2020-09-25 20:24:17 +0000 | [diff] [blame] | 86 | |
Bartosz Stebel | cae27ec | 2020-07-03 07:05:15 +0200 | [diff] [blame] | 87 | # IMPORTANT: match protobuf version above with the one loaded by grpc |
| 88 | http_archive( |
| 89 | name = "com_github_grpc_grpc", |
| 90 | sha256 = "419dba362eaf8f1d36849ceee17c3e2ff8ff12ac666b42d3ff02a164ebe090e9", |
| 91 | strip_prefix = "grpc-1.30.0", |
| 92 | urls = ["https://github.com/grpc/grpc/archive/v1.30.0.tar.gz"], |
| 93 | ) |
| 94 | |
Serge Bazanski | 194b1c8 | 2020-09-25 20:24:17 +0000 | [diff] [blame] | 95 | # Load grpc deps after Go, to prevent overriding Go toolchains/SDK. |
Bartosz Stebel | cae27ec | 2020-07-03 07:05:15 +0200 | [diff] [blame] | 96 | load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps") |
Serge Bazanski | 1572e52 | 2020-12-03 23:19:28 +0100 | [diff] [blame] | 97 | |
Bartosz Stebel | cae27ec | 2020-07-03 07:05:15 +0200 | [diff] [blame] | 98 | grpc_deps() |
Serge Bazanski | 1572e52 | 2020-12-03 23:19:28 +0100 | [diff] [blame] | 99 | |
Bartosz Stebel | cae27ec | 2020-07-03 07:05:15 +0200 | [diff] [blame] | 100 | load("@com_github_grpc_grpc//bazel:grpc_extra_deps.bzl", "grpc_extra_deps") |
Serge Bazanski | 1572e52 | 2020-12-03 23:19:28 +0100 | [diff] [blame] | 101 | |
Bartosz Stebel | cae27ec | 2020-07-03 07:05:15 +0200 | [diff] [blame] | 102 | grpc_extra_deps() |
Sergiusz Bazanski | 0c3b9a5 | 2020-06-21 01:26:22 +0200 | [diff] [blame] | 103 | |
Serge Bazanski | 194b1c8 | 2020-09-25 20:24:17 +0000 | [diff] [blame] | 104 | load("@io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies") |
Serge Bazanski | 1572e52 | 2020-12-03 23:19:28 +0100 | [diff] [blame] | 105 | |
Patryk Jakuszew | 30f9d03 | 2020-06-05 23:37:34 +0200 | [diff] [blame] | 106 | go_rules_dependencies() |
Patryk Jakuszew | 30f9d03 | 2020-06-05 23:37:34 +0200 | [diff] [blame] | 107 | |
Serge Bazanski | 1e1a4dd | 2020-08-01 14:07:27 +0200 | [diff] [blame] | 108 | # gazelle:repository_macro third_party/go/repositories.bzl%go_repositories |
Serge Bazanski | 1572e52 | 2020-12-03 23:19:28 +0100 | [diff] [blame] | 109 | load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies", "go_repository") |
| 110 | |
Serge Bazanski | 3e2a5a5 | 2021-10-07 19:12:27 +0000 | [diff] [blame] | 111 | # Force newer version of golang.org/x/crypto that gazelle_dependencies would |
| 112 | # usually get. |
Serge Bazanski | 3943744 | 2021-10-07 18:45:20 +0000 | [diff] [blame] | 113 | go_repository( |
Serge Bazanski | 3e2a5a5 | 2021-10-07 19:12:27 +0000 | [diff] [blame] | 114 | name = "org_golang_x_crypto", |
| 115 | build_naming_convention = "go_default_library", |
| 116 | importpath = "golang.org/x/crypto", |
| 117 | sum = "h1:7I4JAnoQBe7ZtJcBaYHi5UtiO8tQHbUSXxL+pnGRANg=", |
| 118 | version = "v0.0.0-20210921155107-089bfa567519", |
Serge Bazanski | 3943744 | 2021-10-07 18:45:20 +0000 | [diff] [blame] | 119 | ) |
| 120 | |
Patryk Jakuszew | 30f9d03 | 2020-06-05 23:37:34 +0200 | [diff] [blame] | 121 | gazelle_dependencies() |
| 122 | |
Serge Bazanski | 194b1c8 | 2020-09-25 20:24:17 +0000 | [diff] [blame] | 123 | # Load Go third-party packages. |
Sergiusz Bazanski | 0c3b9a5 | 2020-06-21 01:26:22 +0200 | [diff] [blame] | 124 | load("//third_party/go:repositories.bzl", "go_repositories") |
Serge Bazanski | 1572e52 | 2020-12-03 23:19:28 +0100 | [diff] [blame] | 125 | |
Sergiusz Bazanski | 0c3b9a5 | 2020-06-21 01:26:22 +0200 | [diff] [blame] | 126 | go_repositories() |
| 127 | |
Serge Bazanski | 2ce3676 | 2019-07-14 16:29:52 +0200 | [diff] [blame] | 128 | # Docker rules |
| 129 | |
| 130 | http_archive( |
| 131 | name = "io_bazel_rules_docker", |
Bartosz Stebel | 9851b38 | 2023-01-29 00:52:17 +0100 | [diff] [blame] | 132 | sha256 = "4349f2b0b45c860dd2ffe18802e9f79183806af93ce5921fb12cbd6c07ab69a8", |
| 133 | strip_prefix = "rules_docker-0.21.0", |
| 134 | urls = ["https://github.com/bazelbuild/rules_docker/releases/download/v0.21.0/rules_docker-v0.21.0.tar.gz"], |
Serge Bazanski | 2ce3676 | 2019-07-14 16:29:52 +0200 | [diff] [blame] | 135 | ) |
| 136 | |
Sergiusz Bazanski | 356ea8b | 2019-07-21 23:56:43 +0200 | [diff] [blame] | 137 | load("@io_bazel_rules_docker//toolchains/docker:toolchain.bzl", docker_toolchain_configure = "toolchain_configure") |
| 138 | |
| 139 | # This forces the use of Docker $HOME/.docker configuration. |
| 140 | docker_toolchain_configure( |
| 141 | name = "docker_config", |
| 142 | client_config = "", |
Serge Bazanski | b2d6b11 | 2019-07-30 13:07:04 +0200 | [diff] [blame] | 143 | docker_path = "/usr/bin/docker", |
Sergiusz Bazanski | 356ea8b | 2019-07-21 23:56:43 +0200 | [diff] [blame] | 144 | ) |
| 145 | |
Serge Bazanski | 2ce3676 | 2019-07-14 16:29:52 +0200 | [diff] [blame] | 146 | load( |
| 147 | "@io_bazel_rules_docker//repositories:repositories.bzl", |
| 148 | container_repositories = "repositories", |
| 149 | ) |
Serge Bazanski | 1572e52 | 2020-12-03 23:19:28 +0100 | [diff] [blame] | 150 | |
Serge Bazanski | 2ce3676 | 2019-07-14 16:29:52 +0200 | [diff] [blame] | 151 | container_repositories() |
Sergiusz Bazanski | 8fe651b | 2019-07-21 23:50:05 +0200 | [diff] [blame] | 152 | |
Sergiusz Bazanski | 6586533 | 2019-05-18 16:23:45 +0200 | [diff] [blame] | 153 | # Docker base images |
| 154 | |
| 155 | load("@io_bazel_rules_docker//container:container.bzl", "container_pull") |
Sergiusz Bazanski | a7e26cc | 2019-06-21 20:38:35 +0200 | [diff] [blame] | 156 | |
Sergiusz Bazanski | 6586533 | 2019-05-18 16:23:45 +0200 | [diff] [blame] | 157 | container_pull( |
| 158 | name = "prodimage-bionic", |
Serge Bazanski | 3943744 | 2021-10-07 18:45:20 +0000 | [diff] [blame] | 159 | digest = "sha256:1cd1f84169b8e1414a5d511b42909f2d540831c67b6799ae9af8cd6a80d75b5f", |
Serge Bazanski | b2d6b11 | 2019-07-30 13:07:04 +0200 | [diff] [blame] | 160 | registry = "registry.k0.hswaw.net", |
| 161 | repository = "q3k/prodimage", |
Serge Bazanski | ec71cb5 | 2019-08-22 18:13:13 +0200 | [diff] [blame] | 162 | tag = "20190822-1227", |
Sergiusz Bazanski | 6586533 | 2019-05-18 16:23:45 +0200 | [diff] [blame] | 163 | ) |
| 164 | |
Sergiusz Bazanski | a7e26cc | 2019-06-21 20:38:35 +0200 | [diff] [blame] | 165 | container_pull( |
Serge Bazanski | a63c315 | 2021-12-26 10:26:42 +0000 | [diff] [blame] | 166 | name = "prodimage-focal", |
| 167 | digest = "sha256:fb6159a3ddf2f783092f1169792d1fba6f108714026ad2aa08204e8356825a13", |
| 168 | registry = "registry.k0.hswaw.net", |
| 169 | repository = "q3k/prodimage-focal", |
| 170 | tag = "20211214-0108", |
| 171 | ) |
| 172 | |
| 173 | container_pull( |
Serge Bazanski | dd69221 | 2021-03-11 17:51:02 +0100 | [diff] [blame] | 174 | name = "gerrit-3.3.2", |
Serge Bazanski | 3943744 | 2021-10-07 18:45:20 +0000 | [diff] [blame] | 175 | digest = "sha256:f7fc8b749706f38475f94191117091973914a8f084e69518deff7dbc9c2c557d", |
Sergiusz Bazanski | a7e26cc | 2019-06-21 20:38:35 +0200 | [diff] [blame] | 176 | registry = "index.docker.io", |
| 177 | repository = "gerritcodereview/gerrit", |
Serge Bazanski | dd69221 | 2021-03-11 17:51:02 +0100 | [diff] [blame] | 178 | tag = "3.3.2-ubuntu20", |
Sergiusz Bazanski | a7e26cc | 2019-06-21 20:38:35 +0200 | [diff] [blame] | 179 | ) |
| 180 | |
Sergiusz Bazanski | 4805057 | 2020-05-10 21:34:10 +0200 | [diff] [blame] | 181 | # third_party/factorio |
| 182 | load("//third_party/factorio:factorio.bzl", "factorio_repositories") |
Serge Bazanski | 1572e52 | 2020-12-03 23:19:28 +0100 | [diff] [blame] | 183 | |
Sergiusz Bazanski | 4805057 | 2020-05-10 21:34:10 +0200 | [diff] [blame] | 184 | factorio_repositories() |
Sergiusz Bazanski | 59786c5 | 2020-04-01 02:05:42 +0200 | [diff] [blame] | 185 | |
Sergiusz Bazanski | 222a00a | 2020-04-12 18:37:21 +0200 | [diff] [blame] | 186 | # For devtools/gerrit/gerrit-oauth-provider and gerrit OWNERS plugin |
Sergiusz Bazanski | 573da78 | 2019-06-21 19:59:52 +0200 | [diff] [blame] | 187 | |
| 188 | git_repository( |
| 189 | name = "com_googlesource_gerrit_bazlets", |
Serge Bazanski | faa326a | 2020-12-17 23:32:42 +0100 | [diff] [blame] | 190 | commit = "a511f3c90129d7de7ae67c0637001162980c08d5", |
Serge Bazanski | 3943744 | 2021-10-07 18:45:20 +0000 | [diff] [blame] | 191 | remote = "https://gerrit.googlesource.com/bazlets", |
Bartosz Stebel | 0e2057f | 2020-12-28 21:40:09 +0100 | [diff] [blame] | 192 | shallow_since = "1606931369 -0600", |
Serge Bazanski | 0d3e609 | 2023-09-01 19:08:02 +0200 | [diff] [blame] | 193 | patch_args = ["-p1"], |
| 194 | patches = [ |
| 195 | "//third_party:bazlets_py3.patch", |
| 196 | ], |
Sergiusz Bazanski | 573da78 | 2019-06-21 19:59:52 +0200 | [diff] [blame] | 197 | ) |
| 198 | |
Sergiusz Bazanski | 0c3b9a5 | 2020-06-21 01:26:22 +0200 | [diff] [blame] | 199 | load("@com_googlesource_gerrit_bazlets//:gerrit_api.bzl", "gerrit_api") |
Serge Bazanski | 1572e52 | 2020-12-03 23:19:28 +0100 | [diff] [blame] | 200 | |
Sergiusz Bazanski | 573da78 | 2019-06-21 19:59:52 +0200 | [diff] [blame] | 201 | gerrit_api() |
| 202 | |
Serge Bazanski | 50e987c | 2021-07-11 12:32:36 +0000 | [diff] [blame] | 203 | load("//devtools/gerrit/gerrit-oauth-provider:external_plugin_deps.bzl", gerrit_oauth_deps = "external_plugin_deps") |
| 204 | |
| 205 | gerrit_oauth_deps(omit_commons_codec = False) |
Sergiusz Bazanski | 222a00a | 2020-04-12 18:37:21 +0200 | [diff] [blame] | 206 | |
Serge Bazanski | 146c99e | 2021-03-18 19:15:38 +0000 | [diff] [blame] | 207 | # Gerrit 3.3.2 built by q3k, backported with fix for 'empty reviewers column' bug. |
| 208 | # See: https://bugs.chromium.org/p/gerrit/issues/detail?id=13899 |
| 209 | # Override can be removed once we update to > 3.3.2, as the fix for this is |
| 210 | # pending for the 3.3 branch. |
| 211 | # |
| 212 | # Built from v3.3.2 tag at df0507df5917fd78af01aee2495b2663530d52d1 |
| 213 | # Cherry-picked fix from 8731af3ae785efe9ecff7f3d04302b6b01c4fc0b |
| 214 | # Resulted in commit 5949bfb86e62a32a95293e339ed86bfe52a283e9 |
| 215 | # Built against Java 8: |
| 216 | # bazel build --java_toolchain //tools:error_prone_warnings_toolchain :release |
| 217 | # |
| 218 | http_file( |
| 219 | name = "org_q3k_gerrit_3_3_2_backport", |
Serge Bazanski | 3943744 | 2021-10-07 18:45:20 +0000 | [diff] [blame] | 220 | downloaded_file_path = "gerrit.war", |
| 221 | sha256 = "d1839d691a8534f4ccb27bed9a98281e45972fbebec50d004cecd4d5da2b15a6", |
Serge Bazanski | 146c99e | 2021-03-18 19:15:38 +0000 | [diff] [blame] | 222 | urls = [ |
| 223 | "https://object.ceph-waw3.hswaw.net/q3k-personal/d1839d691a8534f4ccb27bed9a98281e45972fbebec50d004cecd4d5da2b15a6.war", |
| 224 | ], |
Serge Bazanski | 146c99e | 2021-03-18 19:15:38 +0000 | [diff] [blame] | 225 | ) |
| 226 | |
Sergiusz Bazanski | 222a00a | 2020-04-12 18:37:21 +0200 | [diff] [blame] | 227 | # Gerrit OWNERS plugins external repositories |
| 228 | |
| 229 | git_repository( |
| 230 | name = "com_googlesource_gerrit_plugin_owners", |
Serge Bazanski | faa326a | 2020-12-17 23:32:42 +0100 | [diff] [blame] | 231 | commit = "17817c9e319073c03513f9d5177b6142b8fd567b", |
Serge Bazanski | 3943744 | 2021-10-07 18:45:20 +0000 | [diff] [blame] | 232 | remote = "https://gerrit.googlesource.com/plugins/owners/", |
Bartosz Stebel | 0e2057f | 2020-12-28 21:40:09 +0100 | [diff] [blame] | 233 | shallow_since = "1593642470 +0200", |
Sergiusz Bazanski | 222a00a | 2020-04-12 18:37:21 +0200 | [diff] [blame] | 234 | ) |
Serge Bazanski | 50e987c | 2021-07-11 12:32:36 +0000 | [diff] [blame] | 235 | |
| 236 | load("@com_googlesource_gerrit_plugin_owners//:external_plugin_deps_standalone.bzl", gerrit_owners_deps = "external_plugin_deps_standalone") |
| 237 | |
Serge Bazanski | faa326a | 2020-12-17 23:32:42 +0100 | [diff] [blame] | 238 | gerrit_owners_deps() |
Sergiusz Bazanski | 222a00a | 2020-04-12 18:37:21 +0200 | [diff] [blame] | 239 | |
Sergiusz Bazanski | 356ea8b | 2019-07-21 23:56:43 +0200 | [diff] [blame] | 240 | # Go image repos for Docker |
| 241 | |
Sergiusz Bazanski | 0c3b9a5 | 2020-06-21 01:26:22 +0200 | [diff] [blame] | 242 | load("@io_bazel_rules_docker//go:image.bzl", go_image_repositories = "repositories") |
Serge Bazanski | 1572e52 | 2020-12-03 23:19:28 +0100 | [diff] [blame] | 243 | |
Sergiusz Bazanski | 356ea8b | 2019-07-21 23:56:43 +0200 | [diff] [blame] | 244 | go_image_repositories() |
Sergiusz Bazanski | 0037eda | 2020-06-13 22:43:06 +0200 | [diff] [blame] | 245 | |
Serge Bazanski | 19c8b60 | 2022-02-01 09:36:47 +0000 | [diff] [blame] | 246 | # //hswaw/site deps. |
| 247 | load("//hswaw/site:deps.bzl", "hswaw_site_deps") |
| 248 | hswaw_site_deps() |
Serge Bazanski | 3943744 | 2021-10-07 18:45:20 +0000 | [diff] [blame] | 249 | |
| 250 | # noVNC, used by //dc/drackvm. |
| 251 | http_archive( |
| 252 | name = "com_github_novnc_novnc", |
| 253 | build_file_content = """ |
| 254 | filegroup( |
| 255 | name = "distfiles", |
| 256 | srcs = [ |
| 257 | "vnc.html", |
| 258 | ] + glob([ |
| 259 | "app/**", |
| 260 | "core/**", |
| 261 | "vendor/**", |
| 262 | ]), |
| 263 | visibility = ["//visibility:public"], |
| 264 | ) |
| 265 | """, |
Serge Bazanski | 3943744 | 2021-10-07 18:45:20 +0000 | [diff] [blame] | 266 | sha256 = "2c972cca34376dfd2a54939e7e571e466511bf592d03e838440b3c8868441eaf", |
| 267 | strip_prefix = "noVNC-1.3.0-beta", |
Serge Bazanski | d01f9e5 | 2021-10-07 19:24:31 +0000 | [diff] [blame] | 268 | urls = ["https://github.com/novnc/noVNC/archive/refs/tags/v1.3.0-beta.tar.gz"], |
Serge Bazanski | 1f06230 | 2021-06-01 22:24:34 +0000 | [diff] [blame] | 269 | ) |
Bartosz Stebel | 12f176c | 2021-06-18 13:12:41 +0200 | [diff] [blame] | 270 | |
| 271 | # temporarily use upstream binary, see //cluster/tools/BUILD |
| 272 | http_file( |
| 273 | name = "calicoctl_3_15", |
| 274 | downloaded_file_path = "calicoctl", |
| 275 | urls = ["https://github.com/projectcalico/calicoctl/releases/download/v3.15.5/calicoctl"], |
| 276 | sha256 = "f49e9e8d25108f7f22d5a51c756b2fe40cbe36347ad297e31a767376172f2845", |
| 277 | executable = True, |
| 278 | ) |