This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: default
|
name: default
|
||||||
@@ -9,4 +8,10 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- pip install -r requirements.txt
|
- pip install -r requirements.txt
|
||||||
- python -m unittest discover -s tests
|
- python -m unittest discover -s tests
|
||||||
- python app.py
|
- python app.py
|
||||||
|
|
||||||
|
- name: cleanup
|
||||||
|
image: alpine:latest
|
||||||
|
commands:
|
||||||
|
- echo "Cleaning up any created data..."
|
||||||
|
- rm -rf /tmp/*
|
||||||
Reference in New Issue
Block a user