|
@@ -4,37 +4,26 @@ name: 1 |
|
|
platform: |
|
|
platform: |
|
|
os: linux |
|
|
os: linux |
|
|
arch: amd64 |
|
|
arch: amd64 |
|
|
|
|
|
|
|
|
volumes: |
|
|
volumes: |
|
|
- name: cache |
|
|
|
|
|
host: |
|
|
|
|
|
path: /tmp/cache |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: cache |
|
|
|
|
|
host: |
|
|
|
|
|
path: /tmp/cache |
|
|
steps: |
|
|
steps: |
|
|
#- name: detection |
|
|
|
|
|
# image: python:3 |
|
|
|
|
|
# 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":"test"}' |
|
|
|
|
|
|
|
|
|
|
|
- name: build |
|
|
- name: build |
|
|
image: python:3 |
|
|
image: python:3 |
|
|
commands: |
|
|
commands: |
|
|
- echo **start** |
|
|
|
|
|
- pip install -r requirements.txt |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- echo **start** |
|
|
|
|
|
- pip install -r requirements.txt |
|
|
- name: test |
|
|
- name: test |
|
|
image: python:3 |
|
|
image: python:3 |
|
|
commands: |
|
|
commands: |
|
|
- pip install -r requirements.txt |
|
|
|
|
|
- python run_excel_re.py |
|
|
|
|
|
- ls -lR test_Report |
|
|
|
|
|
- cp -r test_Report/* /tmp/cache |
|
|
|
|
|
|
|
|
- pip install -r requirements.txt |
|
|
|
|
|
- python run_excel_re.py |
|
|
|
|
|
- ls -lR test_Report |
|
|
|
|
|
- cp -r test_Report/* /tmp/cache |
|
|
volumes: |
|
|
volumes: |
|
|
- name: cache |
|
|
|
|
|
path: /tmp/cache |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: cache |
|
|
|
|
|
path: /tmp/cache |
|
|
trigger: |
|
|
trigger: |
|
|
branch: |
|
|
branch: |
|
|
- master |
|
|
- master |
|
|