public AppveyorFile(GitFolder f, SolutionDriver driver, SolutionSpec settings, SecretKeyStore keyStore, SharedWorldState sharedState, NormalizedPath branchPath) : base(f, branchPath, branchPath.AppendPart("appveyor.yml")) { _driver = driver; _solutionSpec = settings; _keyStore = keyStore; _sharedState = sharedState; }
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."); }