소스 검색

project: add cicd 2

Yi 1 년 전
부모
커밋
cd4fcf5947
1개의 변경된 파일10개의 추가작업 그리고 0개의 파일을 삭제
  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: