You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
597 B
YAML
18 lines
597 B
YAML
kind: pipeline # kind 属性定义了对象的种类。此示例定义了一个管道对象。
|
|
type: docker # type 属性定义管道的类型。此示例定义了一个 Docker 管道,其中每个管道步骤都在 Docker 容器内执行。
|
|
name: mydemo1 # name 属性定义了管道的名称。您可以为您的项目定义一个或多个管道
|
|
clone:
|
|
disable: false
|
|
|
|
steps:
|
|
- name: clone
|
|
image: alpine/git
|
|
commands:
|
|
- git clone http://192.168.3.249:3000/ips/ips-ci-demo.git .
|
|
- git checkout $DRONE_COMMIT
|
|
|
|
#trigger:
|
|
# branch:
|
|
# - master
|
|
# event:
|
|
# - push |