public OctopusComponentVertexDeployer(OctopusApiSettings apiSettings, DeploymentPlanner.Environment environmentToDeployTo, string comments = "", bool forcePackageDownload = false, bool forcePackageRedeployment = false, int pollIntervalSeconds = 4, int timeoutAfterMinutes = 0) { _environmentToDeployTo = environmentToDeployTo; _comments = comments; _forcePackageDownload = forcePackageDownload; _forcePackageRedeployment = forcePackageRedeployment; _pollIntervalSeconds = pollIntervalSeconds; _timeoutAfterMinutes = timeoutAfterMinutes; var octopusServerEndpoint = new OctopusServerEndpoint(apiSettings.Url, apiSettings.ApiKey); _repository = new OctopusRepository(octopusServerEndpoint); }
public OctopusComponentVertexVariableUpdater(OctopusApiSettings apiSettings) { _repository = new OctopusRepository(new OctopusServerEndpoint(apiSettings.Url, apiSettings.ApiKey)); }