代码拉取完成,页面将自动刷新
name: dafaker-ci
kind: pipeline
type: docker
workspace:
base: /srv/drone-demo
path: .
#label has default values
#environment:
# PLUGIN_GITEE_RUNNING_LABEL: drone-build/running,E6A23C
# PLUGIN_GITEE_SUCCESS_LABEL: drone-build/success,67C23A
# PLUGIN_GITEE_FAILURE_LABEL: drone-build/failure,DB2828
steps:
- name: start
pull: always
image: kit101z/drone-plugin-gitee-pulls
settings:
# should set `is_running: true` in the first step
is_running: true
access_token:
from_secret: GITEE_TOKEN
when:
event:
- pull_request
- name: build
image: python:3.7
commands:
- pip3 install -r dbfaker/requirements.txt -i https://mirrors.aliyun.com/pypi/simple/
- python3 setup.py install
- name: pr-enhance/end
image: kit101z/drone-plugin-gitee-pulls
settings:
access_token:
from_secret: GITEE_TOKEN
when:
event:
- pull_request
status:
- failure
- success
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。