Update the aks-e version for pipeline validation. (#1653)

* Separate the npm test and cni test, comment out npm test first. It's a
testing PR.

* Revert unnecessary change.

* update aks-e version from v1.0.1 to v1.0.2

* Update cluster definition from version 1.22.7 to 1.22.15

* Update resource group name.

* Comment out unnecessary resource group deletion since the
test-kubernetes already did this work.

* Update aks-engine version for acn validation. New version is using the
latest aks-engine release and remove duplicated and unnecessary npm
tests. Remove unnecessary resource clean up step in pipeline since it's
already included in the aks-e e2e test. Also update the kubnernetes version accordingly.
This commit is contained in:
shchen 2022-10-20 09:29:31 -07:00 коммит произвёл GitHub
Родитель 9cc0b0ba3e
Коммит 8970ab8594
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
5 изменённых файлов: 9 добавлений и 19 удалений

Просмотреть файл

@ -31,22 +31,23 @@ steps:
echo Using AKS-Engine version $aksEVersion
#download source
wget https://github.com/jaer-tsun/aks-engine/archive/v1.0.5.tar.gz
wget https://github.com/csfmomo/aks-engine/archive/v1.0.6.tar.gz
# extract source
#tar -zxf $aksEVersion.tar.gz
tar -zxf v1.0.5.tar.gz
tar -zxf v1.0.6.tar.gz
# move source to current directory
mv aks-engine-*/* .
# download binary
wget https://github.com/jaer-tsun/aks-engine/releases/download/v1.0.5/aks-engine-v1.0.5-linux-amd64.tar.gz
wget https://github.com/csfmomo/aks-engine/releases/download/v1.0.6/aks-engine-v1.0.6-linux-amd64.tar.gz
rm -rf ./bin
mkdir ./bin
# extract binary
tar -zxvf aks-engine-v1.0.5-linux-amd64.tar.gz -C bin
tar -zxvf aks-engine-v1.0.6-linux-amd64.tar.gz -C bin
mv ./bin/aks-engine-*/* ./bin/
ls -l ./bin
./bin/aks-engine version
@ -132,14 +133,3 @@ steps:
artifactName: ${{ parameters.name }}
pathtoPublish: "$(Build.ArtifactStagingDirectory)/${{ parameters.name }}"
condition: always()
- task: AzureCLI@2
displayName: "Delete Test Cluster Resource Group"
condition: always()
inputs:
azureSubscription: $(AKS_ENGINE_SERVICE_CONNECTION)
scriptType: 'bash'
scriptLocation: 'inlineScript'
inlineScript: |
echo "Deleting: $(RESOURCE_GROUP)"
az group delete -n $(RESOURCE_GROUP) --yes

Просмотреть файл

@ -4,7 +4,7 @@
"orchestratorProfile": {
"orchestratorType": "Kubernetes",
"orchestratorRelease": "1.22",
"orchestratorVersion": "1.22.7",
"orchestratorVersion": "1.22.15",
"kubernetesConfig": {
"networkPlugin": "azure",
"networkPolicy": "azure",

Просмотреть файл

@ -4,7 +4,7 @@
"orchestratorProfile": {
"orchestratorType": "Kubernetes",
"orchestratorRelease": "1.22",
"orchestratorVersion": "1.22.7",
"orchestratorVersion": "1.22.15",
"kubernetesConfig": {
"networkPlugin": "azure",
"networkPolicy": "azure",

Просмотреть файл

@ -4,7 +4,7 @@
"orchestratorProfile": {
"orchestratorType": "Kubernetes",
"orchestratorRelease": "1.22",
"orchestratorVersion": "1.22.7",
"orchestratorVersion": "1.22.15",
"kubernetesConfig": {
"networkPlugin": "azure",
"networkPolicy": "azure",

Просмотреть файл

@ -4,7 +4,7 @@
"orchestratorProfile": {
"orchestratorType": "Kubernetes",
"orchestratorRelease": "1.22",
"orchestratorVersion": "1.22.7",
"orchestratorVersion": "1.22.15",
"kubernetesConfig": {
"networkPlugin": "azure",
"networkPolicy": "azure",