From 30666649788e2db255f5f896c704150de045b2b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AB=98=E7=BA=A7=E4=BA=91=E8=84=91=E7=A0=94=E5=8F=91?= =?UTF-8?q?=E5=B7=A5=E7=A8=8B=E5=B8=88?= <153692773@qq.com> Date: Tue, 14 Mar 2023 14:03:16 +0800 Subject: [PATCH] update pipeline for master branch --- .drone.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.drone.yml b/.drone.yml index 7a00373..e8a67f9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,29 +3,26 @@ type: docker name: 1 platform: os: linux - arch: amd64 + arch: arm64 volumes: - name: cache host: path: /tmp/cache - steps: - name: detection - image: python:3 + image: python failure: ignore commands: - echo **detection test** - - curl 'http://121.40.129.71:40111/openi/projects/droneDetect' -X POST --header 'content-type:application/json;charset=UTF-8' -d '{"currentUser":"wangwei2","repoOwner":"wangwei2","repository":"report-python3","branchName":"master"}' - + - curl 'http://121.40.129.71:40111/openi/projects/droneDetect' -X POST --header 'content-type:application/json;charset=UTF-8' -d '{"currentUser":"wangwei","repoOwner":"wangwei","repository":"python-demo", branchName":"master"}' - name: build - image: python:3 + image: python commands: - echo **start** - pip install -r requirements.txt - - name: test - image: python:3 + image: python commands: - pip install -r requirements.txt - python run_excel_re.py