Skip to content

Commit

Permalink
ci: add Cilium OS/Proc coverage to CNI Load Test pipeline (#2296)
Browse files Browse the repository at this point in the history
ci: add cilium OS/Proc testing
  • Loading branch information
jpayne3506 authored Nov 1, 2023
1 parent ada7560 commit 5931f8f
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .pipelines/cni/cilium/cilium-overlay-load-test-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ parameters:
vmSize: "Standard_DS4_v2"
testDropgz: true
os: "linux"
arch: ""
osSKU: Ubuntu

# Condition confirms that:
# Previous job has reported Succeeded. Previous job is currently setup which controls variable assignment and we are dependent on its success.
Expand Down Expand Up @@ -79,9 +81,9 @@ stages:
echo "Deploy Azure-CNS"
if [ -z $(DROP_GZ_VERSION) ]; then
sudo -E env "PATH=$PATH" make test-integration CNS_VERSION=$(cnsVersion) CNI_DROPGZ_VERSION=$(dropgzVersion) INSTALL_CNS=true INSTALL_AZURE_CNI_OVERLAY=true TEST_DROPGZ=${{ parameters.testDropgz }} CNS_IMAGE_REPO=$(CNS_IMAGE_REPO)
sudo -E env "PATH=$PATH" make test-integration CNS_VERSION=$(cnsVersion) CNI_DROPGZ_VERSION=$(dropgzVersion) INSTALL_CNS=true INSTALL_OVERLAY=true TEST_DROPGZ=${{ parameters.testDropgz }} CNS_IMAGE_REPO=$(CNS_IMAGE_REPO)
else
sudo -E env "PATH=$PATH" make test-integration CNS_VERSION=$(cnsVersion) CNI_DROPGZ_VERSION=$(DROP_GZ_VERSION) INSTALL_CNS=true INSTALL_AZURE_CNI_OVERLAY=true TEST_DROPGZ=${{ parameters.testDropgz }} CNS_IMAGE_REPO=$(CNS_IMAGE_REPO)
sudo -E env "PATH=$PATH" make test-integration CNS_VERSION=$(cnsVersion) CNI_DROPGZ_VERSION=$(DROP_GZ_VERSION) INSTALL_CNS=true INSTALL_OVERLAY=true TEST_DROPGZ=${{ parameters.testDropgz }} CNS_IMAGE_REPO=$(CNS_IMAGE_REPO)
fi
kubectl get po -owide -A
- job: deploy_pods
Expand Down
40 changes: 40 additions & 0 deletions .pipelines/cni/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,34 @@ stages:
nodeCount: ${NODE_COUNT_CILIUM}
vmSize: ${VM_SIZE_CILIUM}

- template: cilium/cilium-overlay-load-test-template.yaml
parameters:
name: cilium_overlay_mariner
clusterType: overlay-byocni-nokubeproxy-up
clusterName: "cil-over-mar"
nodeCount: ${NODE_COUNT_CILIUM}
vmSize: ${VM_SIZE_CILIUM}
arch: amd64
osSKU: AzureLinux

- template: cilium/cilium-overlay-load-test-template.yaml
parameters:
name: cilium_overlay_arm
clusterType: overlay-byocni-nokubeproxy-up
clusterName: "cil-over-arm"
nodeCount: ${NODE_COUNT_CILIUM}
vmSize: Standard_D8ps_v5
arch: arm64

- template: cilium/cilium-overlay-load-test-template.yaml
parameters:
name: cilium_overlay_rdma
clusterType: overlay-byocni-nokubeproxy-up
clusterName: "cil-over-rdma"
nodeCount: 2
vmSize: Standard_NC24r
arch: amd64

- template: singletenancy/cniv1-template.yaml
parameters:
name: win22_cniv1
Expand Down Expand Up @@ -221,6 +249,9 @@ stages:
condition: always()
dependsOn:
- cilium_overlay
- cilium_overlay_mariner
- cilium_overlay_arm
- cilium_overlay_rdma
- win22_cniv1_HNS
- linux_cniv1
- linux_podsubnet
Expand All @@ -241,6 +272,15 @@ stages:
cilium_overlay:
name: cilium_overlay
clusterName: "cilium-over"
cilium_overlay_mariner:
name: cilium_overlay_mariner
clusterName: "cil-over-mar"
cilium_overlay_arm:
name: cilium_overlay_arm
clusterName: "cil-over-arm"
cilium_overlay_rdma:
name: cilium_overlay_rdma
clusterName: "cil-over-rdma"
win22-cniv1:
name: win22-cniv1
clusterName: "win22-cniv1"
Expand Down

0 comments on commit 5931f8f

Please sign in to comment.