Allow pipeline to be run manually

This commit is contained in:
Dominic Oram
2019-10-11 17:11:57 +01:00
parent 48788d138f
commit cf5349dced
2 changed files with 11 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
image: python:3.7.3
pipelines:
custom:
- step:
caches:
- pip
script:
- python pipeline.py
+2
View File
@@ -0,0 +1,2 @@
if __name__ == "__main__":
exit(1) # Fail the pipeline