19 lines
346 B
YAML
19 lines
346 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
- name: run
|
|
image: python:3.9
|
|
commands:
|
|
- pip install -r requirements.txt
|
|
- cd web
|
|
- find . -name "*.py" -exec python -m py_compile {} \;
|
|
when:
|
|
timeout: 15s
|
|
|
|
- name: cleanup
|
|
image: alpine:latest
|
|
commands:
|
|
- echo "Cleaning up any created data..."
|
|
- rm -rf /tmp/* |