Commit 9fded860 authored by Syed Bilal Raees's avatar Syed Bilal Raees

job1

parent 648ffca9
Pipeline #2074 failed
......@@ -44,10 +44,11 @@
# name: staging
# url : http://localhost/test
#build_app:
image:
name: python:3.6
job1:
image:
name: python:3.6
before_script:
before_script:
- python3 -V
- ls -ltr
- python3 -m venv venv
......@@ -56,26 +57,26 @@ before_script:
- pwd
# - whoami
stages:
stages:
- production
- development
production:
production:
stage: production
script:
- pip install Flask
- sudo systemctl start prod.service
- sudo systemctl start python.service
only:
- dev
- master
development:
development:
stage: development
script:
- pip install Flask
# - echo $PATH
- echo "deploying to staging server"
- sudo systemctl start python.service
- sudo systemctl start prod.service
only:
- master
- dev
tags:
- ci
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment