91 references to WithEnvironment
Aspire.Hosting (1)
Aspire.Hosting.Azure.Tests (9)
Aspire.Hosting.Docker.Tests (15)
DockerComposePublisherTests.cs (15)
78.WithEnvironment("param0", param0)
79.WithEnvironment("param1", param1)
80.WithEnvironment("param2", param2)
311builder.AddContainer("app", "busybox").WithEnvironment("param1", param);
381builder.AddContainer("app", "busybox").WithEnvironment("param1", parameter);
770.WithEnvironment("PARAM1", param1)
771.WithEnvironment("PARAM2", param2)
799.WithEnvironment("PARAM1", param1)
800.WithEnvironment("PARAM2", param2);
832.WithEnvironment("STRING_PARAM", stringParam)
833.WithEnvironment("SECRET_PARAM", secretParam)
834.WithEnvironment("PARAM_WITH_DEFAULT", paramWithDefault)
859.WithEnvironment("PARAM1", param1);
893.WithEnvironment("PARAM1", param1);
948.WithEnvironment("MY_PARAM", param);
Aspire.Hosting.Dotnet.Tests (1)
Aspire.Hosting.Kubernetes.Tests (11)
Aspire.Hosting.Radius.Tests (29)
Publishing\ContainerSecretEnvironmentTests.cs (14)
54.WithEnvironment("API_KEY", secret!);
97.WithEnvironment("API_KEY", secret);
133.WithEnvironment("REGION", plain)
177.WithEnvironment("PW", password);
214.WithEnvironment("BAD KEY", password);
240.WithEnvironment("..token", password);
283.WithEnvironment("PW", password);
309.WithEnvironment("PW", password);
327.WithEnvironment("PW", password);
345.WithEnvironment("PW", password);
363.WithEnvironment("PW", password);
386.WithEnvironment("PW", password);
405.WithEnvironment("PW", password);
431.WithEnvironment("PW", password);
Publishing\PostCallbackSecretValidationTests.cs (7)
72.WithEnvironment("PW", password);
480.WithEnvironment("PW", password);
504.WithEnvironment("PW", password);
530.WithEnvironment("PW", password);
773.WithEnvironment("PW", builder.AddParameter("pw", secret: true));
792.WithEnvironment("PW", builder.AddParameter("pw", secret: true)),
854.WithEnvironment("PW", builder.AddParameter("pw", secret: true)),
Aspire.Hosting.Seq (1)
Aspire.Hosting.Tests (12)
AzureAppService.AppHost (1)
AzureContainerApps.AppHost (1)
Deployers.AppHost (3)
ParameterEndToEnd.AppHost (1)
Publishers.AppHost (4)
Stress.AppHost (2)