@@ -1,23 +1,20 @@ | |||||
kind: pipeline | kind: pipeline | ||||
type: docker | type: docker | ||||
name: 1 | name: 1 | ||||
platform: | platform: | ||||
os: linux | os: linux | ||||
arch: amd64 | |||||
arch: arm64 | |||||
volumes: | volumes: | ||||
- name: cache | |||||
- name: cache | |||||
host: | host: | ||||
path: /tmp/cache | path: /tmp/cache | ||||
steps: | steps: | ||||
- name: build | - name: build | ||||
image: python:3 | image: python:3 | ||||
commands: | commands: | ||||
- echo **start** | - echo **start** | ||||
- pip install -r requirements.txt | - pip install -r requirements.txt | ||||
- name: test | - name: test | ||||
image: python:3 | image: python:3 | ||||
commands: | commands: | ||||
@@ -26,8 +23,8 @@ steps: | |||||
- ls -lR test_Report | - ls -lR test_Report | ||||
- cp -r test_Report/* /tmp/cache | - cp -r test_Report/* /tmp/cache | ||||
volumes: | volumes: | ||||
- name: cache | |||||
path: /tmp/cache | |||||
- name: cache | |||||
path: /tmp/cache | |||||
trigger: | trigger: | ||||
branch: | branch: | ||||