Se agregan debug-network para verificar valores.
This commit is contained in:
15
.drone.yml
15
.drone.yml
@@ -9,6 +9,19 @@ trigger:
|
|||||||
- push
|
- push
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
# --- PASO DE DEPURACIÓN AÑADIDO ---
|
||||||
|
- name: debug-network
|
||||||
|
image: alpine:latest
|
||||||
|
commands:
|
||||||
|
- echo "--- Network Interfaces ---"
|
||||||
|
- ip addr show
|
||||||
|
- echo "--- DNS Configuration ---"
|
||||||
|
- cat /etc/resolv.conf
|
||||||
|
- echo "--- Testing Connectivity ---"
|
||||||
|
- ping -c 4 1.1.1.1
|
||||||
|
- ping -c 4 api.nuget.org
|
||||||
|
- echo "--- End of Debug ---"
|
||||||
|
|
||||||
- name: build-and-publish-backend
|
- name: build-and-publish-backend
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
@@ -24,6 +37,8 @@ steps:
|
|||||||
- latest
|
- latest
|
||||||
- ${DRONE_COMMIT_SHA:0:8}
|
- ${DRONE_COMMIT_SHA:0:8}
|
||||||
insecure: true
|
insecure: true
|
||||||
|
depends_on: # Hacemos que dependa del paso de debug para que corra después
|
||||||
|
- debug-network
|
||||||
|
|
||||||
- name: build-and-publish-frontend
|
- name: build-and-publish-frontend
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
|
|||||||
Reference in New Issue
Block a user