Skip to content

Commit

Permalink
fix(HMS-4895): invalid resource reference
Browse files Browse the repository at this point in the history
The prefetch-dependencies task was not using
the -oci-ta reference; this change add that
so it is aligned with -oci-ta refactor.

This is expected that will fix the error message:
`invalid result reference in pipeline task "build-images":
"SOURCE_ARTIFACT" is not a named result returned by pipeline task
"prefetch-dependencies" `

Signed-off-by: Alejandro Visiedo <[email protected]>
  • Loading branch information
avisiedo committed Dec 12, 2024
1 parent 3aeef0b commit 4d6bcbe
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .tekton/idmsvc-backend-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -196,25 +196,24 @@ spec:
value: "true"
- name: input
value: $(params.prefetch-input)
- name: SOURCE_ARTIFACT
value: $(tasks.clone-repository.results.SOURCE_ARTIFACT)
- name: ociStorage
value: $(params.output-image).prefetch
- name: ociArtifactExpiresAfter
value: $(params.image-expires-after)
runAfter:
- clone-repository
taskRef:
params:
- name: name
value: prefetch-dependencies
value: prefetch-dependencies-oci-ta
- name: bundle
value: quay.io/konflux-ci/tekton-catalog/task-prefetch-dependencies:0.1@sha256:53fc6d82b06534878e509f3e37f05b818f38fba01729dd1fbee6f97a9562c1ed
value: quay.io/konflux-ci/tekton-catalog/task-prefetch-dependencies-oci-ta:0.1@sha256:4072f732119864d12ec8e2ff075f01487aaee9df4440166dbe85fdd447865161
- name: kind
value: task
resolver: bundles
when:
- input: $(params.prefetch-input)
operator: notin
values:
- ""
workspaces:
- name: source
workspace: workspace
- name: git-basic-auth
workspace: git-auth
- name: netrc
Expand Down

0 comments on commit 4d6bcbe

Please sign in to comment.