Browse Source

project: add cicd 2

Yi 1 year ago
parent
commit
cd4fcf5947
1 changed files with 10 additions and 0 deletions
  1. 10 0
      .drone.yml

+ 10 - 0
.drone.yml

@@ -2,7 +2,17 @@ kind: pipeline
 type: docker
 name: kptTmrGroup-server-publish
 
+
+clone:
+  depth: 1
+  disable: true
+
+
 steps:
+  - name: clone
+    image: alpine/git
+    commands:
+      - git clone -b develop http://192.168.1.8:3000/xuyiping/kpt-tmr-group.git
   - name: test
     image: golang:1.17
     commands: