0
0
mirror of https://github.com/renovatebot/renovate.git synced 2024-12-22 21:48:32 +00:00
renovatebot_renovate/lib/modules/manager/helm-values/__snapshots__/extract.spec.ts.snap
2022-08-16 14:22:29 +02:00

69 lines
2.4 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`modules/manager/helm-values/extract extractPackageFile() extracts from complex values file correctly" 1`] = `
{
"deps": [
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": "1.18-alpine",
"datasource": "docker",
"depName": "docker.io/library/nginx",
"replaceString": "docker.io/library/nginx:1.18-alpine",
},
{
"autoReplaceStringTemplate": "{{newValue}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": "11.6.0-debian-9-r0",
"datasource": "docker",
"depName": "bitnami/postgresql",
"replaceString": "11.6.0-debian-9-r0",
"versioning": "docker",
},
{
"autoReplaceStringTemplate": "{{newValue}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": "0.7.0-debian-9-r12",
"datasource": "docker",
"depName": "docker.io/bitnami/postgres-exporter",
"replaceString": "0.7.0-debian-9-r12",
"versioning": "docker",
},
{
"autoReplaceStringTemplate": "{{newValue}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": "sha256:4762726f1471ef048dd807afdc0e19265e95ffdcc7cb4a34891f680290022809",
"currentValue": "11.5.0-debian-9-r0",
"datasource": "docker",
"depName": "docker.io/bitnami/postgresql",
"replaceString": "11.5.0-debian-9-r0@sha256:4762726f1471ef048dd807afdc0e19265e95ffdcc7cb4a34891f680290022809",
"versioning": "docker",
},
{
"autoReplaceStringTemplate": "{{newValue}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": "2.1.3-debian-10-r38",
"datasource": "docker",
"depName": "docker.io/bitnami/harbor-core",
"replaceString": "2.1.3-debian-10-r38",
"versioning": "docker",
},
],
}
`;
exports[`modules/manager/helm-values/extract extractPackageFile() extracts from values.yaml correctly with same structure as "helm create" 1`] = `
{
"deps": [
{
"autoReplaceStringTemplate": "{{newValue}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": "1.16.1",
"datasource": "docker",
"depName": "nginx",
"replaceString": "1.16.1",
"versioning": "docker",
},
],
}
`;