diff --git a/.drone.yml b/.drone.yml index a35484562df2bee0646c991e6667317fda37e1c3..da3ee9a4968729c4b78ead6a33ad62bc9c0867bb 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,26 +1,40 @@ +--- kind: pipeline -name: default +name: develop trigger: event: - push - - tag branch: - master - refs: - - refs/tags/v* steps: - - name: upload-python-client + - name: Upload to pypi image: python:3.8-alpine environment: - PYPI_REPO: - from_secret: pypi_repo_dev + PYPI_REPO: https://pypi.perx.ru/ PYPI_PASSWORD: from_secret: pypi_password commands: - apk add bash make gcc g++ linux-headers musl-dev - make release - when: - branch: [ "master" ] - event: [ "push" ] +--- +kind: pipeline +name: production + +trigger: + event: + - tag + refs: + - refs/tags/v* + +steps: + - name: Upload to pypi + image: python:3.8-alpine + environment: + PYPI_REPO: https://pypi.perx.ru/ + PYPI_PASSWORD: + from_secret: pypi_password_prod + commands: + - apk add bash make gcc g++ linux-headers musl-dev + - make release \ No newline at end of file diff --git a/build-requirements.txt b/build-requirements.txt index c4b5cfa486de2791866751702ee88f15801d4bf0..613c58571b9732ce65d52652de2178f7cad8c146 100644 --- a/build-requirements.txt +++ b/build-requirements.txt @@ -3,35 +3,35 @@ backports.entry-points-selectable==1.1.1 build==0.7.0 certifi==2021.10.8 chardet==4.0.0 -charset-normalizer==2.0.9 +charset-normalizer==2.0.12 check-manifest==0.47 devpi-client==5.2.3 devpi-common==3.6.0 -distlib==0.3.3 -filelock==3.4.0 +distlib==0.3.4 +filelock==3.6.0 flake8==4.0.1 -grpcio==1.42.0 -grpcio-tools==1.42.0 +grpcio==1.43.0 +grpcio-tools==1.43.0 idna==3.3 -importlib-metadata==4.8.2 +importlib-metadata==4.11.2 lazy==1.4 -mccabe==0.6.1 +mccabe==0.7.0 packaging==21.3 pep517==0.12.0 pkginfo==1.8.2 -platformdirs==2.4.0 +platformdirs==2.5.1 pluggy==1.0.0 -protobuf==3.19.1 +protobuf==3.19.4 py==1.11.0 pycodestyle==2.8.0 pyflakes==2.4.0 -pyparsing==3.0.6 -requests==2.26.0 +pyparsing==3.0.7 +requests==2.27.1 six==1.16.0 toml==0.10.2 -tomli==1.2.2 -tox==3.24.4 -typing_extensions==4.0.1 -urllib3==1.26.7 -virtualenv==20.10.0 -zipp==3.6.0 +tomli==2.0.1 +tox==3.24.5 +typing_extensions==4.1.1 +urllib3==1.26.8 +virtualenv==20.13.2 +zipp==3.7.0 diff --git a/requirements.txt b/requirements.txt index af76aec980d3224574b9c46e1daadef52f6b0853..bc3cc95a61e18aae442e66c1beec4f7733196eb8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,12 +1,12 @@ certifi==2021.10.8 chardet==4.0.0 -charset-normalizer==2.0.9 -grpcio==1.42.0 +charset-normalizer==2.0.12 +grpcio==1.43.0 idna==3.3 -oauthlib==3.1.1 -protobuf==3.19.1 +oauthlib==3.2.0 +protobuf==3.19.4 PyJWT==2.3.0 -requests==2.26.0 -requests-oauthlib==1.3.0 +requests==2.27.1 +requests-oauthlib==1.3.1 six==1.16.0 -urllib3==1.26.7 +urllib3==1.26.8 diff --git a/setup.py b/setup.py index 18b98db894bd796fdb5c84aed9be87232ab3307f..fae7534429ff593b8ba915e643c7db9debf73cb4 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ def load_requirements(): setup( name='perxis', - version='0.0.7', + version='0.0.8', description='Perxis python client', long_description=long_description, long_description_content_type='text/markdown',