Refactored pipeline to use cluser dns as opposed to traefik ingres
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user