Skip to content

Commit

Permalink
examples/tests: fix yq task
Browse files Browse the repository at this point in the history
Fix yq image version and update yq arguments

Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
  • Loading branch information
vdemeester committed Jan 5, 2021
1 parent 55fdb95 commit ba96b13
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions examples/v1alpha1/pipelineruns/pipelinerun.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,10 @@ spec:
description: The path to the image to replace in the yaml manifest (arg to yq)
steps:
- name: replace-image
image: mikefarah/yq
image: mikefarah/yq:4
command: ['yq']
args:
- "w"
- "e"
- "-i"
- "$(inputs.params.yqArg)"
- "$(inputs.params.path)"
Expand Down
4 changes: 2 additions & 2 deletions examples/v1beta1/pipelineruns/pipelinerun.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -200,10 +200,10 @@ spec:
- name: source
steps:
- name: replace-image
image: mikefarah/yq
image: mikefarah/yq:4
command: ['yq']
args:
- "w"
- "e"
- "-i"
- "$(params.yqArg)"
- "$(params.path)"
Expand Down
4 changes: 2 additions & 2 deletions test/yamls/v1beta1/pipelineruns/pipelinerun.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -200,10 +200,10 @@ spec:
- name: source
steps:
- name: replace-image
image: mikefarah/yq
image: mikefarah/yq:4
command: ['yq']
args:
- "w"
- "e"
- "-i"
- "$(params.yqArg)"
- "$(params.path)"
Expand Down

0 comments on commit ba96b13

Please sign in to comment.