From 781d986e8bb7cc22aa9237496abacd3ca7a1ce0c Mon Sep 17 00:00:00 2001 From: Khwezi Date: Sun, 12 Oct 2025 13:32:05 +0200 Subject: [PATCH 1/2] Added tls test setting to git clone --- .drone.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.drone.yml b/.drone.yml index 9bf9b72..337ae9c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -47,6 +47,8 @@ steps: # git clone code base - name: git clone image: drone/git + settings: + skip_verify: true commands: - git clone https://gitea.apps.mngoma.lab/mngomalab/sampleapi.git . - git checkout $DRONE_COMMIT @@ -85,6 +87,8 @@ steps: # git clone code base - name: git clone image: drone/git + settings: + skip_verify: true commands: - git clone https://gitea.apps.mngoma.lab/mngomalab/sampleapi.git . - git checkout $DRONE_COMMIT From 25dc3572b4d0e45ef3e1720c2d11a872621b6bbd Mon Sep 17 00:00:00 2001 From: Khwezi Date: Sun, 12 Oct 2025 13:37:54 +0200 Subject: [PATCH 2/2] Refactored pipeline to use cluser dns as opposed to traefik ingres --- .drone.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 337ae9c..7ba97e5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,7 +11,8 @@ steps: - name: git clone image: drone/git commands: - - git clone https://gitea.apps.mngoma.lab/mngomalab/sampleapi.git . + # - git clone https://gitea.apps.mngoma.lab/mngomalab/sampleapi.git . + - git clone http://gitea-server.gitea.svc.cluster.local/mngomalab/sampleapi.git . - git checkout $DRONE_COMMIT # dotnet restore @@ -50,7 +51,8 @@ steps: settings: skip_verify: true commands: - - git clone https://gitea.apps.mngoma.lab/mngomalab/sampleapi.git . + # - git clone https://gitea.apps.mngoma.lab/mngomalab/sampleapi.git . + - git clone http://gitea-server.gitea.svc.cluster.local/mngomalab/sampleapi.git . - git checkout $DRONE_COMMIT # dotnet publish @@ -90,7 +92,8 @@ steps: settings: skip_verify: true commands: - - git clone https://gitea.apps.mngoma.lab/mngomalab/sampleapi.git . + # - git clone https://gitea.apps.mngoma.lab/mngomalab/sampleapi.git . + - git clone http://gitea-server.gitea.svc.cluster.local/mngomalab/sampleapi.git . - git checkout $DRONE_COMMIT - name: deploy