-
Notifications
You must be signed in to change notification settings - Fork 0
/
WORKSPACE
54 lines (40 loc) · 1.48 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
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
# Protocol Buffers
# http_archive(
# name = "com_google_protobuf",
# sha256 = "e57e9c7dacd6568afd026f4f595191e3a80948fb514911af6ff53a0198c5bfaa",
# strip_prefix = "protobuf-28.0",
# urls = [
# "https://github.com/protocolbuffers/protobuf/archive/refs/tags/v28.0.zip",
# ],
# )
# load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
# protobuf_deps()
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 = "nginx",
digest = "sha256:3d696e8357051647b844d8c7cf4a0aa71e84379999a4f6af9b8ca1f7919ade42",
image = "docker.io/library/nginx",
)
# Adobe rules_gitops
http_archive(
name = "com_adobe_rules_gitops",
sha256 = "83124a8056b1e0f555c97adeef77ec6dff387eb3f5bc58f212b376ba06d070dd",
strip_prefix = "rules_gitops-0.17.2",
urls = ["https://github.com/adobe/rules_gitops/archive/refs/tags/v0.17.2.tar.gz"],
)
load("@com_adobe_rules_gitops//gitops:deps.bzl", "rules_gitops_dependencies")
rules_gitops_dependencies()
load("@com_adobe_rules_gitops//gitops:repositories.bzl", "rules_gitops_repositories")
rules_gitops_repositories()
load("@com_adobe_rules_gitops//skylib:k8s.bzl", "kubeconfig")
kubeconfig(
name = "k8s_test",
cluster = "loopkube",
use_host_config = True,
)