diff --git a/.drone.yml b/.drone.yml index 7ba97e5..b3de03d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -12,7 +12,8 @@ steps: image: drone/git commands: # - git clone https://gitea.apps.mngoma.lab/mngomalab/sampleapi.git . - - git clone http://gitea-server.gitea.svc.cluster.local/mngomalab/sampleapi.git . + # - git clone http://gitea-server.gitea.svc.cluster.local/mngomalab/sampleapi.git . + - git clone http://gitea-server.gitea.svc.cluster.local:3000/mngomalab/sampleapi.git . - git checkout $DRONE_COMMIT # dotnet restore @@ -51,8 +52,7 @@ steps: settings: skip_verify: true commands: - # - git clone https://gitea.apps.mngoma.lab/mngomalab/sampleapi.git . - - git clone http://gitea-server.gitea.svc.cluster.local/mngomalab/sampleapi.git . + - git clone http://gitea-server.gitea.svc.cluster.local:3000/mngomalab/sampleapi.git . - git checkout $DRONE_COMMIT # dotnet publish @@ -92,14 +92,13 @@ steps: settings: skip_verify: true commands: - # - git clone https://gitea.apps.mngoma.lab/mngomalab/sampleapi.git . - - git clone http://gitea-server.gitea.svc.cluster.local/mngomalab/sampleapi.git . + - git clone http://gitea-server.gitea.svc.cluster.local:3000/mngomalab/sampleapi.git . - git checkout $DRONE_COMMIT - name: deploy image: danielgormly/drone-plugin-kube:0.0.1 settings: - template: ./manifests/deploy-app.yml + template: ./manifests/deploy.yml ca: from_secret: kube_ca_cert server: https://lead:6443 diff --git a/manifests/deploy-app.yml b/manifests/deploy.yml similarity index 99% rename from manifests/deploy-app.yml rename to manifests/deploy.yml index 926a77b..e4bf3a5 100644 --- a/manifests/deploy-app.yml +++ b/manifests/deploy.yml @@ -5,7 +5,7 @@ metadata: name: experiments labels: name: experiments ---- +--- apiVersion: v1 kind: ConfigMap metadata: