renovate/test/manager/bazel/__snapshots__/extract.spec.js.snap
2019-07-24 07:19:34 +02:00

262 lines
8.6 KiB
Text

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`lib/manager/bazel/extract extractPackageFile() extracts dependencies for container_pull deptype 1`] = `
Array [
Object {
"currentDigest": "sha256:a4e8d8c444ca04fe706649e82263c9f4c2a4229bc30d2a64561b5e1d20cc8548",
"currentValue": "v1.0.0-alpha31.cli-migrations",
"datasource": "docker",
"depName": "hasura",
"depType": "container_pull",
"lookupName": "hasura/graphql-engine",
"managerData": Object {
"def": "container_pull(
name=\\"hasura\\",
registry=\\"index.docker.io\\",
repository=\\"hasura/graphql-engine\\",
# v1.0.0-alpha31.cli-migrations 11/28
digest=\\"sha256:a4e8d8c444ca04fe706649e82263c9f4c2a4229bc30d2a64561b5e1d20cc8548\\",
tag=\\"v1.0.0-alpha31.cli-migrations\\"
)",
},
"versionScheme": "docker",
},
]
`;
exports[`lib/manager/bazel/extract extractPackageFile() extracts dependencies from *.bzl files 1`] = `
Array [
Object {
"currentDigest": "0356bef3fbbabec5f0e196ecfacdeb6db62d48c0",
"datasource": "github",
"depName": "subpar",
"depType": "http_archive",
"lookupName": "google/subpar",
"lookupType": "releases",
"managerData": Object {
"def": "http_archive(
name = \\"subpar\\",
sha256 = \\"7ab6ab37ede82255e00c0456846a1428b20e8813f77d83bcf54ddd59ba34377a\\",
# Commit from 2019-03-07.
strip_prefix = \\"subpar-0356bef3fbbabec5f0e196ecfacdeb6db62d48c0\\",
urls = [\\"https://github.com/google/subpar/archive/0356bef3fbbabec5f0e196ecfacdeb6db62d48c0.tar.gz\\"],
)",
},
"repo": "google/subpar",
},
Object {
"currentValue": "0.6.0",
"datasource": "github",
"depName": "bazel_skylib",
"depType": "http_archive",
"lookupName": "bazelbuild/bazel-skylib",
"lookupType": "releases",
"managerData": Object {
"def": "http_archive(
name = \\"bazel_skylib\\",
sha256 = \\"eb5c57e4c12e68c0c20bc774bfbc60a568e800d025557bc4ea022c6479acc867\\",
strip_prefix = \\"bazel-skylib-0.6.0\\",
urls = [\\"https://github.com/bazelbuild/bazel-skylib/archive/0.6.0.tar.gz\\"],
)",
},
"repo": "bazelbuild/bazel-skylib",
},
]
`;
exports[`lib/manager/bazel/extract extractPackageFile() extracts multiple types of dependencies 1`] = `
Array [
Object {
"currentDigest": "446923c3756ceeaa75888f52fcbdd48bb314fbf8",
"datasource": "github",
"depName": "distroless",
"depType": "http_archive",
"lookupName": "GoogleContainerTools/distroless",
"lookupType": "releases",
"managerData": Object {
"def": "http_archive(
name=\\"distroless\\",
sha256=\\"f7a6ecfb8174a1dd4713ea3b21621072996ada7e8f1a69e6ae7581be137c6dd6\\",
strip_prefix=\\"distroless-446923c3756ceeaa75888f52fcbdd48bb314fbf8\\",
urls=[\\"https://github.com/GoogleContainerTools/distroless/archive/446923c3756ceeaa75888f52fcbdd48bb314fbf8.tar.gz\\"]
)",
},
"repo": "GoogleContainerTools/distroless",
},
Object {
"currentDigest": "d665ccfa3e9c90fa789671bf4ef5f7c19c5715c4",
"datasource": "github",
"depName": "bazel_toolchains",
"depType": "http_archive",
"lookupName": "bazelbuild/bazel-toolchains",
"lookupType": "releases",
"managerData": Object {
"def": "http_archive(
name = \\"bazel_toolchains\\",
sha256 = \\"4b1468b254a572dbe134cc1fd7c6eab1618a72acd339749ea343bd8f55c3b7eb\\",
strip_prefix = \\"bazel-toolchains-d665ccfa3e9c90fa789671bf4ef5f7c19c5715c4\\",
urls = [
\\"https://mirror.bazel.build/github.com/bazelbuild/bazel-toolchains/archive/d665ccfa3e9c90fa789671bf4ef5f7c19c5715c4.tar.gz\\",
\\"https://github.com/bazelbuild/bazel-toolchains/archive/d665ccfa3e9c90fa789671bf4ef5f7c19c5715c4.tar.gz\\",
],
)",
},
"repo": "bazelbuild/bazel-toolchains",
},
Object {
"currentValue": "0.7.1",
"datasource": "github",
"depName": "io_bazel_rules_go",
"depType": "http_archive",
"lookupName": "bazelbuild/rules_go",
"lookupType": "releases",
"managerData": Object {
"def": "http_archive(
name = \\"io_bazel_rules_go\\",
url = \\"https://github.com/bazelbuild/rules_go/releases/download/0.7.1/rules_go-0.7.1.tar.gz\\",
sha256 = \\"341d5eacef704415386974bc82a1783a8b7ffbff2ab6ba02375e1ca20d9b031c\\",
)",
},
"repo": "bazelbuild/rules_go",
},
Object {
"currentValue": "0.5.0",
"datasource": "github",
"depName": "bazel_skylib",
"depType": "http_archive",
"lookupName": "bazelbuild/bazel-skylib",
"lookupType": "releases",
"managerData": Object {
"def": "http_archive(
name = \\"bazel_skylib\\",
sha256 = \\"b5f6abe419da897b7901f90cbab08af958b97a8f3575b0d3dd062ac7ce78541f\\",
strip_prefix = \\"bazel-skylib-0.5.0\\",
urls = [
\\"https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/archive/0.5.0.tar.gz\\",
\\"https://github.com/bazelbuild/bazel-skylib/archive/0.5.0.tar.gz\\",
],
)",
},
"repo": "bazelbuild/bazel-skylib",
},
Object {
"currentDigest": "446923c3756ceeaa75888f52fcbdd48bb314fbf8",
"datasource": "github",
"depName": "distroless",
"depType": "http_archive",
"lookupName": "GoogleContainerTools/distroless",
"lookupType": "releases",
"managerData": Object {
"def": "http_archive(
name=\\"distroless\\",
sha256=\\"f7a6ecfb8174a1dd4713ea3b21621072996ada7e8f1a69e6ae7581be137c6dd6\\",
strip_prefix=\\"distroless-446923c3756ceeaa75888f52fcbdd48bb314fbf8\\",
urls=[\\"https://github.com/GoogleContainerTools/distroless/archive/446923c3756ceeaa75888f52fcbdd48bb314fbf8.tar.gz\\"]
)",
},
"repo": "GoogleContainerTools/distroless",
},
Object {
"currentValue": "v1.0.5",
"datasource": "go",
"depName": "com_github_bitly_go-nsq",
"depType": "go_repository",
"lookupName": "github.com/bitly/go-nsq",
"managerData": Object {
"def": "go_repository(
name = \\"com_github_bitly_go-nsq\\",
importpath = \\"github.com/bitly/go-nsq\\",
tag = \\"v1.0.5\\"
)",
},
},
Object {
"currentDigest": "dec09d789f3dba190787f8b4454c7d3c936fed9e",
"currentDigestShort": "dec09d7",
"currentValue": "v0.0.0",
"datasource": "go",
"depName": "com_github_google_uuid",
"depType": "go_repository",
"digestOneAndOnly": true,
"lookupName": "github.com/google/uuid",
"managerData": Object {
"def": "go_repository(
name = \\"com_github_google_uuid\\",
importpath = \\"github.com/google/uuid\\",
commit = \\"dec09d789f3dba190787f8b4454c7d3c936fed9e\\"
)",
},
},
Object {
"currentValue": "v2",
"datasource": "go",
"depName": "com_gopkgin_mgo_v2",
"depType": "go_repository",
"lookupName": "gopkg.in/mgo.v2",
"managerData": Object {
"def": "go_repository(
name = \\"com_gopkgin_mgo_v2\\",
importpath = \\"gopkg.in/mgo.v2\\",
tag = \\"v2\\"
)",
},
},
Object {
"currentValue": "0.3.1",
"datasource": "github",
"depName": "build_bazel_rules_nodejs",
"depType": "git_repository",
"lookupName": "bazelbuild/rules_nodejs",
"managerData": Object {
"def": "git_repository(
name = \\"build_bazel_rules_nodejs\\",
remote = \\"https://github.com/bazelbuild/rules_nodejs.git\\",
tag = \\"0.3.1\\",
)",
},
},
Object {
"currentValue": "0.6.1",
"datasource": "github",
"depName": "build_bazel_rules_typescript",
"depType": "git_repository",
"lookupName": "bazelbuild/rules_typescript",
"managerData": Object {
"def": "git_repository(
name = \\"build_bazel_rules_typescript\\",
remote = \\"https://github.com/bazelbuild/rules_typescript.git\\",
tag = \\"0.6.1\\",
)",
},
},
Object {
"currentValue": "0.0.3",
"datasource": "github",
"depName": "io_bazel_rules_sass",
"depType": "git_repository",
"lookupName": "bazelbuild/rules_sass",
"managerData": Object {
"def": "git_repository(
name = \\"io_bazel_rules_sass\\",
remote = \\"https://github.com/bazelbuild/rules_sass.git\\",
tag = \\"0.0.3\\",
)",
},
},
Object {
"currentDigest": "b3b620e8bcff18ed3378cd3f35ebeb7016d71f71",
"datasource": "github",
"depName": "com_github_bazelbuild_buildtools",
"depType": "git_repository",
"lookupName": "bazelbuild/buildtools",
"managerData": Object {
"def": "git_repository(
name = \\"com_github_bazelbuild_buildtools\\",
remote = \\"https://github.com/bazelbuild/buildtools.git\\",
# Note, this commit matches the version of buildifier in angular/ngcontainer
commit = \\"b3b620e8bcff18ed3378cd3f35ebeb7016d71f71\\",
)",
},
},
]
`;