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 - name: git clone
image: drone/git image: drone/git
commands: 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 - git checkout $DRONE_COMMIT
# dotnet restore # dotnet restore
@@ -50,7 +51,8 @@ steps:
settings: settings:
skip_verify: true skip_verify: true
commands: 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 - git checkout $DRONE_COMMIT
# dotnet publish # dotnet publish
@@ -90,7 +92,8 @@ steps:
settings: settings:
skip_verify: true skip_verify: true
commands: 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 - git checkout $DRONE_COMMIT
- name: deploy - name: deploy