This repository has been archived on 2025-05-05. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
vwa_project/.drone.yml
Ondřej Hrachovina c964552de4
Some checks failed
continuous-integration/drone/push Build encountered an error
modified: .drone.yml
2024-12-06 09:45:36 +01:00

26 lines
490 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: run
image: python:3.9
commands:
- pip install -r requirements.txt
- cd web # Change to the correct directory
- python app.py | tee output.log
when:
timeout: 15s
- name: check-success
image: alpine:latest
commands:
- grep "Debug mode: on" output.log
- name: cleanup
image: alpine:latest
commands:
- echo "Cleaning up any created data..."
- rm -rf /tmp/*
depends_on:
- check-success