소스 검색

Merge branch 'feature/stroage-manage' of xuyiping/kpt-tmr-group into develop

xuyiping 1 년 전
부모
커밋
746bd17ed7
1개의 변경된 파일7개의 추가작업 그리고 24개의 파일을 삭제
  1. 7 24
      .drone.yml

+ 7 - 24
.drone.yml

@@ -6,36 +6,19 @@ clone:
   depth: 1
   depth: 1
   disable: true
   disable: true
 
 
+environment:
+  GOOS: linux
+  GOARCH: amd64
+
 steps:
 steps:
   - name: clone
   - name: clone
     image: alpine/git
     image: alpine/git
-    commands:
-      - git clone -b develop http://kpt.kptyun.cn:3000/xuyiping/kpt-tmr-group.git
-  - name: test
-    image: golang:1.17
     commands:
     commands:
       - pwd
       - pwd
       - ls -l
       - ls -l
-      - cd /drone/src
-      - ls -l
-  - name: build
-    image: plugins/docker
-    volumes:
-      - name: hosts
-        path: /etc/hosts
-      - name: docker-ca
-        path: /etc/docker
-      - name: dockersock
-        path: /var/run/docker.sock
-    settings:
-      dockerfile: /drone/src/kpt-tmr-group/Dockerfile
-      username:
-        from_secret: aliyuncs_username
-      password:
-        from_secret: aliyuncs_password
-      repo: registry.cn-hangzhou.aliyuncs.com/kpt-event/kpt-tmr-group
-      registry: registry.cn-hangzhou.aliyuncs.com
-      tags: [1.0.0,latest]
+      - git clone -b develop http://kpt.kptyun.cn:3000/xuyiping/kpt-tmr-group.git
+
+
 
 
 trigger:
 trigger:
   branch:
   branch: