Skip to content

Commit

Permalink
FIXME: Debugging missing garm target
Browse files Browse the repository at this point in the history
Signed-off-by: Lukáš Doktor <[email protected]>
  • Loading branch information
ldoktor committed Nov 30, 2023
1 parent 3a9c865 commit 90e724f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/az-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
sudo apt-get install -y ansible python-is-python3
- name: Run e2e tests
continue-on-error: true
continue-on-error: false
run: |
cd tests/e2e
export PATH="$PATH:/usr/local/bin"
Expand Down
13 changes: 13 additions & 0 deletions tests/e2e/cluster/up.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,29 @@ configure_flannel() {

main() {
init_kubeadm
echo __INIT__
configure_flannel
echo __FLANNEL__
echo NODES
kubectl get nodes -o wide
echo "HOSTNAME: $(hostname)"
echo "ALL_HOSTNAME: $(hostname -A)"
echo ALL
kubectl get all -A
echo hosts
cat /etc/hosts
check_node_is_ready
echo __CHECK_NODE_IS_READY__

# Untaint the node so that pods can be scheduled on it.
for role in master control-plane; do
kubectl taint nodes "$(hostname)" \
"node-role.kubernetes.io/$role:NoSchedule-"
done
echo __TAINTED__

kubectl label node "$(hostname)" node.kubernetes.io/worker=
echo __LABELED__
}

main "$@"

0 comments on commit 90e724f

Please sign in to comment.