|
1 |
| -load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") |
| 1 | +load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive", "http_file") |
2 | 2 | load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
|
3 | 3 |
|
4 | 4 | # Bazel/starlark utilities.
|
@@ -176,6 +176,19 @@ http_archive(
|
176 | 176 | ],
|
177 | 177 | )
|
178 | 178 |
|
| 179 | +# Schemas for testing. |
| 180 | +http_file( |
| 181 | + name = "buildkite_pipeline_schema", |
| 182 | + sha256 = "3369c58038b4d55c08928affafb653716eb1e7b3cabb4a391aef979dd921f4e1", |
| 183 | + urls = ["https://raw.githubusercontent.com/buildkite/pipeline-schema/f7a0894074d194bcf19eec5411fec0528f7f4180/schema.json"], |
| 184 | +) |
| 185 | + |
| 186 | +http_file( |
| 187 | + name = "github_workflow_schema", |
| 188 | + sha256 = "2c375bb43dbc8b32b1bed46c290d0b70a8fa2aca7a5484dfca1b6e9c38cf9e7a", |
| 189 | + urls = ["https://raw.githubusercontent.com/SchemaStore/schemastore/27612065234778feaac216ce14dd47846fe0a2dd/src/schemas/json/github-workflow.json"], |
| 190 | +) |
| 191 | + |
179 | 192 | # External Go repositories.
|
180 | 193 | #
|
181 | 194 | # Unfortunately, gazelle will automatically parse go modules in the
|
@@ -1391,3 +1404,24 @@ go_repository(
|
1391 | 1404 | sum = "h1:+ySTxfHnfzZb9ys375PXNlLhkJPLKgHajBU0N62BDvE=",
|
1392 | 1405 | version = "v0.0.0-20190801114015-581e00157fb1",
|
1393 | 1406 | )
|
| 1407 | + |
| 1408 | +go_repository( |
| 1409 | + name = "com_github_xeipuuv_gojsonpointer", |
| 1410 | + importpath = "github.com/xeipuuv/gojsonpointer", |
| 1411 | + sum = "h1:zGWFAtiMcyryUHoUjUJX0/lt1H2+i2Ka2n+D3DImSNo=", |
| 1412 | + version = "v0.0.0-20190905194746-02993c407bfb", |
| 1413 | +) |
| 1414 | + |
| 1415 | +go_repository( |
| 1416 | + name = "com_github_xeipuuv_gojsonreference", |
| 1417 | + importpath = "github.com/xeipuuv/gojsonreference", |
| 1418 | + sum = "h1:EzJWgHovont7NscjpAxXsDA8S8BMYve8Y5+7cuRE7R0=", |
| 1419 | + version = "v0.0.0-20180127040603-bd5ef7bd5415", |
| 1420 | +) |
| 1421 | + |
| 1422 | +go_repository( |
| 1423 | + name = "com_github_xeipuuv_gojsonschema", |
| 1424 | + importpath = "github.com/xeipuuv/gojsonschema", |
| 1425 | + sum = "h1:LhYJRs+L4fBtjZUfuSZIKGeVu0QRy8e5Xi7D17UxZ74=", |
| 1426 | + version = "v1.2.0", |
| 1427 | +) |
0 commit comments