فهرست منبع

更新 '.drone.yml'

scofield 4 سال پیش
والد
کامیت
2f62a372e0
1فایلهای تغییر یافته به همراه13 افزوده شده و 3 حذف شده
  1. 13 3
      .drone.yml

+ 13 - 3
.drone.yml

@@ -1,8 +1,18 @@
 ---
 kind: pipeline
+type: kubernetes
 name: dashouye
 
+clone:
+  disable: true
+
 steps:
+ - name: clone
+   image: alpine/git
+   commands:
+   - pwd 
+   - git clone $DRONE_GIT_HTTP_URL .
+   
  - name: build
    image: hub.evbj.easou.com/dev/drone-agent-custom:v6.0.0
   # pull: always
@@ -30,9 +40,9 @@ steps:
      - docker --config /etc/docker build -t "$JNLP_REPO/$JNLP_ENV/$DRONE_REPO_NAME:$JNLP_TAG" . -f Dockerfile
      - docker --config /etc/docker push "$JNLP_REPO/$JNLP_ENV/$DRONE_REPO_NAME:$JNLP_TAG"
      - python tools.py -b
-     - python tools.py -a
-     - python tools.py -c
-     - python tools.py -d
+     #- python tools.py -a
+     #- python tools.py -c
+     #- python tools.py -d
      
 
  - name: success