Skip to content

Commit 1a3a6d7

Browse files
committed
Merge branch 'master' into huntergregory/npm-legacy
Signed-off-by: Hunter Gregory <[email protected]>
2 parents bebe123 + b7190c8 commit 1a3a6d7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+737
-200
lines changed

.pipelines/cni/cilium/cilium-overlay-load-test-template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ stages:
9191
fi
9292
9393
echo "install Cilium ${CILIUM_VERSION_TAG}"
94-
export DIR=${CILIUM_VERSION_TAG%.*}
94+
export DIR=$(echo ${CILIUM_VERSION_TAG#v} | cut -d. -f1,2)
9595
echo "installing files from ${DIR}"
9696
9797
echo "deploy Cilium ConfigMap"

.pipelines/cni/cilium/cilium-scale-test.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ stages:
4747
pwd
4848
4949
echo "install Cilium ${CILIUM_VERSION_TAG}"
50-
export DIR=${CILIUM_VERSION_TAG%.*}
50+
export DIR=$(echo ${CILIUM_VERSION_TAG#v} | cut -d. -f1,2)
5151
echo "installing files from ${DIR}"
5252
5353
echo "deploy Cilium ConfigMap"
@@ -117,7 +117,7 @@ stages:
117117
new_count=${NODE_COUNT_UP} # Do not exceed NODE_COUNT_UP
118118
fi
119119
echo "Scaling up nodes to $new_count"
120-
az aks nodepool scale --name nodepool1 --cluster-name ${CLUSTER} --resource-group ${RESOURCE_GROUP} --node-count $new_count
120+
make -C ./hack/aks scale-nodes AZCLI=az GROUP=${RESOURCE_GROUP} CLUSTER=${CLUSTER} NODEPOOL=nodepool1 NODE_COUNT=$new_count
121121
if [ $new_count -eq ${NODE_COUNT_UP} ]; then
122122
echo "Node count reached ${NODE_COUNT_UP}"
123123
break
@@ -442,6 +442,7 @@ stages:
442442
- job: scale_down
443443
pool:
444444
name: "$(BUILD_POOL_NAME_DEFAULT)"
445+
timeoutInMinutes: 120
445446
steps:
446447
- task: AzureCLI@2
447448
inputs:
@@ -453,8 +454,7 @@ stages:
453454
set -ex
454455
az aks get-credentials --resource-group ${RESOURCE_GROUP} --name ${CLUSTER}
455456
echo "Scaling to 5 nodes"
456-
vmss_name=$(az vmss list -g MC_${RESOURCE_GROUP}_${CLUSTER}_$(LOCATION) --query "[].name" -o tsv)
457-
make -C ./hack/aks scale-vmss AZCLI=az GROUP=${RESOURCE_GROUP} CLUSTER=${CLUSTER} REGION=$(LOCATION) VMSS_NAME=$vmss_name NODE_COUNT=5
457+
make -C ./hack/aks scale-nodes AZCLI=az GROUP=${RESOURCE_GROUP} CLUSTER=${CLUSTER} NODEPOOL=nodepool1 NODE_COUNT=5
458458
kubectl get node
459459
name: "ScaleDown"
460460
displayName: "Scale down to 5 Nodes"

.pipelines/cni/lsg/lsg-cni-intergration-template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ stages:
9595
kubectl get po -owide -A
9696
9797
echo "install Cilium ${CILIUM_VERSION_TAG}"
98-
export DIR=${CILIUM_VERSION_TAG%.*}
98+
export DIR=$(echo ${CILIUM_VERSION_TAG#v} | cut -d. -f1,2)
9999
echo "installing files from ${DIR}"
100100
101101
echo "deploy Cilium ConfigMap"

.pipelines/networkobservability/pipeline.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ stages:
7777
scriptType: "bash"
7878
addSpnToEnvironment: true
7979
inlineScript: |
80-
export DIR=${CILIUM_VERSION_TAG%.*}
80+
export DIR=$(echo ${CILIUM_VERSION_TAG#v} | cut -d. -f1,2)
8181
echo "installing files from ${DIR}"
8282
kubectl apply -f test/integration/manifests/cilium/v${DIR}/cilium-config/cilium-config-hubble.yaml
8383
kubectl apply -f test/integration/manifests/cilium/v${DIR}/cilium-agent/files

.pipelines/pipeline.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,17 @@ stages:
261261
k8sVersion: ""
262262
dependsOn: "containerize"
263263

264+
# Cilium Nodesubnet E2E tests
265+
- template: singletenancy/cilium-nodesubnet/cilium-nodesubnet-e2e-job-template.yaml
266+
parameters:
267+
name: "cilium_nodesubnet_e2e"
268+
displayName: Cilium NodeSubnet
269+
clusterType: nodesubnet-byocni-nokubeproxy-up
270+
clusterName: "cilndsubnete2e"
271+
vmSize: Standard_B2s
272+
k8sVersion: ""
273+
dependsOn: "containerize"
274+
264275
# Cilium Overlay E2E tests
265276
- template: singletenancy/cilium-overlay/cilium-overlay-e2e-job-template.yaml
266277
parameters:
@@ -405,6 +416,7 @@ stages:
405416
- azure_overlay_stateless_e2e
406417
- aks_swift_e2e
407418
- cilium_e2e
419+
- cilium_nodesubnet_e2e
408420
- cilium_overlay_e2e
409421
- cilium_h_overlay_e2e
410422
- aks_ubuntu_22_linux_e2e
@@ -425,6 +437,10 @@ stages:
425437
cilium_e2e:
426438
name: cilium_e2e
427439
clusterName: "ciliume2e"
440+
region: $(REGION_AKS_CLUSTER_TEST)
441+
cilium_nodesubnet_e2e:
442+
name: cilium_nodesubnet_e2e
443+
clusterName: "cilndsubnete2e"
428444
region: $(REGION_AKS_CLUSTER_TEST)
429445
cilium_overlay_e2e:
430446
name: cilium_overlay_e2e

.pipelines/singletenancy/cilium-dualstack-overlay/cilium-dualstackoverlay-e2e-step-template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ steps:
3434
kubectl cluster-info
3535
kubectl get po -owide -A
3636
echo "install Cilium ${CILIUM_DUALSTACK_VERSION}"
37-
export DIR=${CILIUM_DUALSTACK_VERSION%.*}
37+
export DIR=$(echo ${CILIUM_DUALSTACK_VERSION#v} | cut -d. -f1,2)
3838
echo "installing files from ${DIR}"
3939
echo "deploy Cilium ConfigMap"
4040
kubectl apply -f test/integration/manifests/cilium/v${DIR}/cilium-config/cilium-config-dualstack.yaml

.pipelines/singletenancy/cilium-dualstack-overlay/cilium-dualstackoverlay-e2e.steps.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ steps:
3535
kubectl cluster-info
3636
kubectl get po -owide -A
3737
echo "install Cilium ${CILIUM_DUALSTACK_VERSION}"
38-
export DIR=${CILIUM_DUALSTACK_VERSION%.*}
38+
export DIR=$(echo ${CILIUM_DUALSTACK_VERSION#v} | cut -d. -f1,2)
3939
echo "installing files from ${DIR}"
4040
echo "deploy Cilium ConfigMap"
4141
kubectl apply -f test/integration/manifests/cilium/v${DIR}/cilium-config/cilium-config-dualstack.yaml

.pipelines/singletenancy/cilium-nodesubnet/cilium-nodesubnet-e2e-job-template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ stages:
7171
os: ${{ parameters.os }}
7272
datapath: true
7373
dns: true
74+
cni: cilium
7475
portforward: true
7576
service: true
76-
hostport: true
7777
dependsOn: ${{ parameters.name }}
7878

7979
- job: failedE2ELogs

.pipelines/singletenancy/cilium-nodesubnet/cilium-nodesubnet-e2e-step-template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ steps:
5858
kubectl cluster-info
5959
kubectl get po -owide -A
6060
echo "install Cilium ${CILIUM_VERSION_TAG}"
61-
export DIR=${CILIUM_VERSION_TAG%.*}
61+
export DIR=$(echo ${CILIUM_VERSION_TAG#v} | cut -d. -f1,2)
6262
echo "installing files from ${DIR}"
6363
echo "deploy Cilium ConfigMap"
6464
kubectl apply -f test/integration/manifests/cilium/v${DIR}/cilium-config/cilium-config.yaml

.pipelines/singletenancy/cilium-overlay-withhubble/cilium-overlay-e2e-step-template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ steps:
3838
make -C ./hack/aks set-kubeconf AZCLI=az CLUSTER=${{ parameters.clusterName }}
3939
ls -lah
4040
export CILIUM_VERSION_TAG=${CILIUM_HUBBLE_VERSION_TAG}
41-
export DIR=${CILIUM_VERSION_TAG%.*}
41+
export DIR=$(echo ${CILIUM_VERSION_TAG#v} | cut -d. -f1,2)
4242
echo "installing files from ${DIR}"
4343
kubectl apply -f test/integration/manifests/cilium/v${DIR}/cilium-config/cilium-config-hubble.yaml
4444
kubectl apply -f test/integration/manifests/cilium/v${DIR}/cilium-agent/files

0 commit comments

Comments
 (0)