Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pythonApp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Syed Bilal Raees
pythonApp
Commits
e20c622f
Commit
e20c622f
authored
3 years ago
by
Syed Bilal Raees
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
deleted 1
parent
a19067e5
Pipeline
#2111
passed with stage
in 10 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
36 deletions
+0
-36
1
1
+0
-36
No files found.
1
deleted
100644 → 0
View file @
a19067e5
stages:
# - test
# - deploy
- build
#test_app:
build_app:
image: python:3.6
# stage: test
stage: build
before_script:
- python3 -V
- ls -ltr
- python3 -m venv venv
- python3 -m venv python3-virtualenv
- source python3-virtualenv/bin/activate
- pwd
- whoami
script:
- pip install Flask
# - export FLASK_APP=hello.py
# - export FLASK_ENV=development
# - flask run
# - echo "deploy to staging server"
# - systemctl daemon-reload
# - systemctl enable python.service
# - systemctl start python.service
# - systemctl status python.service
- echo "deploying to stagings server"
- sudo systemctl start python.service
- sudo systemctl status python.service
# environment:
# name: staging
# url : http://localhost/test
tags:
- ci
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment