From 8dffb5c51d8312989d0e9070593b2388e42e4025 Mon Sep 17 00:00:00 2001 From: Alexander Morogov Date: Fri, 12 Jan 2024 08:05:59 +0100 Subject: [PATCH] VCI-752: Add default value F1 to ServicePlan parameter --- src/VirtoCommerce.Build/Cloud/Build.SaaS.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/VirtoCommerce.Build/Cloud/Build.SaaS.cs b/src/VirtoCommerce.Build/Cloud/Build.SaaS.cs index 4795a5b..b6d91dd 100644 --- a/src/VirtoCommerce.Build/Cloud/Build.SaaS.cs +++ b/src/VirtoCommerce.Build/Cloud/Build.SaaS.cs @@ -57,7 +57,7 @@ internal partial class Build [Parameter("SaaS Auth Provider")] public string CloudAuthProvider { get; set; } = "GitHub"; [Parameter("App Project Name")] public string AppProject { get; set; } [Parameter("Cloud Environment Name")] public string EnvironmentName { get; set; } - [Parameter("Cloud Environment Service Plan")] public string ServicePlan { get; set; } + [Parameter("Cloud Environment Service Plan")] public string ServicePlan { get; set; } = "F1"; [Parameter("Cloud Environment Cluster Name")] public string ClusterName { get; set; } [Parameter("Cloud Environment Db Provider")] public string DbProvider { get; set; } [Parameter("Cloud Environment Db Name")] public string DbName { get; set; } @@ -326,7 +326,7 @@ private void SaveCloudToken(string token) public Target CloudInit => _ => _ .Before(PrepareDockerContext, BuildAndPush, CloudDeploy) - .Requires(() => ServicePlan, () => EnvironmentName) + .Requires(() => EnvironmentName) .Executes(async () => { var model = new NewEnvironmentModel