Skip to content

Commit

Permalink
chore(ci): fix cilium ci tests
Browse files Browse the repository at this point in the history
Cilium helm values have changed from string to boolean.

Found in https://github.com/siderolabs/talos/actions/runs/10328653708/job/28595449398

Signed-off-by: Noel Georgi <git@frezbo.dev>
  • Loading branch information
frezbo committed Aug 12, 2024
1 parent beb9602 commit 98d9abd
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions hack/test/e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -243,11 +243,11 @@ function install_and_run_cilium_cni_tests {

case "${WITH_KUBESPAN:-false}" in
true)
CILIUM_NODE_ENCRYPTION=no
CILIUM_NODE_ENCRYPTION=false
CILIUM_TEST_EXTRA_ARGS=("--test="!node-to-node-encryption"")
;;
*)
CILIUM_NODE_ENCRYPTION=yes
CILIUM_NODE_ENCRYPTION=true
CILIUM_TEST_EXTRA_ARGS=()
;;
esac
Expand Down Expand Up @@ -281,11 +281,12 @@ function install_and_run_cilium_cni_tests {

${CILIUM_CLI} status --wait --wait-duration=10m

${KUBECTL} delete ns --ignore-not-found cilium-test
# ref: https://github.com/cilium/cilium-cli/releases/tag/v0.16.14
${KUBECTL} delete ns --ignore-not-found cilium-test-1

${KUBECTL} create ns cilium-test
${KUBECTL} label ns cilium-test pod-security.kubernetes.io/enforce=privileged
${KUBECTL} create ns cilium-test-1
${KUBECTL} label ns cilium-test-1 pod-security.kubernetes.io/enforce=privileged

# --external-target added, as default 'one.one.one.one' is buggy, and CloudFlare status is of course "all healthy"
${CILIUM_CLI} connectivity test --test-namespace cilium-test --external-target google.com "${CILIUM_TEST_EXTRA_ARGS[@]}"; ${KUBECTL} delete ns cilium-test
${CILIUM_CLI} connectivity test --test-namespace cilium-test --external-target google.com --timeout=20m "${CILIUM_TEST_EXTRA_ARGS[@]}"; ${KUBECTL} delete ns cilium-test-1
}

0 comments on commit 98d9abd

Please sign in to comment.