Added .gitlab-ci.yml
This commit is contained in:
12
.gitlab-ci.yml
Normal file
12
.gitlab-ci.yml
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
stages:
|
||||||
|
- run
|
||||||
|
|
||||||
|
run_flask_app:
|
||||||
|
stage: run
|
||||||
|
image: python:3.11
|
||||||
|
before_script:
|
||||||
|
- pip install -r requirements.txt
|
||||||
|
script:
|
||||||
|
- python app.py &
|
||||||
|
- sleep 5
|
||||||
|
- curl http://127.0.0.1:5000
|
||||||
Reference in New Issue
Block a user