Removed debug
This commit is contained in:
@@ -42,39 +42,5 @@ deploy_stage:
|
|||||||
- kubectl rollout status deployment/flask-app -n stage
|
- kubectl rollout status deployment/flask-app -n stage
|
||||||
environment:
|
environment:
|
||||||
name: stage
|
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:
|
rules:
|
||||||
- if: '$CI_COMMIT_BRANCH == "main"'
|
- if: '$CI_COMMIT_BRANCH == "main"'
|
||||||
|
|||||||
Reference in New Issue
Block a user