renovate/lib/manager/cloudbuild/__snapshots__/extract.spec.ts.snap
Rhys Arkins 3a1980811c feat: group:Nodejs (#9469)
Remove hardcoded Node.js rules from docker extract and instead add group:nodeJs to group:recommended

BREAKING CHANGE: node images founds in Dockerfiles will no longer have hardcoded commitMessageTopic. Add group:Nodejs or config:base to extends for backwards compatibility.
2021-04-22 08:47:58 +02:00

30 lines
1.1 KiB
Text

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`manager/cloudbuild/extract extractPackageFile() extracts multiple image lines 1`] = `
Array [
Object {
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": "19.03.8",
"datasource": "docker",
"depName": "gcr.io/cloud-builders/docker",
"replaceString": "gcr.io/cloud-builders/docker:19.03.8",
},
Object {
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": "12",
"datasource": "docker",
"depName": "node",
"replaceString": "node:12",
},
Object {
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": undefined,
"datasource": "docker",
"depName": "gcr.io/cloud-builders/kubectl",
"replaceString": "gcr.io/cloud-builders/kubectl",
},
]
`;