-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ivan Novikov
committed
Jan 30, 2021
1 parent
57a75d9
commit 6c45219
Showing
6 changed files
with
41 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
# 0.4 | ||
- global command "pipeline-mermaid" | ||
|
||
# 0.3 | ||
- support repeated jobs | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/usr/bin/env python | ||
|
||
import sys | ||
|
||
from pipeline_mermaid.gitlab_helper import GitlabHelper | ||
|
||
if __name__ == "__main__": | ||
gl = GitlabHelper() | ||
result = eval("GitlabHelper." + sys.argv[1])(gl, *sys.argv[2:]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
import os | ||
|
||
from setuptools import setup, find_packages | ||
|
||
with open('README.md') as readme_file: | ||
|
@@ -8,7 +10,7 @@ | |
|
||
setup_args = dict( | ||
name='pipeline_mermaid', | ||
version='0.3', | ||
version=os.environ['PROJECT_VERSION'], | ||
description='Useful tool to show Gitlab pipeline as mermaid', | ||
long_description_content_type="text/markdown", | ||
long_description=README + '\n\n' + HISTORY, | ||
|
@@ -18,7 +20,8 @@ | |
author_email='[email protected]', | ||
keywords=['pipeline', 'mermaid', 'Gitlab'], | ||
url='https://github.com/Nov1kov/pipeline_to_mermaid', | ||
download_url='https://pypi.org/project/pipeline-mermaid/' | ||
download_url='https://pypi.org/project/pipeline-mermaid/', | ||
scripts=['pipeline-mermaid'] | ||
) | ||
|
||
install_requires = [ | ||
|