fix: update pipeline to handle an extra character 'v' in version tag (#3089)
* fix: update pipeline to handle v in version tag * chore: empty commit for pipeline run
This commit is contained in:
Родитель
571afbcc31
Коммит
eb059cbe0b
|
@ -91,7 +91,7 @@ stages:
|
|||
fi
|
||||
|
||||
echo "install Cilium ${CILIUM_VERSION_TAG}"
|
||||
export DIR=${CILIUM_VERSION_TAG%.*}
|
||||
export DIR=$(echo ${CILIUM_VERSION_TAG#v} | cut -d. -f1,2)
|
||||
echo "installing files from ${DIR}"
|
||||
|
||||
echo "deploy Cilium ConfigMap"
|
||||
|
|
|
@ -47,7 +47,7 @@ stages:
|
|||
pwd
|
||||
|
||||
echo "install Cilium ${CILIUM_VERSION_TAG}"
|
||||
export DIR=${CILIUM_VERSION_TAG%.*}
|
||||
export DIR=$(echo ${CILIUM_VERSION_TAG#v} | cut -d. -f1,2)
|
||||
echo "installing files from ${DIR}"
|
||||
|
||||
echo "deploy Cilium ConfigMap"
|
||||
|
|
|
@ -95,7 +95,7 @@ stages:
|
|||
kubectl get po -owide -A
|
||||
|
||||
echo "install Cilium ${CILIUM_VERSION_TAG}"
|
||||
export DIR=${CILIUM_VERSION_TAG%.*}
|
||||
export DIR=$(echo ${CILIUM_VERSION_TAG#v} | cut -d. -f1,2)
|
||||
echo "installing files from ${DIR}"
|
||||
|
||||
echo "deploy Cilium ConfigMap"
|
||||
|
|
|
@ -77,7 +77,7 @@ stages:
|
|||
scriptType: "bash"
|
||||
addSpnToEnvironment: true
|
||||
inlineScript: |
|
||||
export DIR=${CILIUM_VERSION_TAG%.*}
|
||||
export DIR=$(echo ${CILIUM_VERSION_TAG#v} | cut -d. -f1,2)
|
||||
echo "installing files from ${DIR}"
|
||||
kubectl apply -f test/integration/manifests/cilium/v${DIR}/cilium-config/cilium-config-hubble.yaml
|
||||
kubectl apply -f test/integration/manifests/cilium/v${DIR}/cilium-agent/files
|
||||
|
|
|
@ -34,7 +34,7 @@ steps:
|
|||
kubectl cluster-info
|
||||
kubectl get po -owide -A
|
||||
echo "install Cilium ${CILIUM_DUALSTACK_VERSION}"
|
||||
export DIR=${CILIUM_DUALSTACK_VERSION%.*}
|
||||
export DIR=$(echo ${CILIUM_DUALSTACK_VERSION#v} | cut -d. -f1,2)
|
||||
echo "installing files from ${DIR}"
|
||||
echo "deploy Cilium ConfigMap"
|
||||
kubectl apply -f test/integration/manifests/cilium/v${DIR}/cilium-config/cilium-config-dualstack.yaml
|
||||
|
|
|
@ -35,7 +35,7 @@ steps:
|
|||
kubectl cluster-info
|
||||
kubectl get po -owide -A
|
||||
echo "install Cilium ${CILIUM_DUALSTACK_VERSION}"
|
||||
export DIR=${CILIUM_DUALSTACK_VERSION%.*}
|
||||
export DIR=$(echo ${CILIUM_DUALSTACK_VERSION#v} | cut -d. -f1,2)
|
||||
echo "installing files from ${DIR}"
|
||||
echo "deploy Cilium ConfigMap"
|
||||
kubectl apply -f test/integration/manifests/cilium/v${DIR}/cilium-config/cilium-config-dualstack.yaml
|
||||
|
|
|
@ -38,7 +38,7 @@ steps:
|
|||
make -C ./hack/aks set-kubeconf AZCLI=az CLUSTER=${{ parameters.clusterName }}
|
||||
ls -lah
|
||||
export CILIUM_VERSION_TAG=${CILIUM_HUBBLE_VERSION_TAG}
|
||||
export DIR=${CILIUM_VERSION_TAG%.*}
|
||||
export DIR=$(echo ${CILIUM_VERSION_TAG#v} | cut -d. -f1,2)
|
||||
echo "installing files from ${DIR}"
|
||||
kubectl apply -f test/integration/manifests/cilium/v${DIR}/cilium-config/cilium-config-hubble.yaml
|
||||
kubectl apply -f test/integration/manifests/cilium/v${DIR}/cilium-agent/files
|
||||
|
|
|
@ -32,7 +32,7 @@ steps:
|
|||
make -C ./hack/aks set-kubeconf AZCLI=az CLUSTER=${{ parameters.clusterName }}
|
||||
ls -lah
|
||||
export CILIUM_VERSION_TAG=${CILIUM_HUBBLE_VERSION_TAG}
|
||||
export DIR=${CILIUM_VERSION_TAG%.*}
|
||||
export DIR=$(echo ${CILIUM_VERSION_TAG#v} | cut -d. -f1,2)
|
||||
echo "installing files from ${DIR}"
|
||||
kubectl apply -f test/integration/manifests/cilium/v${DIR}/cilium-config/cilium-config-hubble.yaml
|
||||
kubectl apply -f test/integration/manifests/cilium/v${DIR}/cilium-agent/files
|
||||
|
|
|
@ -54,7 +54,7 @@ steps:
|
|||
kubectl apply -f test/integration/manifests/cilium/cilium${FILE_PATH}-operator
|
||||
else
|
||||
echo "install Cilium ${CILIUM_VERSION_TAG}"
|
||||
export DIR=${CILIUM_VERSION_TAG%.*}
|
||||
export DIR=$(echo ${CILIUM_VERSION_TAG#v} | cut -d. -f1,2)
|
||||
echo "installing files from ${DIR}"
|
||||
echo "deploy Cilium ConfigMap"
|
||||
kubectl apply -f test/integration/manifests/cilium/v${DIR}/cilium-config/cilium-config.yaml
|
||||
|
|
|
@ -48,7 +48,7 @@ steps:
|
|||
kubectl apply -f test/integration/manifests/cilium/cilium${FILE_PATH}-operator
|
||||
else
|
||||
echo "install Cilium ${CILIUM_VERSION_TAG}"
|
||||
export DIR=${CILIUM_VERSION_TAG%.*}
|
||||
export DIR=$(echo ${CILIUM_VERSION_TAG#v} | cut -d. -f1,2)
|
||||
echo "installing files from ${DIR}"
|
||||
echo "deploy Cilium ConfigMap"
|
||||
kubectl apply -f test/integration/manifests/cilium/v${DIR}/cilium-config/cilium-config.yaml
|
||||
|
|
|
@ -40,7 +40,7 @@ steps:
|
|||
kubectl cluster-info
|
||||
kubectl get po -owide -A
|
||||
echo "install Cilium ${CILIUM_VERSION_TAG}"
|
||||
export DIR=${CILIUM_VERSION_TAG%.*}
|
||||
export DIR=$(echo ${CILIUM_VERSION_TAG#v} | cut -d. -f1,2)
|
||||
echo "installing files from ${DIR}"
|
||||
echo "deploy Cilium ConfigMap"
|
||||
kubectl apply -f test/integration/manifests/cilium/v${DIR}/cilium-config/cilium-config.yaml
|
||||
|
|
|
@ -34,7 +34,7 @@ steps:
|
|||
kubectl cluster-info
|
||||
kubectl get po -owide -A
|
||||
echo "install Cilium ${CILIUM_VERSION_TAG}"
|
||||
export DIR=${CILIUM_VERSION_TAG%.*}
|
||||
export DIR=$(echo ${CILIUM_VERSION_TAG#v} | cut -d. -f1,2)
|
||||
echo "installing files from ${DIR}"
|
||||
echo "deploy Cilium ConfigMap"
|
||||
kubectl apply -f test/integration/manifests/cilium/v${DIR}/cilium-config/cilium-config.yaml
|
||||
|
|
Загрузка…
Ссылка в новой задаче