Skip to content

Commit 4cb7226

Browse files
remote deployment functionality added (#3491)
- 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]>
1 parent 3696f6d commit 4cb7226

File tree

10 files changed

+734
-15
lines changed

10 files changed

+734
-15
lines changed

package.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -812,6 +812,11 @@
812812
"title": "S2I Build",
813813
"category": "OpenShift"
814814
},
815+
{
816+
"command": "openshift.Serverless.onClusterBuild",
817+
"title": "On Cluster Build",
818+
"category": "OpenShift"
819+
},
815820
{
816821
"command": "openshift.Serverless.deploy",
817822
"title": "Deploy",
@@ -1232,6 +1237,10 @@
12321237
"command": "openshift.Serverless.s2iBuild",
12331238
"when": "false"
12341239
},
1240+
{
1241+
"command": "openshift.Serverless.onClusterBuild",
1242+
"when": "false"
1243+
},
12351244
{
12361245
"command": "openshift.Serverless.deploy",
12371246
"when": "false"
@@ -1415,6 +1424,11 @@
14151424
"command": "openshift.Serverless.s2iBuild",
14161425
"when": "view == openshiftServerlessFunctionsView && viewItem =~ /^(localFunctions|localFunctionsWithBuild|localDeployFunctions)$/",
14171426
"group": "c1@1"
1427+
},
1428+
{
1429+
"command": "openshift.Serverless.onClusterBuild",
1430+
"when": "view == openshiftServerlessFunctionsView && viewItem =~ /^(localFunctions|localFunctionsWithBuild|localDeployFunctions)$/ && isLoggedIn",
1431+
"group": "c1@2"
14181432
}
14191433
],
14201434
"view/item/context/createService": [

0 commit comments

Comments
 (0)