Skip to content

Commit 9401115

Browse files
committed
minor: add runtime release flow
1 parent f5bcc3b commit 9401115

5 files changed

Lines changed: 747 additions & 2 deletions

File tree

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Runtime python package
2+
3+
on:
4+
push:
5+
tags:
6+
- "bk-plugin-runtime-v*.*.*"
7+
workflow_dispatch:
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Set up Python 3.6
15+
uses: actions/setup-python@v2
16+
with:
17+
python-version: 3.6
18+
19+
- name: Set up Poetry
20+
uses: abatilo/actions-poetry@v2.0.0
21+
with:
22+
poetry-version: 1.1.9
23+
24+
- name: Remove Test Code
25+
run: |
26+
cd runtime/bk-plugin-runtime
27+
poetry build -vvv
28+
poetry publish -u ${{ secrets.PYPI_USER }} -p ${{ secrets.PYPI_PWD }}

.gitignore

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
6+
# C extensions
7+
*.so
8+
9+
# Distribution / packaging
10+
.Python
11+
env/
12+
build/
13+
develop-eggs/
14+
downloads/
15+
eggs/
16+
.eggs/
17+
lib/
18+
lib64/
19+
parts/
20+
sdist/
21+
*.egg-info/
22+
.installed.cfg
23+
*.egg
24+
25+
# PyInstaller
26+
# Usually these files are written by a python script from a template
27+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
28+
*.manifest
29+
*.spec
30+
31+
# Installer logs
32+
pip-log.txt
33+
pip-delete-this-directory.txt
34+
35+
# Unit test / coverage reports
36+
htmlcov/
37+
.tox/
38+
.coverage
39+
.coverage.*
40+
.cache
41+
nosetests.xml
42+
coverage.xml
43+
.cover/
44+
.hypothesis/
45+
46+
# Translations
47+
*.pot
48+
49+
# Django stuff:
50+
*.log
51+
local_settings.py
52+
53+
# Flask stuff:
54+
.webassets-cache
55+
56+
# Scrapy stuff:
57+
.scrapy
58+
59+
# Sphinx documentation
60+
docs/_build/
61+
62+
# PyBuilder
63+
target/
64+
65+
# IPython Notebook
66+
.ipynb_checkpoints
67+
68+
# pyenv
69+
.python-version
70+
71+
# celery beat schedule file
72+
celerybeat-schedule
73+
74+
# dotenv
75+
.env
76+
77+
# virtualenv
78+
venv/
79+
ENV/
80+
81+
# Spyder project settings
82+
.spyderproject
83+
84+
# Rope project settings
85+
.ropeproject
86+
87+
# PyCharm project settings
88+
.idea
89+
90+
91+
# Frontend project lib file
92+
static/pipeline/node_modules/
93+
node_modules/
94+
webpack_cache
95+
96+
# OS generate file
97+
.DS_Store
98+
99+
100+
# Editor setting file
101+
.vscode/

runtime/bk-plugin-runtime/MANIFEST.in

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)