Skip to content
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
36 changes: 34 additions & 2 deletions .pipelines/cni/cilium/cilium-overlay-load-test-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,24 @@ stages:
envsubst '${CILIUM_VERSION_TAG},${CILIUM_IMAGE_REGISTRY}' < test/integration/manifests/cilium/v${DIR}/cilium-operator/templates/deployment.yaml | kubectl apply -f -
kubectl get po -owide -A

if [ -z "$TEST_AZURE_IPAM_VERSION" ]
then
echo "TEST_AZURE_IPAM_VERSION is not set, using default value"
IPAM=$(make azure-ipam-version)
else
IPAM=$(TEST_AZURE_IPAM_VERSION)
echo "TEST_AZURE_IPAM_VERSION is set to $IPAM"
fi
if [ -z "$TEST_CNS_VERSION" ]
then
echo "TEST_CNS_VERSION is not set, using default value"
CNS=$(make cns-version)
else
CNS=$(TEST_CNS_VERSION)
echo "TEST_CNS_VERSION is set to $CNS"
fi
echo "Deploy Azure-CNS"
sudo -E env "PATH=$PATH" make test-integration AZURE_IPAM_VERSION=$(make azure-ipam-version) CNS_VERSION=$(make cns-version) INSTALL_CNS=true INSTALL_OVERLAY=true CNS_IMAGE_REPO=$(CNS_IMAGE_REPO)
sudo -E env "PATH=$PATH" make test-integration AZURE_IPAM_VERSION=${IPAM} CNS_VERSION=${CNS} INSTALL_CNS=true INSTALL_OVERLAY=true CNS_IMAGE_REPO=$(CNS_IMAGE_REPO) IPAM_IMAGE_REPO=$(IPAM_IMAGE_REPO)
kubectl get po -owide -A
kubectl get crd -A
- ${{if eq(parameters.hubbleEnabled, true)}}:
Expand Down Expand Up @@ -152,8 +168,24 @@ stages:
envsubst '${CILIUM_IMAGE_REGISTRY},${CILIUM_VERSION_TAG}' < test/integration/manifests/cilium/v${DIR}/cilium-operator/templates/deployment.yaml | kubectl apply -f -
kubectl get po -owide -A

if [ -z "$TEST_AZURE_IPAM_VERSION" ]
then
echo "TEST_AZURE_IPAM_VERSION is not set, using default value"
IPAM=$(make azure-ipam-version)
else
IPAM=$(TEST_AZURE_IPAM_VERSION)
echo "TEST_AZURE_IPAM_VERSION is set to $IPAM"
fi
if [ -z "$TEST_CNS_VERSION" ]
then
echo "TEST_CNS_VERSION is not set, using default value"
CNS=$(make cns-version)
else
CNS=$(TEST_CNS_VERSION)
echo "TEST_CNS_VERSION is set to $CNS"
fi
echo "Deploy Azure-CNS"
sudo -E env "PATH=$PATH" make test-integration AZURE_IPAM_VERSION=$(make azure-ipam-version) CNS_VERSION=$(make cns-version) INSTALL_CNS=true INSTALL_OVERLAY=true CNS_IMAGE_REPO=$(CNS_IMAGE_REPO)
sudo -E env "PATH=$PATH" make test-integration AZURE_IPAM_VERSION=${IPAM} CNS_VERSION=${CNS} INSTALL_CNS=true INSTALL_OVERLAY=true CNS_IMAGE_REPO=$(CNS_IMAGE_REPO) IPAM_IMAGE_REPO=$(IPAM_IMAGE_REPO)
kubectl get po -owide -A
kubectl get crd -A

Expand Down
Loading