14 instantiations of RadiusDeploymentPipelineStep
Aspire.Hosting.Radius (1)
RadiusEnvironmentResource.cs (1)
56var deployStep = new RadiusDeploymentPipelineStep(this).CreatePipelineStep();
Aspire.Hosting.Radius.Tests (13)
Deployment\DeployPipelineIntegrationTests.cs (6)
40var step = new RadiusDeploymentPipelineStep(environment); 62var step = new RadiusDeploymentPipelineStep(environment); 79var step = new RadiusDeploymentPipelineStep(environment); 93var step = new RadiusDeploymentPipelineStep(environment); 105var step = new RadiusDeploymentPipelineStep(environment); 137var deployStep = new RadiusDeploymentPipelineStep(envResource);
Deployment\RadCliDetectionTests.cs (3)
64var step = new RadiusDeploymentPipelineStep(environment); 75var step = new RadiusDeploymentPipelineStep(environment); 89var step = new RadiusDeploymentPipelineStep(environment);
DeploymentE2E\DeployEndToEndTests.cs (1)
114var step = new RadiusDeploymentPipelineStep(environment);
Publishing\RadiusDeployParametersTests.cs (3)
66var step = new RadiusDeploymentPipelineStep(radiusEnv); 118var step = new RadiusDeploymentPipelineStep(radiusEnv); 137var step = new RadiusDeploymentPipelineStep(radius.Resource);
46 references to RadiusDeploymentPipelineStep
Aspire.Hosting.Radius (9)
Publishing\RadCredentialRegisterStep.cs (5)
19/// <see cref="RadiusDeploymentPipelineStep"/> runs. Secret values supplied 29/// <see cref="RadiusDeploymentPipelineStep"/>, which keeps deploy-time secrets off the 89var radAvailable = await RadiusDeploymentPipelineStep.DetectRadCliAsync(cancellationToken).ConfigureAwait(false); 92logger.LogError("The 'rad' CLI was not found on PATH. Install it from {InstallUrl}", RadiusDeploymentPipelineStep.RadInstallUrl); 93throw RadiusDeploymentPipelineStep.CreateRadCliNotFoundException();
Publishing\RadiusCommandRunner.cs (1)
20/// <see cref="RadiusDeploymentPipelineStep"/>.
Publishing\RadiusWorkspaceKubeContext.cs (1)
18/// <see cref="RadiusDeploymentPipelineStep"/> (which reads the installed control plane version)
Publishing\SealedSecretApplyStep.cs (1)
74RadiusDeploymentPipelineStep.RunAsync, cancellationToken).ConfigureAwait(false);
RadiusEnvironmentResource.cs (1)
85Action = stepContext => RadiusDeploymentPipelineStep.VerifyControlPlaneVersionAsync(stepContext.Logger, stepContext.CancellationToken),
Aspire.Hosting.Radius.Tests (37)
Deployment\ControlPlaneVersionGateTests.cs (13)
30Assert.True(RadiusDeploymentPipelineStep.TryParseControlPlaneVersion(json, out var version)); 54Assert.False(RadiusDeploymentPipelineStep.TryParseControlPlaneVersion(json, out var version)); 61var ex = RadiusDeploymentPipelineStep.CreateUnsupportedControlPlaneException(new Version(0, 59), "kind-radius"); 64Assert.Contains(RadiusDeploymentPipelineStep.MinimumControlPlaneVersion.ToString(), ex.Message, StringComparison.Ordinal); 86var environment = RadiusDeploymentPipelineStep.BuildIsolatedKubeConfigEnvironment( 117var environment = RadiusDeploymentPipelineStep.BuildIsolatedKubeConfigEnvironment( 143var environment = RadiusDeploymentPipelineStep.BuildIsolatedKubeConfigEnvironment( 161var environment = RadiusDeploymentPipelineStep.BuildIsolatedKubeConfigEnvironment( 222() => RadiusDeploymentPipelineStep.VerifyControlPlaneVersionAsync( 243await RadiusDeploymentPipelineStep.VerifyControlPlaneVersionAsync( 263await RadiusDeploymentPipelineStep.VerifyControlPlaneVersionAsync( 294await RadiusDeploymentPipelineStep.VerifyControlPlaneVersionAsync( 314=> RadiusDeploymentPipelineStep.VerifyControlPlaneVersionAsync(
Deployment\DeployPipelineIntegrationTests.cs (6)
40var step = new RadiusDeploymentPipelineStep(environment); 62var step = new RadiusDeploymentPipelineStep(environment); 79var step = new RadiusDeploymentPipelineStep(environment); 93var step = new RadiusDeploymentPipelineStep(environment); 105var step = new RadiusDeploymentPipelineStep(environment); 137var deployStep = new RadiusDeploymentPipelineStep(envResource);
Deployment\RadCliDetectionTests.cs (9)
16var result = await RadiusDeploymentPipelineStep.DetectRadCliAsync(); 26var result1 = await RadiusDeploymentPipelineStep.DetectRadCliAsync(); 27var result2 = await RadiusDeploymentPipelineStep.DetectRadCliAsync(); 42() => RadiusDeploymentPipelineStep.DetectRadCliAsync(cts.Token)); 52var ex = RadiusDeploymentPipelineStep.CreateRadCliNotFoundException(); 54Assert.Contains(RadiusDeploymentPipelineStep.RadInstallUrl, ex.Message, StringComparison.Ordinal); 64var step = new RadiusDeploymentPipelineStep(environment); 75var step = new RadiusDeploymentPipelineStep(environment); 89var step = new RadiusDeploymentPipelineStep(environment);
DeploymentE2E\DeployEndToEndTests.cs (5)
26var radAvailable = await RadiusDeploymentPipelineStep.DetectRadCliAsync(); 55var radAvailable = await RadiusDeploymentPipelineStep.DetectRadCliAsync(); 98var radAvailable = await RadiusDeploymentPipelineStep.DetectRadCliAsync(); 109var radAvailable = await RadiusDeploymentPipelineStep.DetectRadCliAsync(); 114var step = new RadiusDeploymentPipelineStep(environment);
Publishing\RadiusDeployParametersTests.cs (4)
66var step = new RadiusDeploymentPipelineStep(radiusEnv); 92RadiusDeploymentPipelineStep.DeleteDeployParametersFile(path, NullLogger.Instance); 118var step = new RadiusDeploymentPipelineStep(radiusEnv); 137var step = new RadiusDeploymentPipelineStep(radius.Resource);