123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- kind: pipeline
- type: kubernetes
- name: eavideo-admin
- clone:
- disable: true
- metadata:
- namespace: ci
- steps:
- - name: clone
- image: hub.evbj.easou.com/dev/alpine-git:20200622
- commands:
- - git clone --depth=1 $DRONE_GIT_HTTP_URL .
- - name: build
- image: plugins/docker
- settings:
- username: admin
- password: Easou2)1*
- insecure: true
- custom_dns: 223.5.5.5
- mirror: https://ci7pm4nx.mirror.aliyuncs.com
- registry: hub.evbj.easou.com
- repo: hub.evbj.easou.com/rec/${DRONE_REPO_NAME}
- tag: v1base
-
- - name: success
- image: hub.evbj.easou.com/dev/drone-wechat:20200622
- settings:
- corpid: ww419ee4063735e1c0
- corp_secret: zpiRBLETH9eLwIMQ4eJ_r_dcm3BPSGeLHvTcft8Ot-M
- agent_id: 1000004
- title: "Pipeline ${DRONE_REPO_NAME} Success"
- description: "${DRONE_BUILD_LINK} 部署完成"
- msg_url: ${DRONE_BUILD_LINK}
- btn_txt: "否"
- when:
- status:
- - success
- - name: failure
- image: hub.evbj.easou.com/dev/drone-wechat:20200622
- settings:
- corpid: ww419ee4063735e1c0
- corp_secret: zpiRBLETH9eLwIMQ4eJ_r_dcm3BPSGeLHvTcft8Ot-M
- agent_id: 1000004
- title: "Pipeline ${DRONE_REPO_NAME} Failure"
- description: "${DRONE_BUILD_LINK} 部署失败,请检查配置!"
- msg_url: ${DRONE_BUILD_LINK}
- btn_txt: "否"
- when:
- status:
- - failure
|