0
0
Fork 0
mirror of https://github.com/renovatebot/renovate.git synced 2025-05-13 08:01:49 +00:00
renovatebot_renovate/lib/modules/manager/tekton/__snapshots__/extract.spec.ts.snap
Michael Kriese 997c23502e
test: migrate to vitest (#34475)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
2025-02-26 09:35:54 +00:00

380 lines
20 KiB
Text

// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
exports[`modules/manager/tekton/extract > extractPackageFile() > extracts deps from a file 1`] = `
{
"deps": [
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": "sha256:01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b",
"currentValue": "1.0",
"datasource": "docker",
"depName": "gcr.io/tekton-releases/catalog/upstream/pipeline",
"depType": "tekton-bundle",
"packageName": "gcr.io/tekton-releases/catalog/upstream/pipeline",
"replaceString": "gcr.io/tekton-releases/catalog/upstream/pipeline:1.0@sha256:01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": "sha256:01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b",
"currentValue": "1.0",
"datasource": "docker",
"depName": "gcr.io/tekton-releases/catalog/upstream/pipeline-finally",
"depType": "tekton-bundle",
"packageName": "gcr.io/tekton-releases/catalog/upstream/pipeline-finally",
"replaceString": "gcr.io/tekton-releases/catalog/upstream/pipeline-finally:1.0@sha256:01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": "sha256:01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b",
"currentValue": "1.0",
"datasource": "docker",
"depName": "gcr.io/tekton-releases/catalog/upstream/pipeline-resolver",
"depType": "tekton-bundle",
"packageName": "gcr.io/tekton-releases/catalog/upstream/pipeline-resolver",
"replaceString": "gcr.io/tekton-releases/catalog/upstream/pipeline-resolver:1.0@sha256:01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": undefined,
"datasource": "docker",
"depName": "gcr.io/tekton-releases/catalog/upstream/list-pipeline",
"depType": "tekton-bundle",
"packageName": "gcr.io/tekton-releases/catalog/upstream/list-pipeline",
"replaceString": "gcr.io/tekton-releases/catalog/upstream/list-pipeline",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": undefined,
"datasource": "docker",
"depName": "gcr.io/tekton-releases/catalog/upstream/list-pipeline-run",
"depType": "tekton-bundle",
"packageName": "gcr.io/tekton-releases/catalog/upstream/list-pipeline-run",
"replaceString": "gcr.io/tekton-releases/catalog/upstream/list-pipeline-run",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": undefined,
"datasource": "docker",
"depName": "gcr.io/tekton-releases/catalog/upstream/list-task-run",
"depType": "tekton-bundle",
"packageName": "gcr.io/tekton-releases/catalog/upstream/list-task-run",
"replaceString": "gcr.io/tekton-releases/catalog/upstream/list-task-run",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": undefined,
"datasource": "docker",
"depName": "gcr.io/tekton-releases/catalog/upstream/trigger-template-task-run",
"depType": "tekton-bundle",
"packageName": "gcr.io/tekton-releases/catalog/upstream/trigger-template-task-run",
"replaceString": "gcr.io/tekton-releases/catalog/upstream/trigger-template-task-run",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": undefined,
"datasource": "docker",
"depName": "gcr.io/tekton-releases/catalog/upstream/trigger-template-task-run-resolver",
"depType": "tekton-bundle",
"packageName": "gcr.io/tekton-releases/catalog/upstream/trigger-template-task-run-resolver",
"replaceString": "gcr.io/tekton-releases/catalog/upstream/trigger-template-task-run-resolver",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": undefined,
"datasource": "docker",
"depName": "gcr.io/tekton-releases/catalog/upstream/trigger-template-pipeline-run",
"depType": "tekton-bundle",
"packageName": "gcr.io/tekton-releases/catalog/upstream/trigger-template-pipeline-run",
"replaceString": "gcr.io/tekton-releases/catalog/upstream/trigger-template-pipeline-run",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": undefined,
"datasource": "docker",
"depName": "gcr.io/tekton-releases/catalog/upstream/trigger-template-pipeline-run-resolver",
"depType": "tekton-bundle",
"packageName": "gcr.io/tekton-releases/catalog/upstream/trigger-template-pipeline-run-resolver",
"replaceString": "gcr.io/tekton-releases/catalog/upstream/trigger-template-pipeline-run-resolver",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": undefined,
"datasource": "docker",
"depName": "gcr.io/tekton-releases/catalog/upstream/task-run",
"depType": "tekton-bundle",
"packageName": "gcr.io/tekton-releases/catalog/upstream/task-run",
"replaceString": "gcr.io/tekton-releases/catalog/upstream/task-run",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": undefined,
"datasource": "docker",
"depName": "gcr.io/tekton-releases/catalog/upstream/task-run-resolver",
"depType": "tekton-bundle",
"packageName": "gcr.io/tekton-releases/catalog/upstream/task-run-resolver",
"replaceString": "gcr.io/tekton-releases/catalog/upstream/task-run-resolver",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": undefined,
"datasource": "docker",
"depName": "gcr.io/tekton-releases/catalog/upstream/pipeline-run",
"depType": "tekton-bundle",
"packageName": "gcr.io/tekton-releases/catalog/upstream/pipeline-run",
"replaceString": "gcr.io/tekton-releases/catalog/upstream/pipeline-run",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": undefined,
"datasource": "docker",
"depName": "gcr.io/tekton-releases/catalog/upstream/pipeline-run-resolver",
"depType": "tekton-bundle",
"packageName": "gcr.io/tekton-releases/catalog/upstream/pipeline-run-resolver",
"replaceString": "gcr.io/tekton-releases/catalog/upstream/pipeline-run-resolver",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": undefined,
"datasource": "docker",
"depName": "gcr.io/tekton-releases/catalog/upstream/inline-pipeline",
"depType": "tekton-bundle",
"packageName": "gcr.io/tekton-releases/catalog/upstream/inline-pipeline",
"replaceString": "gcr.io/tekton-releases/catalog/upstream/inline-pipeline",
},
{
"depType": "tekton-bundle",
"skipReason": "invalid-value",
},
{
"depType": "tekton-bundle",
"skipReason": "invalid-value",
},
{
"depType": "tekton-bundle",
"skipReason": "invalid-value",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": "sha256:01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b",
"currentValue": "1.0",
"datasource": "docker",
"depName": "gcr.io/tekton-releases/catalog/upstream/pipeline-resolver",
"depType": "tekton-bundle",
"packageName": "gcr.io/tekton-releases/catalog/upstream/pipeline-resolver",
"replaceString": "gcr.io/tekton-releases/catalog/upstream/pipeline-resolver:1.0@sha256:01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": "sha256:01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b",
"currentValue": "1.0",
"datasource": "docker",
"depName": "gcr.io/tekton-releases/catalog/upstream/pipeline-resolver",
"depType": "tekton-bundle",
"packageName": "gcr.io/tekton-releases/catalog/upstream/pipeline-resolver",
"replaceString": "gcr.io/tekton-releases/catalog/upstream/pipeline-resolver:1.0@sha256:01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": undefined,
"datasource": "docker",
"depName": "example.io/taskrun/spec/taskSpec/steps/0/image",
"depType": "tekton-step-image",
"packageName": "example.io/taskrun/spec/taskSpec/steps/0/image",
"replaceString": "example.io/taskrun/spec/taskSpec/steps/0/image",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": undefined,
"datasource": "docker",
"depName": "example.io/taskrun/spec/taskSpec/sidecars/0/image",
"depType": "tekton-step-image",
"packageName": "example.io/taskrun/spec/taskSpec/sidecars/0/image",
"replaceString": "example.io/taskrun/spec/taskSpec/sidecars/0/image",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": undefined,
"datasource": "docker",
"depName": "example.io/taskrun/spec/taskSpec/stepTemplate/image",
"depType": "tekton-step-image",
"packageName": "example.io/taskrun/spec/taskSpec/stepTemplate/image",
"replaceString": "example.io/taskrun/spec/taskSpec/stepTemplate/image",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": undefined,
"datasource": "docker",
"depName": "example.io/task/spec/steps/0/image",
"depType": "tekton-step-image",
"packageName": "example.io/task/spec/steps/0/image",
"replaceString": "example.io/task/spec/steps/0/image",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": undefined,
"datasource": "docker",
"depName": "example.io/task/spec/sidecars/0/image",
"depType": "tekton-step-image",
"packageName": "example.io/task/spec/sidecars/0/image",
"replaceString": "example.io/task/spec/sidecars/0/image",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": undefined,
"datasource": "docker",
"depName": "example.io/task/spec/stepTemplate/image",
"depType": "tekton-step-image",
"packageName": "example.io/task/spec/stepTemplate/image",
"replaceString": "example.io/task/spec/stepTemplate/image",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": undefined,
"datasource": "docker",
"depName": "example.com/pipeline/spec/tasks/0/taskSpec/steps/0/image",
"depType": "tekton-step-image",
"packageName": "example.com/pipeline/spec/tasks/0/taskSpec/steps/0/image",
"replaceString": "example.com/pipeline/spec/tasks/0/taskSpec/steps/0/image",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": undefined,
"datasource": "docker",
"depName": "example.com/pipeline/spec/tasks/0/taskSpec/sidecars/0/image",
"depType": "tekton-step-image",
"packageName": "example.com/pipeline/spec/tasks/0/taskSpec/sidecars/0/image",
"replaceString": "example.com/pipeline/spec/tasks/0/taskSpec/sidecars/0/image",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": undefined,
"datasource": "docker",
"depName": "example.com/pipeline/spec/tasks/0/taskSpec/stepTemplate/image",
"depType": "tekton-step-image",
"packageName": "example.com/pipeline/spec/tasks/0/taskSpec/stepTemplate/image",
"replaceString": "example.com/pipeline/spec/tasks/0/taskSpec/stepTemplate/image",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": undefined,
"datasource": "docker",
"depName": "example.com/pipeline/spec/finally/0/taskSpec/steps/0/image",
"depType": "tekton-step-image",
"packageName": "example.com/pipeline/spec/finally/0/taskSpec/steps/0/image",
"replaceString": "example.com/pipeline/spec/finally/0/taskSpec/steps/0/image",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": undefined,
"datasource": "docker",
"depName": "example.com/pipeline/spec/finally/0/taskSpec/sidecars/0/image",
"depType": "tekton-step-image",
"packageName": "example.com/pipeline/spec/finally/0/taskSpec/sidecars/0/image",
"replaceString": "example.com/pipeline/spec/finally/0/taskSpec/sidecars/0/image",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": undefined,
"datasource": "docker",
"depName": "example.com/pipeline/spec/finally/0/taskSpec/stepTemplate/image",
"depType": "tekton-step-image",
"packageName": "example.com/pipeline/spec/finally/0/taskSpec/stepTemplate/image",
"replaceString": "example.com/pipeline/spec/finally/0/taskSpec/stepTemplate/image",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": undefined,
"datasource": "docker",
"depName": "example.com/pipelinerun/spec/pipelineSpec/tasks/0/taskSpec/steps/0/image",
"depType": "tekton-step-image",
"packageName": "example.com/pipelinerun/spec/pipelineSpec/tasks/0/taskSpec/steps/0/image",
"replaceString": "example.com/pipelinerun/spec/pipelineSpec/tasks/0/taskSpec/steps/0/image",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": undefined,
"datasource": "docker",
"depName": "example.com/pipelinerun/spec/pipelineSpec/tasks/0/taskSpec/sidecars/0/image",
"depType": "tekton-step-image",
"packageName": "example.com/pipelinerun/spec/pipelineSpec/tasks/0/taskSpec/sidecars/0/image",
"replaceString": "example.com/pipelinerun/spec/pipelineSpec/tasks/0/taskSpec/sidecars/0/image",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": undefined,
"datasource": "docker",
"depName": "example.com/pipelinerun/spec/pipelineSpec/tasks/0/taskSpec/stepTemplate/image",
"depType": "tekton-step-image",
"packageName": "example.com/pipelinerun/spec/pipelineSpec/tasks/0/taskSpec/stepTemplate/image",
"replaceString": "example.com/pipelinerun/spec/pipelineSpec/tasks/0/taskSpec/stepTemplate/image",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": undefined,
"datasource": "docker",
"depName": "example.com/pipelinerun/spec/pipelineSpec/finally/0/taskSpec/steps/0/image",
"depType": "tekton-step-image",
"packageName": "example.com/pipelinerun/spec/pipelineSpec/finally/0/taskSpec/steps/0/image",
"replaceString": "example.com/pipelinerun/spec/pipelineSpec/finally/0/taskSpec/steps/0/image",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": undefined,
"datasource": "docker",
"depName": "example.com/pipelinerun/spec/pipelineSpec/finally/0/taskSpec/sidecars/0/image",
"depType": "tekton-step-image",
"packageName": "example.com/pipelinerun/spec/pipelineSpec/finally/0/taskSpec/sidecars/0/image",
"replaceString": "example.com/pipelinerun/spec/pipelineSpec/finally/0/taskSpec/sidecars/0/image",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": undefined,
"datasource": "docker",
"depName": "example.com/pipelinerun/spec/pipelineSpec/finally/0/taskSpec/stepTemplate/image",
"depType": "tekton-step-image",
"packageName": "example.com/pipelinerun/spec/pipelineSpec/finally/0/taskSpec/stepTemplate/image",
"replaceString": "example.com/pipelinerun/spec/pipelineSpec/finally/0/taskSpec/stepTemplate/image",
},
{
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": undefined,
"datasource": "docker",
"depName": "example.com/triggertemplate/spec/resourcetemplates/0/taskrun/spec/taskSpec/steps/0/image",
"depType": "tekton-step-image",
"packageName": "example.com/triggertemplate/spec/resourcetemplates/0/taskrun/spec/taskSpec/steps/0/image",
"replaceString": "example.com/triggertemplate/spec/resourcetemplates/0/taskrun/spec/taskSpec/steps/0/image",
},
],
}
`;