|
@@ -1,8 +1,18 @@
|
|
---
|
|
---
|
|
kind: pipeline
|
|
kind: pipeline
|
|
|
|
+type: kubernetes
|
|
name: dashouye
|
|
name: dashouye
|
|
|
|
|
|
|
|
+clone:
|
|
|
|
+ disable: true
|
|
|
|
+
|
|
steps:
|
|
steps:
|
|
|
|
+ - name: clone
|
|
|
|
+ image: alpine/git
|
|
|
|
+ commands:
|
|
|
|
+ - pwd
|
|
|
|
+ - git clone $DRONE_GIT_HTTP_URL .
|
|
|
|
+
|
|
- name: build
|
|
- name: build
|
|
image: hub.evbj.easou.com/dev/drone-agent-custom:v6.0.0
|
|
image: hub.evbj.easou.com/dev/drone-agent-custom:v6.0.0
|
|
# pull: always
|
|
# 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 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"
|
|
- docker --config /etc/docker push "$JNLP_REPO/$JNLP_ENV/$DRONE_REPO_NAME:$JNLP_TAG"
|
|
- python tools.py -b
|
|
- 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
|
|
- name: success
|