Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Azure cluster-autoscaler e2e #32832

Merged
merged 1 commit into from
Jun 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,25 +18,33 @@ presubmits:
timeout: 5h
path_alias: k8s.io/autoscaler
extra_refs:
- org: jackfrancis # change to kubernetes-sigs when fully baked
- org: nojnhuh # change to kubernetes-sigs when fully baked
repo: cluster-api-provider-azure
base_ref: cluster-autoscaler-e2e # change to latest release branch when fully baked
base_ref: cas # change to latest release branch when fully baked
Comment on lines +21 to +23
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should be able to update this to the upstream main branch of CAPZ once kubernetes-sigs/cluster-api-provider-azure#4946 is merged.

path_alias: sigs.k8s.io/cluster-api-provider-azure
workdir: true
spec:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240611-597c402033-1.27
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240611-597c402033-1.29
command:
- runner.sh
- ./scripts/ci-entrypoint.sh
args:
- ./scripts/ci-e2e.sh
- bash
- -c
- >-
export REGISTRY=capzci.azurecr.io
hack/ensure-acr-login.sh
cd ${GOPATH}/src/k8s.io/autoscaler/cluster-autoscaler/cloudprovider/azure/test
make test-e2e TAG=$(git rev-parse --short HEAD)
env:
- name: GINKGO_FOCUS
value: \[SIG AUTOSCALING\]
- name: GINKGO_SKIP
value: ""
- name: TEST_CLUSTER_AUTOSCALER
value: "true"
# CAPZ config
- name: ADDITIONAL_ASO_CRDS
value: authorization.azure.com/*;managedidentity.azure.com/* # needed for this CLUSTER_TEMPLATE
- name: KUBERNETES_VERSION
value: v1.29.4
- name: CLUSTER_TEMPLATE
value: ${GOPATH}/src/k8s.io/autoscaler/cluster-autoscaler/cloudprovider/azure/test/templates/cluster-template-prow-aks-aso-cluster-autoscaler.yaml
# docker-in-docker needs privileged mode
securityContext:
privileged: true