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
This commit is contained in:
Boshi Lian
2024-01-29 13:58:22 -08:00
committed by GitHub
parent c7060d4301
commit 00c4c6f4ab
27 changed files with 2030 additions and 3 deletions

View File

@@ -80,7 +80,16 @@ jobs:
cat skip.log
echo "CASES MUST NOT BE SKIPPED"
exit 1
fi
fi
- name: AOT Test
run: |
true > skip.log
env K8S_E2E_MINIKUBE=1 dotnet test tests/E2E.Aot.Tests --logger "SkipTestLogger;file=$PWD/skip.log"
if [ -s skip.log ]; then
cat skip.log
echo "CASES MUST NOT BE SKIPPED"
exit 1
fi
on:
pull_request: