Skip to content

Commit c950f58

Browse files
committed
bzmod: add google_root_pem
1 parent b6b5be5 commit c950f58

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

MODULE.bazel

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,17 @@ http_file(
9797
urls = ["https://raw.githubusercontent.com/SchemaStore/schemastore/166136b96a14f103a948053903e9339e63ad9170/src/schemas/json/github-workflow.json"],
9898
)
9999

100+
# Root certificates.
101+
#
102+
# Note that the sha256 hash is omitted here intentionally. This should not be
103+
# used in any part of the build other than as certificates present in images.
104+
http_file(
105+
name = "google_root_pem",
106+
urls = [
107+
"https://pki.goog/roots.pem",
108+
],
109+
)
110+
100111
### Toolchains
101112
register_toolchains("//:cc_toolchain_k8")
102113

@@ -105,9 +116,9 @@ register_toolchains("//:cc_toolchain_aarch64")
105116
### Go
106117
go_sdk = use_extension("@io_bazel_rules_go//go:extensions.bzl", "go_sdk")
107118
go_sdk.download(
108-
version = "1.24.1",
109-
patches = ["//tools:go_types_memoize.patch"],
110119
patch_strip = 1,
120+
patches = ["//tools:go_types_memoize.patch"],
121+
version = "1.24.1",
111122
)
112123

113124
go_deps = use_extension("@bazel_gazelle//:extensions.bzl", "go_deps")
@@ -531,4 +542,4 @@ go_deps.gazelle_override(
531542
"gazelle:proto disable_global",
532543
],
533544
path = "k8s.io/apimachinery",
534-
)
545+
)

0 commit comments

Comments
 (0)