зеркало из
1
0
Форкнуть 0

ci: enable tests with kubernetes v1.29 (#1230)

Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
This commit is contained in:
Anish Ramasekar 2024-02-23 12:32:49 -08:00 коммит произвёл GitHub
Родитель bbe98caf90
Коммит 94283c52ec
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
4 изменённых файлов: 60 добавлений и 20 удалений

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

@ -114,6 +114,8 @@ jobs:
upgrade_aks_linux:
GINKGO_SKIP: \[AKSSoakOnly\]
- job:
# using the tmp pool as a workaround for the kind cluster creation issue.
pool: tmp-staging-pool-amd64-mariner-2
timeoutInMinutes: 60
dependsOn:
- scan_images
@ -135,14 +137,14 @@ jobs:
value: "true"
strategy:
matrix:
kind_v1_24_12:
KIND_NODE_VERSION: v1.24.12
kind_v1_25_8:
KIND_NODE_VERSION: v1.25.8
kind_v1_26_3:
KIND_NODE_VERSION: v1.26.3
kind_v1_27_1:
KIND_NODE_VERSION: v1.27.1
kind_v1_26_14:
KIND_NODE_VERSION: v1.26.14
kind_v1_27_11:
KIND_NODE_VERSION: v1.27.11
kind_v1_28_7:
KIND_NODE_VERSION: v1.28.7
kind_v1_29_2:
KIND_NODE_VERSION: v1.29.2
steps:
- script: make test-e2e
displayName: Webhook E2E test suite

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

@ -92,20 +92,58 @@ jobs:
aks_linux:
REGISTRY: upstream.azurecr.io/azure-workload-identity
GINKGO_SKIP: \[AKSSoakOnly\]
kind_v1_24_12:
KIND_NODE_VERSION: v1.24.12
steps:
- script: echo "##vso[task.setvariable variable=CLUSTER_NAME]azwi-e2e-$(openssl rand -hex 2)"
displayName: Set CLUSTER_NAME
condition: ne(variables.LOCAL_ONLY, 'true')
- script: make test-e2e
displayName: Webhook E2E test suite
env:
APPLICATION_CLIENT_ID: $(APPLICATION_CLIENT_ID)
AZURE_TENANT_ID: $(AZURE_TENANT_ID)
KEYVAULT_URL: $(KEYVAULT_URL)
KEYVAULT_SECRET_NAME: $(KEYVAULT_SECRET_NAME)
SERVICE_ACCOUNT_ISSUER: $(SERVICE_ACCOUNT_ISSUER)
SERVICE_ACCOUNT_KEYVAULT_NAME: $(SERVICE_ACCOUNT_KEYVAULT_NAME)
- script: az group delete --name "${CLUSTER_NAME}" --yes --no-wait || true
displayName: Cleanup
condition: ne(variables.LOCAL_ONLY, 'true')
- template: templates/publish-logs.yaml
- job:
timeoutInMinutes: 60
# using the tmp pool as a workaround for the kind cluster creation issue.
pool: tmp-staging-pool-amd64-mariner-2
dependsOn:
- lint
- scan_images
- shellcheck
workspace:
clean: all
variables:
# contains the following environment variables:
# - APPLICATION_CLIENT_ID
# - AZURE_TENANT_ID
# - KEYVAULT_URL
# - KEYVAULT_SECRET_NAME
# - SERVICE_ACCOUNT_ISSUER
# - SERVICE_ACCOUNT_KEYVAULT_NAME
- group: e2e-environment-variables
strategy:
matrix:
kind_v1_26_14:
KIND_NODE_VERSION: v1.26.14
LOCAL_ONLY: "true"
TEST_HELM_CHART: "true"
kind_v1_25_8:
KIND_NODE_VERSION: v1.25.8
kind_v1_27_11:
KIND_NODE_VERSION: v1.27.11
LOCAL_ONLY: "true"
TEST_HELM_CHART: "true"
kind_v1_26_3:
KIND_NODE_VERSION: v1.26.3
kind_v1_28_7:
KIND_NODE_VERSION: v1.28.7
LOCAL_ONLY: "true"
TEST_HELM_CHART: "true"
kind_v1_27_1:
KIND_NODE_VERSION: v1.27.1
kind_v1_29_2:
KIND_NODE_VERSION: v1.29.2
LOCAL_ONLY: "true"
TEST_HELM_CHART: "true"
steps:

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

@ -43,11 +43,11 @@ GINKGO_VER := v2.1.6
GINKGO_BIN := ginkgo
GINKGO := $(TOOLS_BIN_DIR)/$(GINKGO_BIN)-$(GINKGO_VER)
KIND_VER := v0.18.0
KIND_VER := v0.21.0
KIND_BIN := kind
KIND := $(TOOLS_BIN_DIR)/$(KIND_BIN)-$(KIND_VER)
KUBECTL_VER := v1.22.4
KUBECTL_VER := v1.29.0
KUBECTL_BIN := kubectl
KUBECTL := $(TOOLS_BIN_DIR)/$(KUBECTL_BIN)-$(KUBECTL_VER)

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

@ -7,10 +7,10 @@ Azure AD Workload Identity is the next iteration of [Azure AD Pod Identity][1] t
| Kubernetes Version | Supported |
| ------------------ | --------- |
| 1.29 | ✅ |
| 1.28 | ✅ |
| 1.27 | ✅ |
| 1.26 | ✅ |
| 1.25 | ✅ |
| 1.24 | ✅ |
## Installation