Skip to content

Commit

Permalink
remote deployment functionality added (#3491)
Browse files Browse the repository at this point in the history
- Update `func` CLI to the latest version

Signed-off-by: msivasubramaniaan <[email protected]>
Signed-off-by: David Thompson <[email protected]>
Co-authored-by: David Thompson <[email protected]>
  • Loading branch information
msivasubramaniaan and datho7561 authored Nov 2, 2023
1 parent 3696f6d commit 4cb7226
Show file tree
Hide file tree
Showing 10 changed files with 734 additions and 15 deletions.
14 changes: 14 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -812,6 +812,11 @@
"title": "S2I Build",
"category": "OpenShift"
},
{
"command": "openshift.Serverless.onClusterBuild",
"title": "On Cluster Build",
"category": "OpenShift"
},
{
"command": "openshift.Serverless.deploy",
"title": "Deploy",
Expand Down Expand Up @@ -1232,6 +1237,10 @@
"command": "openshift.Serverless.s2iBuild",
"when": "false"
},
{
"command": "openshift.Serverless.onClusterBuild",
"when": "false"
},
{
"command": "openshift.Serverless.deploy",
"when": "false"
Expand Down Expand Up @@ -1415,6 +1424,11 @@
"command": "openshift.Serverless.s2iBuild",
"when": "view == openshiftServerlessFunctionsView && viewItem =~ /^(localFunctions|localFunctionsWithBuild|localDeployFunctions)$/",
"group": "c1@1"
},
{
"command": "openshift.Serverless.onClusterBuild",
"when": "view == openshiftServerlessFunctionsView && viewItem =~ /^(localFunctions|localFunctionsWithBuild|localDeployFunctions)$/ && isLoggedIn",
"group": "c1@2"
}
],
"view/item/context/createService": [
Expand Down
Loading

0 comments on commit 4cb7226

Please sign in to comment.