Explorar o código

Merge branch 'feature/tmr-group-1.0.0' of baishaojie/tmrgo into develop

xuyiping hai 1 ano
pai
achega
871ff2d1a7
Modificáronse 1 ficheiros con 4 adicións e 7 borrados
  1. 4 7
      .drone.yml

+ 4 - 7
.drone.yml

@@ -1,24 +1,21 @@
 kind: pipeline
 kind: pipeline
 type: docker
 type: docker
 name: kpt-tmr
 name: kpt-tmr
-
+#workspace:
+  #path: /drone/src
 clone:
 clone:
   depth: 1
   depth: 1
   disable: true
   disable: true
-
 steps:
 steps:
   - name: clone
   - name: clone
     image: alpine/git
     image: alpine/git
     commands:
     commands:
      - git clone -b develop http://192.168.1.8:3000/baishaojie/tmrgo.git
      - git clone -b develop http://192.168.1.8:3000/baishaojie/tmrgo.git
-     - ls -l
      - pwd
      - pwd
+     - cp -R tmrgo/* ./
+     - ls -l
   - name: build
   - name: build
     image: plugins/docker:20.14.2
     image: plugins/docker:20.14.2
-    commands:
-      - cd ./trmgo
-      - pwd
-      - ls -l
     volumes:
     volumes:
       - name: hosts
       - name: hosts
         path: /etc/hosts
         path: /etc/hosts