From 30be4c950f6d7327529ef549c347297b90852d1e Mon Sep 17 00:00:00 2001 From: zengsb Date: Thu, 15 Jun 2023 13:32:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95drone=E6=89=A7=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/.drone.yml b/.drone.yml index b5f4968..bb26c38 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,15 +1,12 @@ -kind: pipeline -type: docker -name: default +kind: pipeline # 定义一个管道 +type: docker # 当前管道的类型 +name: test # 当前管道的名称 +steps: # 定义管道的执行步骤 + - name: test # 步骤名称 + image: node:latest # 当前步骤使用的镜像 + commands: # 当前步骤执行的命令 + - echo 测试drone执行 -steps: - - name: greeting - image: golang:1.12 - commands: - - go build - - go test -node: - role: pi-runner #kind: pipeline #type: exec #name: default