Skip to content

Commit

Permalink
ci: cleanup windows pr gate (#1368)
Browse files Browse the repository at this point in the history
Signed-off-by: Anish Ramasekar <[email protected]>
  • Loading branch information
aramase authored Jun 5, 2024
1 parent 317d712 commit b6fd708
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 19 deletions.
12 changes: 2 additions & 10 deletions .pipelines/nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,7 @@ jobs:
value: "true"
strategy:
matrix:
soak_aks_windows_dockershim:
WINDOWS_CLUSTER: "true"
GINKGO_SKIP: \[LinuxOnly\]
CLUSTER_NAME: "azwi-aks-win-dockershim"
soak_aks_windows_containerd:
soak_aks_windows:
WINDOWS_CLUSTER: "true"
GINKGO_SKIP: \[LinuxOnly\]
CLUSTER_NAME: "azwi-aks-win-containerd"
Expand All @@ -104,12 +100,8 @@ jobs:
- scan_images
- verify_deployment_yaml
matrix:
upgrade_aks_windows_dockershim:
WINDOWS_CLUSTER: "true"
GINKGO_SKIP: \[AKSSoakOnly\]
upgrade_aks_windows_containerd:
upgrade_aks_windows:
WINDOWS_CLUSTER: "true"
WINDOWS_CONTAINERD: "true"
GINKGO_SKIP: \[AKSSoakOnly\]
upgrade_aks_linux:
GINKGO_SKIP: \[AKSSoakOnly\]
Expand Down
7 changes: 1 addition & 6 deletions .pipelines/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,10 @@ jobs:
- group: e2e-environment-variables
strategy:
matrix:
aks_windows_dockershim:
aks_windows:
REGISTRY: upstream.azurecr.io/azure-workload-identity
WINDOWS_CLUSTER: "true"
GINKGO_SKIP: \[AKSSoakOnly\]
aks_windows_containerd:
REGISTRY: upstream.azurecr.io/azure-workload-identity
WINDOWS_CLUSTER: "true"
WINDOWS_CONTAINERD: "true"
GINKGO_SKIP: \[AKSSoakOnly\]
aks_linux:
REGISTRY: upstream.azurecr.io/azure-workload-identity
GINKGO_SKIP: \[AKSSoakOnly\]
Expand Down
3 changes: 0 additions & 3 deletions scripts/create-aks-cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ main() {
--generate-ssh-keys \
--enable-oidc-issuer > /dev/null
if [[ "${WINDOWS_CLUSTER:-}" == "true" ]]; then
if [[ "${WINDOWS_CONTAINERD:-}" == "true" ]]; then
EXTRA_ARGS="--aks-custom-headers WindowsContainerRuntime=containerd"
fi
# shellcheck disable=SC2086
az aks nodepool add --resource-group "${CLUSTER_NAME}" --cluster-name "${CLUSTER_NAME}" --os-type Windows --name npwin --node-count 3 ${EXTRA_ARGS:-} > /dev/null
fi
Expand Down

0 comments on commit b6fd708

Please sign in to comment.