Skip to content

Commit

Permalink
Ensure .NET projects always get the latest Pulumi package (pulumi#1126)
Browse files Browse the repository at this point in the history
This change ensures the .NET projects always get the latest `Pulumi` package. Otherwise, the `Pulumi` package is a transitive dependency that is resolved to the **lowest** version that matches the requirements of the package that depends on it.
  • Loading branch information
justinvp committed Nov 25, 2021
1 parent 5865541 commit 24852fd
Show file tree
Hide file tree
Showing 33 changed files with 37 additions and 4 deletions.
1 change: 1 addition & 0 deletions aws-cs-assume-role/assume-role/assume-role.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pulumi" Version="3.*" />
<PackageReference Include="Pulumi.Aws" Version="4.*" />
</ItemGroup>

Expand Down
1 change: 1 addition & 0 deletions aws-cs-assume-role/create-role/create-role.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pulumi" Version="3.*" />
<PackageReference Include="Pulumi.Aws" Version="4.*" />
</ItemGroup>

Expand Down
1 change: 1 addition & 0 deletions aws-cs-eks/Aws.EksCluster.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pulumi" Version="3.*" />
<PackageReference Include="Pulumi.Aws" Version="4.*" />
<PackageReference Include="Pulumi.Kubernetes" Version="3.*" />
</ItemGroup>
Expand Down
1 change: 1 addition & 0 deletions aws-cs-fargate/Infra/Aws.Fargate.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pulumi" Version="3.*" />
<PackageReference Include="Pulumi.Aws" Version="4.*" />
<PackageReference Include="Pulumi.Docker" Version="3.*" />
</ItemGroup>
Expand Down
1 change: 1 addition & 0 deletions aws-cs-lambda/pulumi/Aws.Lambda.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pulumi" Version="3.*" />
<PackageReference Include="Pulumi.Aws" Version="4.*" />
</ItemGroup>

Expand Down
1 change: 1 addition & 0 deletions aws-cs-s3-folder/aws-cs-s3-folder.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Pulumi" Version="3.*" />
<PackageReference Include="Pulumi.Aws" Version="4.*" />
</ItemGroup>

Expand Down
1 change: 1 addition & 0 deletions aws-cs-webserver/Aws.WebServer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pulumi" Version="3.*" />
<PackageReference Include="Pulumi.Aws" Version="4.*" />
</ItemGroup>

Expand Down
3 changes: 2 additions & 1 deletion aws-fs-lambda-webserver/pulumi/Aws.LambdaWebServer.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Pulumi.Aws" Version="4.*" />
<PackageReference Include="Pulumi" Version="3.*" />
<PackageReference Include="Pulumi.FSharp" Version="3.*" />
<PackageReference Include="Pulumi.Aws" Version="4.*" />
</ItemGroup>
</Project>
3 changes: 2 additions & 1 deletion aws-fs-s3-folder/aws-cs-s3-folder.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pulumi.Aws" Version="4.*" />
<PackageReference Include="Pulumi" Version="3.*" />
<PackageReference Include="Pulumi.FSharp" Version="3.*" />
<PackageReference Include="Pulumi.Aws" Version="4.*" />
</ItemGroup>

<ItemGroup>
Expand Down
1 change: 1 addition & 0 deletions azure-cs-aks-cosmos-helm/AksCosmosStack.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pulumi" Version="3.*" />
<PackageReference Include="Pulumi.AzureAD" Version="4.*" />
<PackageReference Include="Pulumi.AzureNative" Version="1.*" />
<PackageReference Include="Pulumi.Kubernetes" Version="3.*" />
Expand Down
1 change: 1 addition & 0 deletions azure-cs-aks-helm/azure-cs-aks-helm.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pulumi" Version="3.*" />
<PackageReference Include="Pulumi.AzureNative" Version="1.*" />
<PackageReference Include="Pulumi.AzureAd" Version="4.*" />
<PackageReference Include="Pulumi.Kubernetes" Version="3.*" />
Expand Down
1 change: 1 addition & 0 deletions azure-cs-aks/Azure.Aks.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pulumi" Version="3.*" />
<PackageReference Include="Pulumi.AzureAD" Version="4.*" />
<PackageReference Include="Pulumi.AzureNative" Version="1.*" />
<PackageReference Include="Pulumi.Random" Version="4.*" />
Expand Down
1 change: 1 addition & 0 deletions azure-cs-call-azure-api/azure-cs-call-azure-api.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pulumi" Version="3.*" />
<PackageReference Include="Pulumi.AzureNative" Version="1.*" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pulumi" Version="3.*" />
<PackageReference Include="Pulumi.AzureNative" Version="1.*" />
<PackageReference Include="Pulumi.Random" Version="3.*" />
</ItemGroup>
Expand Down
1 change: 1 addition & 0 deletions azure-cs-functions/Azure.Functions.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pulumi" Version="3.*" />
<PackageReference Include="Pulumi.AzureNative" Version="1.*" />
</ItemGroup>

Expand Down
1 change: 1 addition & 0 deletions azure-cs-net5-aks-webapp/Azure.Dotnet5.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pulumi" Version="3.*" />
<PackageReference Include="Pulumi.AzureAD" Version="4.*" />
<PackageReference Include="Pulumi.AzureNative" Version="1.*" />
<PackageReference Include="Pulumi.Docker" Version="2.*" />
Expand Down
1 change: 1 addition & 0 deletions classic-azure-cs-botservice/Azure.BotService.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Pulumi" Version="3.*" />
<PackageReference Include="Pulumi.Azure" Version="4.*" />
<PackageReference Include="Pulumi.AzureAD" Version="4.*" />
<PackageReference Include="Pulumi.Random" Version="4.*" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pulumi" Version="3.*" />
<PackageReference Include="Pulumi.Azure" Version="4.*" />
<PackageReference Include="Pulumi.Docker" Version="3.*" />
</ItemGroup>
Expand Down
1 change: 1 addition & 0 deletions classic-azure-cs-msi-keyvault-rbac/Azure.KeyVault.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pulumi" Version="3.*" />
<PackageReference Include="Pulumi.Azure" Version="4.*" />
<PackageReference Include="Pulumi.Random" Version="4.*" />
</ItemGroup>
Expand Down
1 change: 1 addition & 0 deletions classic-azure-cs-vm-scaleset/Azure.VmScaleset.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pulumi" Version="3.*" />
<PackageReference Include="Pulumi.Azure" Version="4.*" />
</ItemGroup>

Expand Down
1 change: 1 addition & 0 deletions classic-azure-cs-webserver/Azure.WebServer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pulumi" Version="3.*" />
<PackageReference Include="Pulumi.Azure" Version="4.*" />
</ItemGroup>

Expand Down
3 changes: 2 additions & 1 deletion classic-azure-fs-aci/Azure.Aci.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Pulumi" Version="3.*" />
<PackageReference Include="Pulumi.FSharp" Version="3.*" />
<PackageReference Include="Pulumi.Azure" Version="4.*" />
<PackageReference Include="Pulumi.Docker" Version="3.*" />
<PackageReference Include="Pulumi.Docker" Version="3.*" />
</ItemGroup>

</Project>
1 change: 1 addition & 0 deletions classic-azure-fs-aks/Azure.Aks.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<Compile Include="Program.fs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Pulumi" Version="3.*" />
<PackageReference Include="Pulumi.Azure" Version="4.*" />
<PackageReference Include="Pulumi.AzureAD" Version="4.*" />
<PackageReference Include="Pulumi.FSharp" Version="3.*" />
Expand Down
3 changes: 2 additions & 1 deletion classic-azure-fs-appservice/Azure.AppService.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Pulumi.Azure" Version="4.*" />
<PackageReference Include="Pulumi" Version="3.*" />
<PackageReference Include="Pulumi.FSharp" Version="3.*" />
<PackageReference Include="Pulumi.Azure" Version="4.*" />
</ItemGroup>

</Project>
1 change: 1 addition & 0 deletions digitalocean-cs-k8s/Digitalocean.K8s.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pulumi" Version="3.*" />
<PackageReference Include="Pulumi.DigitalOcean" Version="4.*" />
<PackageReference Include="Pulumi.Kubernetes" Version="3.*" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pulumi" Version="3.*" />
<PackageReference Include="Pulumi.DigitalOcean" Version="4.*" />
</ItemGroup>

Expand Down
1 change: 1 addition & 0 deletions gcp-cs-functions/GCP.Functions.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pulumi" Version="3.*" />
<PackageReference Include="Pulumi.Gcp" Version="4.*" />
</ItemGroup>

Expand Down
1 change: 1 addition & 0 deletions gcp-cs-gke/Gcp.Gke.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pulumi" Version="3.*" />
<PackageReference Include="Pulumi.Gcp" Version="4.*" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pulumi" Version="3.*" />
<PackageReference Include="Pulumi.Kubernetes" Version="3.*" />
</ItemGroup>

Expand Down
1 change: 1 addition & 0 deletions kubernetes-cs-guestbook/simple/Kubernetes.Guestbook.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pulumi" Version="3.*" />
<PackageReference Include="Pulumi.Kubernetes" Version="3.*" />
</ItemGroup>

Expand Down
1 change: 1 addition & 0 deletions testing-unit-cs-mocks/UnitTesting.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.5.0" />
<PackageReference Include="NUnit" Version="3.12.0" />
<PackageReference Include="NUnit3TestAdapter" Version="3.16.1" />
<PackageReference Include="Pulumi" Version="3.*" />
<PackageReference Include="Pulumi.AzureNative" Version="1.*" />
</ItemGroup>

Expand Down
1 change: 1 addition & 0 deletions testing-unit-cs/UnitTesting.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.5.0" />
<PackageReference Include="NUnit" Version="3.12.0" />
<PackageReference Include="NUnit3TestAdapter" Version="3.16.1" />
<PackageReference Include="Pulumi" Version="3.*" />
<PackageReference Include="Pulumi.Aws" Version="4.*" />
</ItemGroup>

Expand Down
1 change: 1 addition & 0 deletions testing-unit-fs-mocks/UnitTestingFs.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<PackageReference Include="NUnit" Version="3.12.0" />
<PackageReference Include="NUnit3TestAdapter" Version="3.16.1" />
<PackageReference Include="Pulumi.Azure" Version="4.*" />
<PackageReference Include="Pulumi" Version="3.*" />
<PackageReference Include="Pulumi.FSharp" Version="3.*" />
</ItemGroup>

Expand Down

0 comments on commit 24852fd

Please sign in to comment.