renovate/lib/modules/manager/docker-compose/__snapshots__/extract.spec.ts.snap

203 lines
7.8 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`modules/manager/docker-compose/extract extractPackageFile() extracts multiple image lines for version 1 1`] = `
[
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": "alpine",
"datasource": "docker",
"depName": "quay.io/something/redis",
"replaceString": "quay.io/something/redis:alpine",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": "10.0.0",
"datasource": "docker",
"depName": "node",
"replaceString": "node:10.0.0",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": "9.4.0",
"datasource": "docker",
"depName": "postgres",
"replaceString": "postgres:9.4.0",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": "before",
"datasource": "docker",
"depName": "dockersamples/examplevotingapp_vote",
"replaceString": "dockersamples/examplevotingapp_vote:before",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": "before",
"datasource": "docker",
"depName": "dockersamples/examplevotingapp_result",
"replaceString": "dockersamples/examplevotingapp_result:before",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": undefined,
"datasource": "docker",
"depName": "dockersamples/examplevotingapp_worker",
"replaceString": "dockersamples/examplevotingapp_worker",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": "stable",
"datasource": "docker",
"depName": "dockersamples/visualizer",
"replaceString": "dockersamples/visualizer:stable",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"datasource": "docker",
"replaceString": "\${IMAGE:-synkodevelopers/edplugins}:\${TAG:-latest}",
"skipReason": "contains-variable",
},
]
`;
exports[`modules/manager/docker-compose/extract extractPackageFile() extracts multiple image lines for version 3 1`] = `
[
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": "alpine",
"datasource": "docker",
"depName": "quay.io/something/redis",
"replaceString": "quay.io/something/redis:alpine",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": "10.0.0",
"datasource": "docker",
"depName": "node",
"replaceString": "node:10.0.0",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": "9.4.0",
"datasource": "docker",
"depName": "postgres",
"replaceString": "postgres:9.4.0",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": "before",
"datasource": "docker",
"depName": "dockersamples/examplevotingapp_vote",
"replaceString": "dockersamples/examplevotingapp_vote:before",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": "before",
"datasource": "docker",
"depName": "dockersamples/examplevotingapp_result",
"replaceString": "dockersamples/examplevotingapp_result:before",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": undefined,
"datasource": "docker",
"depName": "dockersamples/examplevotingapp_worker",
"replaceString": "dockersamples/examplevotingapp_worker",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": "stable",
"datasource": "docker",
"depName": "dockersamples/visualizer",
"replaceString": "dockersamples/visualizer:stable",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"datasource": "docker",
"replaceString": "\${IMAGE:-synkodevelopers/edplugins}:\${TAG:-latest}",
"skipReason": "contains-variable",
},
]
`;
exports[`modules/manager/docker-compose/extract extractPackageFile() extracts multiple image lines for version 3 without set version key 1`] = `
[
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": "alpine",
"datasource": "docker",
"depName": "quay.io/something/redis",
"replaceString": "quay.io/something/redis:alpine",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": "10.0.0",
"datasource": "docker",
"depName": "node",
"replaceString": "node:10.0.0",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": "9.4.0",
"datasource": "docker",
"depName": "postgres",
"replaceString": "postgres:9.4.0",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": "before",
"datasource": "docker",
"depName": "dockersamples/examplevotingapp_vote",
"replaceString": "dockersamples/examplevotingapp_vote:before",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": "before",
"datasource": "docker",
"depName": "dockersamples/examplevotingapp_result",
"replaceString": "dockersamples/examplevotingapp_result:before",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": undefined,
"datasource": "docker",
"depName": "dockersamples/examplevotingapp_worker",
"replaceString": "dockersamples/examplevotingapp_worker",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": "stable",
"datasource": "docker",
"depName": "dockersamples/visualizer",
"replaceString": "dockersamples/visualizer:stable",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"datasource": "docker",
"replaceString": "\${IMAGE:-synkodevelopers/edplugins}:\${TAG:-latest}",
"skipReason": "contains-variable",
},
]
`;