From 1155ac88bc3848a1d8eb79e0b8047e0d7f0c33ab Mon Sep 17 00:00:00 2001 From: BryantHe Date: Tue, 14 Jun 2022 17:10:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=20drone=20=E6=96=87=E4=BB=B6?= =?UTF-8?q?=205?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index 824a528..cd3abab 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,8 +5,17 @@ # 代码拉取后会使用 python:3.7-alpine3.8 镜像来执行项目目录下的 a.py 文件 # 由于现在仓库中并不存在 a.py 文件所以第次的测试肯定是失败的 -pipeline: - run: - image: python:3.9.13-alpine3.15 - commands: - - python3 a.py \ No newline at end of file +kind: pipeline +type: docker +name: default + +platform: + os: linux + arch: amd64 + + +steps: +- name: run + image: python:3.9.13-alpine3.15 + commands: + - python3 test.py \ No newline at end of file