File tree Expand file tree Collapse file tree 8 files changed +61
-5
lines changed
KubernetesSdk.Client.Extensions.DependencyInjection
KubernetesSdk.Generator/build
KubernetesSdk.Serialization Expand file tree Collapse file tree 8 files changed +61
-5
lines changed Original file line number Diff line number Diff line change 4
4
push :
5
5
branches :
6
6
- ' main'
7
+ tags :
8
+ - ' v*'
7
9
pull_request :
8
10
branches :
9
11
- ' main'
44
46
# directory: ./test-results
45
47
# files: '*.cobertura.xml'
46
48
#
49
+ - name : Upload artifacts
50
+ uses : actions/upload-artifact@v3
51
+ with :
52
+ name : artifacts
53
+ path : ./artifacts
47
54
- name : Upload test results
48
55
uses : actions/upload-artifact@v3
49
56
with :
50
57
name : test-results
51
58
path : ./test-results
52
59
if : ${{ always() }} # Always run this step even on failure
60
+
61
+ deploy-testing :
62
+ if : github.event_name == 'push'
63
+ runs-on : ubuntu-latest
64
+ environment : testing
65
+ needs : build
66
+ steps :
67
+ - name : Setup .NET
68
+ uses : actions/setup-dotnet@v3
69
+ with :
70
+ dotnet-version : |
71
+ 8.0.x
72
+ - name : Download artifacts
73
+ uses : actions/download-artifact@v3
74
+ with :
75
+ name : artifacts
76
+ path : ./artifacts
77
+ - name : Push packages
78
+ run : dotnet nuget push -s ${{vars.MYGET_URL}} -k ${{secrets.MYGET_API_KEY}} ./artifacts/*.*nupkg
79
+
80
+ deploy-release :
81
+ if : github.event_name == 'push' && contains(github.ref, 'refs/tags/')
82
+ runs-on : ubuntu-latest
83
+ environment : production
84
+ needs :
85
+ - build
86
+ - deploy-testing
87
+ steps :
88
+ - name : Setup .NET
89
+ uses : actions/setup-dotnet@v3
90
+ with :
91
+ dotnet-version : |
92
+ 8.0.x
93
+ - name : Download artifacts
94
+ uses : actions/download-artifact@v3
95
+ with :
96
+ name : artifacts
97
+ path : ./artifacts
98
+ - name : Push packages
99
+ run : dotnet nuget push -s ${{vars.NUGET_URL}} -k ${{secrets.NUGET_API_KEY}} ./artifacts/*.*nupkg
Original file line number Diff line number Diff line change 1
1
<Project >
2
2
<PropertyGroup >
3
3
<Authors >Christian Prochnow and Contributors</Authors >
4
- <Product >Kubernetes .NET SDK </Product >
4
+ <Product >Kubernetes SDK for .NET</Product >
5
5
<Copyright >Copyright (c) 2023 Christian Prochnow and Contributors</Copyright >
6
- <Description >.NET SDK for the Kubernetes open source container orchestrator.</Description >
7
6
<Version >1.0.0</Version >
8
7
<PackageLicenseExpression >Apache-2.0</PackageLicenseExpression >
8
+ <PackageTags >Kubernetes;SDK</PackageTags >
9
9
<LangVersion >latest</LangVersion >
10
10
<Nullable >enable</Nullable >
11
11
Original file line number Diff line number Diff line change 15
15
<PrivateAssets >all</PrivateAssets >
16
16
<IncludeAssets >runtime; build; native; contentfiles; analyzers</IncludeAssets >
17
17
</PackageReference >
18
+ <PackageReference Include =" GitVersion.MsBuild" Version =" 5.12.0" >
19
+ <PrivateAssets >all</PrivateAssets >
20
+ <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
21
+ </PackageReference >
18
22
</ItemGroup >
19
23
20
24
<ItemGroup >
Original file line number Diff line number Diff line change 3
3
<PropertyGroup >
4
4
<TargetFrameworks >net462;netstandard2.0;net6.0</TargetFrameworks >
5
5
<RootNamespace >Kubernetes.Client</RootNamespace >
6
+ <Description >Integrates the client library with Microsoft.Extensions.DepdendencyInjection.</Description >
7
+ <PackageTags >$(PackageTags);Client;Extensions;DependencyInjection</PackageTags >
6
8
</PropertyGroup >
7
9
8
10
<ItemGroup >
Original file line number Diff line number Diff line change 3
3
<PropertyGroup >
4
4
<TargetFrameworks >net462;netstandard2.0;netstandard2.1;net6.0;net7.0</TargetFrameworks >
5
5
<RootNamespace >Kubernetes.Client</RootNamespace >
6
+ <Description >Client library for the Kubernetes open source container orchestrator.</Description >
7
+ <PackageTags >$(PackageTags);Client</PackageTags >
6
8
<KubernetesGeneratorOptions >api</KubernetesGeneratorOptions >
7
9
</PropertyGroup >
8
10
Original file line number Diff line number Diff line change 7
7
</PropertyGroup >
8
8
9
9
<ItemGroup >
10
- <PackageReference Include =" Microsoft.Extensions.ApiDescription.Client" Version =" 8.0.0-rc.1.23421.29 " >
10
+ <PackageReference Include =" Microsoft.Extensions.ApiDescription.Client" Version =" 8.0.0" >
11
11
<PrivateAssets >all</PrivateAssets >
12
12
<IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
13
13
</PackageReference >
Original file line number Diff line number Diff line change 3
3
<PropertyGroup >
4
4
<TargetFrameworks >netstandard2.0;net462</TargetFrameworks >
5
5
<RootNamespace >Kubernetes.Models</RootNamespace >
6
- <Description >.NET API Models for the Kubernetes open source container orchestrator.</Description >
6
+ <Description >API Models for the Kubernetes open source container orchestrator.</Description >
7
+ <PackageTags >$(PackageTags);Models</PackageTags >
7
8
<KubernetesGeneratorOptions >model</KubernetesGeneratorOptions >
8
9
</PropertyGroup >
9
10
Original file line number Diff line number Diff line change 3
3
<PropertyGroup >
4
4
<TargetFrameworks >net462;netstandard2.0;net6.0;net7.0</TargetFrameworks >
5
5
<RootNamespace >Kubernetes.Serialization</RootNamespace >
6
- <Description >.NET Serialization for the Kubernetes open source container orchestrator.</Description >
6
+ <Description >Serialization library for the Kubernetes open source container orchestrator.</Description >
7
7
<KubernetesGeneratorOptions >jsoncontext,yamlcontext</KubernetesGeneratorOptions >
8
8
</PropertyGroup >
9
9
You can’t perform that action at this time.
0 commit comments