fix: guard D601 k3s control plane
This commit is contained in:
@@ -150,6 +150,8 @@ trap 'code=$?; if [ "$code" -ne 0 ] && [ ! -f "$result_json" ]; then write_resul
|
||||
|
||||
export KUBECONFIG=/etc/rancher/k3s/k3s.yaml
|
||||
kubectl get nodes >/dev/null
|
||||
test "$(kubectl get nodes -o jsonpath='{.items[*].metadata.name}')" = "d601"
|
||||
! kubectl config current-context | grep -Eq 'docker-desktop|desktop-control-plane'
|
||||
|
||||
log_json runner_started run_id "$run_id" manifest_commit "$manifest_commit"
|
||||
kubectl get pipeline/unidesk-dev-namespace-e2e -n unidesk-ci >/dev/null
|
||||
|
||||
Reference in New Issue
Block a user