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