Browse Source

update pipeline for master branch

master
parent
commit
3066664978
1 changed files with 5 additions and 8 deletions
  1. +5
    -8
      .drone.yml

+ 5
- 8
.drone.yml View File

@@ -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


Loading…
Cancel
Save