You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- kind: pipeline
- type: docker
- name: 1
- platform:
- os: linux
- arch: amd64
-
- volumes:
- - name: cache
- host:
- path: /tmp/cache
-
- steps:
- - name: detection
- image: python:3
- failure: ignore
- commands:
- - echo **detection test**
- - curl 'http://www.baidu.com'
- - curl 'http://121.40.129.71:40111/openi/projects/reDetect' -X POST --header 'content-type:application/json' -d '{"projectId":94,"templateId":"60","type":"0"}'
-
- - name: build
- image: python:3
- commands:
- - echo **start**
- - pip install -r requirements.txt
-
- - name: test
- image: python:3
- commands:
- - pip install -r requirements.txt
- - python run_excel_re.py
- - ls -lR test_Report
- - cp -r test_Report/* /tmp/cache
- volumes:
- - name: cache
- path: /tmp/cache
-
- trigger:
- branch:
- - master
- event:
- - push
|