forked from bazel-contrib/rules_oci
-
Notifications
You must be signed in to change notification settings - Fork 0
/
WORKSPACE
63 lines (38 loc) · 1.51 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
# Declare the local Bazel workspace.
# This is *not* included in the published distribution.
workspace(name = "rules_oci")
# Fetch deps needed only locally for development
load(":internal_deps.bzl", "rules_oci_internal_deps")
rules_oci_internal_deps()
## Stardoc
load("@io_bazel_stardoc//:setup.bzl", "stardoc_repositories")
stardoc_repositories()
## Setup rules_oci
load("//oci:dependencies.bzl", "rules_oci_dependencies")
rules_oci_dependencies()
load("//oci:repositories.bzl", "oci_register_toolchains")
oci_register_toolchains(name = "oci")
# Transitive dep for rules_multirun
load("@rules_python//python:repositories.bzl", "py_repositories")
py_repositories()
## Setup bazel-lib
load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies", "aspect_bazel_lib_register_toolchains")
aspect_bazel_lib_dependencies()
aspect_bazel_lib_register_toolchains()
## Setup cosign
load("//cosign:repositories.bzl", "cosign_register_toolchains")
cosign_register_toolchains(name = "oci_cosign")
## Setup skylib unittest
load("@bazel_skylib//lib:unittest.bzl", "register_unittest_toolchains")
register_unittest_toolchains()
## Setup rules_go
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
go_rules_dependencies()
go_register_toolchains(version = "1.20.5")
## Setup gazelle
load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies")
gazelle_dependencies()
## Setup test repositories
load(":fetch.bzl", "fetch_images", "fetch_test_repos")
fetch_images()
fetch_test_repos()