Commit Graph

27 Commits

Author SHA1 Message Date
Boshi Lian
f7e7613d09 generate api v1.32 (#1603)
* generate based on v1.32

* bump ver

* Delete swagger.json.unprocessed

* Update target frameworks and SDK versions in project files

* Remove extra API endpoint from swagger.json

* Update .NET SDK version to 9.0.x and adjust package references

* happy build

* Enhance certificate handling for .NET 9.0 compatibility in CertUtils and KubernetesClientConfiguration

* Add mapping for V1beta1ResourceClaim to V1ResourceClaim in AutoMapper configurations

* Refactor certificate loading to improve compatibility with .NET 9.0

* Update package versions in Directory.Packages.props for improved compatibility and features

* Update Fractions package version to 7.3.0 for improved compatibility
2025-01-07 16:12:29 +01:00
dependabot[bot]
61e6b13fd7 Bump codecov/codecov-action from 4 to 5 (#1595)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4 to 5.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-15 16:46:53 +00:00
Boshi Lian
07a59e7e59 Update SDK version to 14.0 for Kubernetes 1.30 (#1551)
* Update KUBERNETES_BRANCH to v1.30.0 in csharp.settings

* Update version.json to 14.0

* Update SDK version to 14.0 for Kubernetes 1.30

* fix csharp naming conflict

* drop support of net7

* remove unused comment
2024-04-28 17:00:18 -07:00
dependabot[bot]
a97bdd9186 Bump microsoft/setup-msbuild from 1.3 to 2 (#1547)
Bumps [microsoft/setup-msbuild](https://github.com/microsoft/setup-msbuild) from 1.3 to 2.
- [Release notes](https://github.com/microsoft/setup-msbuild/releases)
- [Changelog](https://github.com/microsoft/setup-msbuild/blob/main/building-release.md)
- [Commits](https://github.com/microsoft/setup-msbuild/compare/v1.3...v2)

---
updated-dependencies:
- dependency-name: microsoft/setup-msbuild
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-13 01:18:32 -07:00
dependabot[bot]
37d8e3d81a Bump codecov/codecov-action from 3 to 4 (#1512)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-01 09:24:57 -08:00
Boshi Lian
00c4c6f4ab add KubernetesClient.Aot to support Aot (#1498)
* init aot

* fix ca2007

* xUnit1031

* fix ca2007

* fix ca2007

* remove deprecated ctor

* fix xUnit1031

* fix missing doc

* fix missing dispose

* wait for warnings fix

* fix space

* move aot code to dedicated proj

* Remove commented out code

* eliminate know warnings

* add e2e test for aot

* rever on field convert annotation

* add e2e aot gh

* Add KubernetesClient.Aot project reference

* move CA1812 rule violation to file
2024-01-29 13:58:22 -08:00
dependabot[bot]
3aa90bd3a5 Bump actions/setup-dotnet from 3 to 4 (#1471)
Bumps [actions/setup-dotnet](https://github.com/actions/setup-dotnet) from 3 to 4.
- [Release notes](https://github.com/actions/setup-dotnet/releases)
- [Commits](https://github.com/actions/setup-dotnet/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-dotnet
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-06 10:36:49 +01:00
Manuel Menegazzo
15ad5bdfc4 Move to net8.0 (#1463)
* Added net8.0 to the dotnet-version array used by actions

* Changed framework version in Directory.Build.props

* Removed unsed nuget

* Update codeql-analysis.yml

* Added net8.0 target framework

* Updated code analyzer version to match net8.0

* Added net8.0 to tests

* Updated sdk version

* Updated version.json

* Fixed build for non windows machines

* Updated references in Directory.Build.targets

* Added conditional exception handling to WatchServerDisconnect test case

* Added missing project to solution
2023-12-01 11:49:56 +01:00
Boshi Lian
013fc6e06f embed KubernetesClient.Models and KubernetesClient.Basic into client sdk (#1407)
* cleanup using

* cleanup classic

* clean up nuget

* bump ver

* fix pipeline

* remove commit by accident
2023-09-26 11:03:12 -07:00
dependabot[bot]
ddb6c260d2 Bump actions/checkout from 3 to 4 (#1391)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-05 04:41:50 -07:00
stan-sz
84da0571a3 Use vstest Cobertura support (#1177)
* Use vstest Cobertura support

Thanks to https://github.com/microsoft/vstest/issues/2874 Cobertura reports can be obtained faster without coverlet.

* Update Kubectl.Tests.csproj

* Update KubernetesClient.Classic.Tests.csproj

* Update KubernetesClient.Tests.csproj

* Update buildtest.yaml

* Update AbstractKubernetes.cs.template

* Update IBasicKubernetes.cs.template

* Update IOperations.cs.template

* Update Model.cs.template

* Add filter

* revert
2023-02-11 05:31:30 -08:00
Boshi Lian
4e74fd20b7 generate v1.26 (#1122)
* update swagger

* remove unused models in converter

* remove netcore3.1 from testr

* bump ver

* fix convert

* remove some unused autorest property

* move some clz from autorest to client

* fix import

* no longer expose SendRequestRaw

* make file utils inner

* fix build

* c# 11
2022-12-15 18:21:36 -08:00
dependabot[bot]
b9042e59bd Bump microsoft/setup-msbuild from 1.2 to 1.3 (#1141)
Bumps [microsoft/setup-msbuild](https://github.com/microsoft/setup-msbuild) from 1.2 to 1.3.
- [Release notes](https://github.com/microsoft/setup-msbuild/releases)
- [Changelog](https://github.com/microsoft/setup-msbuild/blob/main/building-release.md)
- [Commits](https://github.com/microsoft/setup-msbuild/compare/v1.2...v1.3)

---
updated-dependencies:
- dependency-name: microsoft/setup-msbuild
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-15 05:43:37 -08:00
dependabot[bot]
4f801eaae1 Bump microsoft/setup-msbuild from 1.1 to 1.2 (#1130)
Bumps [microsoft/setup-msbuild](https://github.com/microsoft/setup-msbuild) from 1.1 to 1.2.
- [Release notes](https://github.com/microsoft/setup-msbuild/releases)
- [Changelog](https://github.com/microsoft/setup-msbuild/blob/master/building-release.md)
- [Commits](https://github.com/microsoft/setup-msbuild/compare/v1.1...v1.2)

---
updated-dependencies:
- dependency-name: microsoft/setup-msbuild
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-13 04:05:35 -08:00
Boshi Lian
763f1f0778 add net7 remove net5 (#1085)
* add net7

* remove net5

* fix build

* fix versions

* revert to 10.0 due to ci

* fix automapper

* update ver matrix

* fix warning

* fix net7 test err

* more target to basic and model pkg
2022-12-05 08:59:04 -08:00
dependabot[bot]
45830f2597 Bump actions/setup-dotnet from 2 to 3 (#1044)
Bumps [actions/setup-dotnet](https://github.com/actions/setup-dotnet) from 2 to 3.
- [Release notes](https://github.com/actions/setup-dotnet/releases)
- [Commits](https://github.com/actions/setup-dotnet/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-dotnet
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-04 13:31:55 -07:00
Boshi Lian
d9c5c73663 simplify setup dotnet (#1043) 2022-10-03 11:16:15 -07:00
Manuel Menegazzo
be5c553644 Added msbuild build of project in buildtest action (#1022)
* Update buildtest.yaml

* Update buildtest.yaml

* Update buildtest.yaml

* Update buildtest.yaml

* Update buildtest.yaml

* Update buildtest.yaml

* Test broken version

* Update buildtest.yaml

* Restored working version

* Test broken version

* Restored working version
2022-09-20 00:43:21 -07:00
dependabot[bot]
ef8082490b Bump actions/setup-dotnet from 1 to 2 (#908)
Bumps [actions/setup-dotnet](https://github.com/actions/setup-dotnet) from 1 to 2.
- [Release notes](https://github.com/actions/setup-dotnet/releases)
- [Commits](https://github.com/actions/setup-dotnet/compare/v1...v2)

---
updated-dependencies:
- dependency-name: actions/setup-dotnet
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-05 09:02:47 -07:00
dependabot[bot]
a4521231e6 Bump actions/checkout from 2 to 3 (#907)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-05 09:00:47 -07:00
Boshi Lian
8a39035055 fix flaky logger (#782)
* fix flaky logger

* update env related dep

* build info
2022-02-20 14:34:10 -08:00
Boshi Lian
250a45741e move all generated code to c# source generator (#756)
* remove the dependency of unprocessed swagger file

* all code generator

* good bye generated code

* remove generator cmd from sln

* eliminate generated folder

* fix multi target build

* disable dotnet fmt due to cannot load lib generator

* fix race

* fix race for multi target
2021-12-22 17:16:44 -08:00
Boshi Lian
e45fa773ba add net6 targets (#745)
* add net6 targets

* move to net6 builtin format

* e2e target

* make codeql happy
2021-11-15 19:39:25 -08:00
Boshi Lian
225bb1f59b Gen v1.21.0 (#603)
* gen v1.21.0

* update version converter

* bump version to 5

* remove support of netstandard2.0

* update test dependency
2021-04-09 13:37:17 -07:00
Boshi Lian
0ccf01b7bb remove always false (#561)
* remove always false

* remove unsupport format arg
2021-02-17 08:25:09 -08:00
Boshi Lian
f59c13da0e Allow multi patch http content type header (#521)
* header from obj

* update git version mod

* remove json patch test

* test for json patch
2020-11-17 10:38:05 -08:00
Boshi Lian
af7be8603a E2E test with minikube on gh action (#513)
* add minikube as e2e test server

* fix format

* update env

* force no skip

* fix then

* finish skip test

* add skip blocker

* fix path

* output skipped case

* enable test env var

* final merge

* add missing file
2020-11-01 12:30:51 -08:00