Skip to content

Commit

Permalink
chore: patch func-deploy task to use midstream specific 1.32.0 kn cli…
Browse files Browse the repository at this point in the history
…ent image
  • Loading branch information
serverless-qe committed Mar 10, 2024
1 parent 4241da6 commit ad4ce5d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ spec:
description: The workspace containing the function project
steps:
- name: func-deploy
image: "registry.redhat.io/openshift-serverless-1/client-kn-rhel8@sha256:aa63566b385616dfd3518aeb26ce192a3374c389a8ce60406289270b59c215f8"
image: "registry.redhat.io/openshift-serverless-1/client-kn-rhel8@sha256:02b3760cf2c41a9b94eaf71fbd5be2c98451a94384f1e830bab78f4ce2c3c21f"
env:
- name: FUNC_IMAGE
value: "$(params.image)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,19 @@ spec:
description: The workspace containing the function project
steps:
- name: func-deploy
image: "ghcr.io/knative/func/func:latest"
script: |
func deploy --verbose --build=false --push=false --path=$(params.path) --remote=false --image="$(params.image)"
image: "registry.redhat.io/openshift-serverless-1/client-kn-rhel8@sha256:02b3760cf2c41a9b94eaf71fbd5be2c98451a94384f1e830bab78f4ce2c3c21f"
env:
- name: FUNC_IMAGE
value: "$(params.image)"
- name: HOME
value: "/tmp"
command:
- /ko-app/kn
args:
- func
- deploy
- --verbose
- --build=false
- --push=false
- --path=$(params.path)
- --remote=false

0 comments on commit ad4ce5d

Please sign in to comment.