-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWORKSPACE
127 lines (104 loc) · 4.28 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
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
# Start of Go + Gazelle + gRPC
http_archive(
name = "io_bazel_rules_go",
sha256 = "de7974538c31f76658e0d333086c69efdf6679dbc6a466ac29e65434bf47076d",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.45.0/rules_go-v0.45.0.zip",
"https://github.com/bazelbuild/rules_go/releases/download/v0.45.0/rules_go-v0.45.0.zip",
],
)
http_archive(
name = "bazel_gazelle",
integrity = "sha256-MpOL2hbmcABjA1R5Bj2dJMYO2o15/Uc5Vj9Q0zHLMgk=",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.35.0/bazel-gazelle-v0.35.0.tar.gz",
"https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.35.0/bazel-gazelle-v0.35.0.tar.gz",
],
)
http_archive(
name = "com_siliconally_rules_oapi_codegen",
sha256 = "0c3eac7e4d4ec4b694e06035cf69ad25cddade49c8d51c9fa23c22fccf6f0199",
urls = [
"https://github.com/Silicon-Ally/rules_oapi_codegen/releases/download/v0.0.2/rules_oapi_codegen-v0.0.2.zip",
],
)
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies")
load("@com_siliconally_rules_oapi_codegen//:deps.bzl", "oapi_dependencies")
load("//:deps.bzl", "go_dependencies")
# gazelle:repository_macro deps.bzl%go_dependencies
go_dependencies()
oapi_dependencies()
go_rules_dependencies()
go_register_toolchains(
nogo = "@//:nogo",
version = "1.21.6"
)
gazelle_dependencies()
http_archive(
name = "com_google_protobuf",
sha256 = "d0f5f605d0d656007ce6c8b5a82df3037e1d8fe8b121ed42e536f569dec16113",
strip_prefix = "protobuf-3.14.0",
urls = [
"https://mirror.bazel.build/github.com/protocolbuffers/protobuf/archive/v3.14.0.tar.gz",
"https://github.com/protocolbuffers/protobuf/archive/v3.14.0.tar.gz",
],
)
load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
protobuf_deps()
# Start of rules_pkg, which we use for tarballs in Docker containers. This needs
# to be placed before Docker configuration, see
# https://github.com/bazelbuild/rules_pkg/issues/606 for details.
http_archive(
name = "rules_pkg",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/0.9.1/rules_pkg-0.9.1.tar.gz",
"https://github.com/bazelbuild/rules_pkg/releases/download/0.9.1/rules_pkg-0.9.1.tar.gz",
],
sha256 = "8f9ee2dc10c1ae514ee599a8b42ed99fa262b757058f65ad3c384289ff70c4b8",
)
load("@rules_pkg//:deps.bzl", "rules_pkg_dependencies")
rules_pkg_dependencies()
# Start of container image configuration, see https://github.com/bazel-contrib/rules_oci
http_archive(
name = "rules_oci",
sha256 = "176e601d21d1151efd88b6b027a24e782493c5d623d8c6211c7767f306d655c8",
strip_prefix = "rules_oci-1.2.0",
url = "https://github.com/bazel-contrib/rules_oci/releases/download/v1.2.0/rules_oci-v1.2.0.tar.gz",
)
load("@rules_oci//oci:dependencies.bzl", "rules_oci_dependencies")
rules_oci_dependencies()
load("@rules_oci//oci:repositories.bzl", "LATEST_CRANE_VERSION", "oci_register_toolchains")
oci_register_toolchains(
name = "oci",
crane_version = LATEST_CRANE_VERSION,
)
load("@rules_oci//oci:pull.bzl", "oci_pull")
oci_pull(
name = "distroless_base",
digest = "sha256:46c5b9bd3e3efff512e28350766b54355fce6337a0b44ba3f822ab918eca4520",
image = "gcr.io/distroless/base",
platforms = ["linux/amd64"],
)
oci_pull(
name = "runner_base",
# This digest is of the nightly/main tag as of 2024-12-28
digest = "sha256:b1bcfaf52c418faabcd6b6fcbbec0f27f543a10b4a9384d75811d03dbba0d4d7",
image = "ghcr.io/rmi-pacta/workflow.pacta.webapp",
platforms = ["linux/amd64"],
)
oci_pull(
name = "parser_base",
# This digest is of the 'main' tag as of 2024-02-12
digest = "sha256:fa206405d645d3ee6d1c84319c2724c81f2afe1d8559022edd981a0cfeb739c6",
image = "ghcr.io/rmi-pacta/workflow.portfolio.parsing",
platforms = ["linux/amd64"],
)
oci_pull(
name = "dashboard_base",
# This digest is of the 'main' tag as of 2025-01-14
digest = "sha256:9ce17409844359e168280ba7c432d5da740738b3e6e0596eeaa7b239772d48fe",
image = "ghcr.io/rmi-pacta/workflow.pacta.dashboard",
platforms = ["linux/amd64"],
)