Refactored pipeline to use cluser dns as opposed to traefik ingres

This commit is contained in:
Khwezi
2025-10-12 13:37:54 +02:00
parent 781d986e8b
commit 25dc3572b4

View File

@@ -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