public CodeCakeBuilderKeyVaultFile(
     CodeCakeBuilderFolder f,
     SolutionDriver driver,
     SolutionSpec solutionSpec,
     SecretKeyStore secretStore,
     SharedWorldState sharedState,
     NormalizedPath branchPath)
     : base(f.GitFolder, branchPath, f.FolderPath.AppendPart("CodeCakeBuilderKeyVault.txt"))
 {
     _f            = f;
     _driver       = driver;
     _secretStore  = secretStore;
     _sharedState  = sharedState;
     _solutionSpec = solutionSpec;
     _secretStore.DeclareSecretKey(SolutionDriver.CODECAKEBUILDER_SECRET_KEY, current => current?.Description
                                   ?? $"Allows update of CodeCakeBuilderKeyVault.txt used by CI/CD processes. This secret must be managed only by people that have access to the CI/CD processes and their configuration.");
 }
Exemple #2
0
 public CodeCakeBuilderCSProjFile(CodeCakeBuilderFolder f, NormalizedPath branchPath, SolutionDriver solutionDriver)
     : base(f.GitFolder, branchPath, f.FolderPath.AppendPart("CodeCakeBuilder.csproj"), Encoding.UTF8)
 {
     _f = f;
     _solutionDriver = solutionDriver;
 }