14 instantiations of RadiusDeploymentPipelineStep
Aspire.Hosting.Radius (1)
RadiusEnvironmentResource.cs (1)
57var deployStep = new RadiusDeploymentPipelineStep(this).CreatePipelineStep();
Aspire.Hosting.Radius.Tests (13)
Deployment\DeployPipelineIntegrationTests.cs (6)
42var step = new RadiusDeploymentPipelineStep(environment); 64var step = new RadiusDeploymentPipelineStep(environment); 81var step = new RadiusDeploymentPipelineStep(environment); 95var step = new RadiusDeploymentPipelineStep(environment); 107var step = new RadiusDeploymentPipelineStep(environment); 139var 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)
116var 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)
22/// <see cref="RadiusDeploymentPipelineStep"/> runs. Secret values supplied 32/// <see cref="RadiusDeploymentPipelineStep"/>, which keeps deploy-time secrets off the 92var radAvailable = await RadiusDeploymentPipelineStep.DetectRadCliAsync(cancellationToken).ConfigureAwait(false); 95logger.LogError("The 'rad' CLI was not found on PATH. Install it from {InstallUrl}", RadiusDeploymentPipelineStep.RadInstallUrl); 96throw 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)
76RadiusDeploymentPipelineStep.RunAsync, cancellationToken).ConfigureAwait(false);
RadiusEnvironmentResource.cs (1)
86Action = stepContext => RadiusDeploymentPipelineStep.VerifyControlPlaneVersionAsync(stepContext.Logger, stepContext.CancellationToken),
Aspire.Hosting.Radius.Tests (37)
Deployment\ControlPlaneVersionGateTests.cs (13)
32Assert.True(RadiusDeploymentPipelineStep.TryParseControlPlaneVersion(json, out var version)); 56Assert.False(RadiusDeploymentPipelineStep.TryParseControlPlaneVersion(json, out var version)); 63var ex = RadiusDeploymentPipelineStep.CreateUnsupportedControlPlaneException(new Version(0, 59), "kind-radius"); 66Assert.Contains(RadiusDeploymentPipelineStep.MinimumControlPlaneVersion.ToString(), ex.Message, StringComparison.Ordinal); 88var environment = RadiusDeploymentPipelineStep.BuildIsolatedKubeConfigEnvironment( 119var environment = RadiusDeploymentPipelineStep.BuildIsolatedKubeConfigEnvironment( 145var environment = RadiusDeploymentPipelineStep.BuildIsolatedKubeConfigEnvironment( 163var environment = RadiusDeploymentPipelineStep.BuildIsolatedKubeConfigEnvironment( 224() => RadiusDeploymentPipelineStep.VerifyControlPlaneVersionAsync( 245await RadiusDeploymentPipelineStep.VerifyControlPlaneVersionAsync( 265await RadiusDeploymentPipelineStep.VerifyControlPlaneVersionAsync( 296await RadiusDeploymentPipelineStep.VerifyControlPlaneVersionAsync( 316=> RadiusDeploymentPipelineStep.VerifyControlPlaneVersionAsync(
Deployment\DeployPipelineIntegrationTests.cs (6)
42var step = new RadiusDeploymentPipelineStep(environment); 64var step = new RadiusDeploymentPipelineStep(environment); 81var step = new RadiusDeploymentPipelineStep(environment); 95var step = new RadiusDeploymentPipelineStep(environment); 107var step = new RadiusDeploymentPipelineStep(environment); 139var 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)
28var radAvailable = await RadiusDeploymentPipelineStep.DetectRadCliAsync(); 57var radAvailable = await RadiusDeploymentPipelineStep.DetectRadCliAsync(); 100var radAvailable = await RadiusDeploymentPipelineStep.DetectRadCliAsync(); 111var radAvailable = await RadiusDeploymentPipelineStep.DetectRadCliAsync(); 116var 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);