Removed debug

This commit is contained in:
Teodor
2026-05-07 19:11:08 +02:00
parent 89d085b1a4
commit bb65ddd76b

View File

@@ -42,39 +42,5 @@ deploy_stage:
- kubectl rollout status deployment/flask-app -n stage
environment:
name: stage
rules:
- if: '$CI_COMMIT_BRANCH == "main"'
when: manual
debug_runner_to_cluster:
stage: deploy
image: alpine:latest
before_script:
- apk add --no-cache curl busybox-extras iproute2 bind-tools
script:
- echo "=== Runner host/container info ==="
- hostname
- whoami
- echo "=== Network interfaces ==="
- ip addr
- echo "=== Routing table ==="
- ip route
- echo "=== DNS config ==="
- cat /etc/resolv.conf
- echo "=== Internal DNS tests ==="
- nslookup gitlab.internal.uia.no || true
- nslookup registry.internal.uia.no || true
- echo "=== GitLab/Registry connectivity ==="
- nc -vz -w 10 gitlab.internal.uia.no 443 || true
- nc -vz -w 10 registry.internal.uia.no 443 || true
- echo "=== Kubernetes API connectivity ==="
- nc -vz -w 10 10.225.210.169 6443 || true
- curl -k --connect-timeout 10 https://10.225.210.169:6443/version || true
rules:
- if: '$CI_COMMIT_BRANCH == "main"'