This repository has been archived by the owner on Aug 17, 2023. It is now read-only.
forked from envoyproxy/envoy
-
Notifications
You must be signed in to change notification settings - Fork 2
/
repositories_extra.bzl
152 lines (140 loc) · 5.24 KB
/
repositories_extra.bzl
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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
load("@rules_python//python:pip.bzl", "pip_install")
load("@proxy_wasm_cpp_host//bazel/cargo:crates.bzl", "proxy_wasm_cpp_host_fetch_remote_crates")
load("//bazel/external/cargo:crates.bzl", "raze_fetch_remote_crates")
# Python dependencies.
def _python_deps():
pip_install(
name = "base_pip3",
requirements = "@envoy//tools/base:requirements.txt",
extra_pip_args = ["--require-hashes"],
)
pip_install(
name = "config_validation_pip3",
requirements = "@envoy//tools/config_validation:requirements.txt",
extra_pip_args = ["--require-hashes"],
# project_name = "PyYAML",
# project_url = "https://github.com/yaml/pyyaml",
# version = "5.4.1",
# release_date = "2021-01-20"
# use_category = ["devtools"],
# cpe = "cpe:2.3:a:pyyaml:pyyaml:*",
)
pip_install(
name = "configs_pip3",
requirements = "@envoy//configs:requirements.txt",
extra_pip_args = ["--require-hashes"],
# project_name = "Jinja",
# project_url = "http://palletsprojects.com/p/jinja",
# version = "2.11.2",
# release_date = "2020-04-13"
# use_category = ["test"],
# cpe = "cpe:2.3:a:palletsprojects:jinja:*",
# project_name = "MarkupSafe",
# project_url = "https://markupsafe.palletsprojects.com/en/1.1.x/",
# version = "1.1.1",
# release_date = "2019-02-23"
# use_category = ["test"],
)
pip_install(
name = "docs_pip3",
requirements = "@envoy//tools/docs:requirements.txt",
extra_pip_args = ["--require-hashes"],
)
pip_install(
name = "docker_pip3",
requirements = "@envoy//tools/docker:requirements.txt",
extra_pip_args = ["--require-hashes"],
)
pip_install(
name = "deps_pip3",
requirements = "@envoy//tools/dependency:requirements.txt",
extra_pip_args = ["--require-hashes"],
)
pip_install(
name = "git_pip3",
requirements = "@envoy//tools/git:requirements.txt",
extra_pip_args = ["--require-hashes"],
)
pip_install(
name = "github_pip3",
requirements = "@envoy//tools/github:requirements.txt",
extra_pip_args = ["--require-hashes"],
)
pip_install(
name = "gpg_pip3",
requirements = "@envoy//tools/gpg:requirements.txt",
extra_pip_args = ["--require-hashes"],
)
pip_install(
name = "kafka_pip3",
requirements = "@envoy//contrib/kafka/filters/network/source:requirements.txt",
extra_pip_args = ["--require-hashes"],
# project_name = "Jinja",
# project_url = "http://palletsprojects.com/p/jinja",
# version = "2.11.2",
# release_date = "2020-04-13"
# use_category = ["test"],
# cpe = "cpe:2.3:a:palletsprojects:jinja:*",
# project_name = "MarkupSafe",
# project_url = "https://markupsafe.palletsprojects.com/en/1.1.x/",
# version = "1.1.1",
# release_date = "2019-02-23"
# use_category = ["test"],
)
pip_install(
name = "protodoc_pip3",
requirements = "@envoy//tools/protodoc:requirements.txt",
extra_pip_args = ["--require-hashes"],
# project_name = "PyYAML",
# project_url = "https://github.com/yaml/pyyaml",
# version = "5.4.1",
# release_date = "2021-01-20"
# use_category = ["docs"],
# cpe = "cpe:2.3:a:pyyaml:pyyaml:*",
)
pip_install(
name = "pylint_pip3",
requirements = "@envoy//tools/code_format:requirements.txt",
extra_pip_args = ["--require-hashes"],
)
pip_install(
name = "testing_pip3",
requirements = "@envoy//tools/testing:requirements.txt",
extra_pip_args = ["--require-hashes"],
)
pip_install(
name = "thrift_pip3",
requirements = "@envoy//test/extensions/filters/network/thrift_proxy:requirements.txt",
extra_pip_args = ["--require-hashes"],
# project_name = "Apache Thrift",
# project_url = "http://thrift.apache.org/",
# version = "0.11.0",
# release_date = "2017-12-07"
# use_category = ["test"],
# cpe = "cpe:2.3:a:apache:thrift:*",
# project_name = "Six: Python 2 and 3 Compatibility Library",
# project_url = "https://six.readthedocs.io/",
# version = "1.15.0",
# release_date = "2020-05-21"
# use_category = ["test"],
)
pip_install(
name = "fuzzing_pip3",
requirements = "@rules_fuzzing//fuzzing:requirements.txt",
extra_pip_args = ["--require-hashes"],
# project_name = "Abseil Python Common Libraries",
# project_url = "https://github.com/abseil/abseil-py",
# version = "0.11.0",
# release_date = "2020-10-27",
# use_category = ["test"],
# project_name = "Six: Python 2 and 3 Compatibility Library",
# project_url = "https://six.readthedocs.io/",
# version = "1.15.0",
# release_date = "2020-05-21"
# use_category = ["test"],
)
# Envoy deps that rely on a first stage of dependency loading in envoy_dependencies().
def envoy_dependencies_extra():
_python_deps()
proxy_wasm_cpp_host_fetch_remote_crates()
raze_fetch_remote_crates()