diff --git a/.circleci/config.yml b/.circleci/config.yml index a8e48ae..f96627f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -34,13 +34,14 @@ jobs: - v1-tox-{{ .Branch }}-{{ checksum "requirements.txt" }}-{{ checksum "requirements.txt" }} - run: name: Install deps - command: pip install --upgrade pip tox twine + command: pip install --upgrade pip devpi-client==5.2.2 - run: name: Release to pypi develop index command: | - export TWINE_REPOSITORY_URL=$TWINE_REPOSITORY_URL_DEVELOP python setup.py clean sdist bdist_wheel - twine upload dist/* + devpi use $PYPI_INDEX/orv45stg/ + devpi login $PYPI_USER --password $PYPI_PASSWORD + devpi upload --from-dir dist - save_cache: name: Save cached tox dir key: v1-tox-{{ .Branch }}-{{ checksum "requirements.txt" }}-{{ checksum "requirements.txt" }} @@ -61,14 +62,15 @@ jobs: - v1-tox-{{ .Branch }}-{{ checksum "requirements.txt" }}-{{ checksum "requirements.txt" }} - run: name: Install deps - command: pip install --upgrade pip twine + command: pip install --upgrade pip devpi-client==5.2.2 - run: name: Release to pypi production index command: | - export TWINE_REPOSITORY_URL=$TWINE_REPOSITORY_URL_PRODUCTION python setup.py clean sdist bdist_wheel - twine upload dist/* + devpi use $PYPI_INDEX/orv45stg/ + devpi login $PYPI_USER --password $PYPI_PASSWORD + devpi upload --from-dir dist - save_cache: name: Save cached tox dir diff --git a/setup.cfg b/setup.cfg index ed072e3..ebb101b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,7 +1,6 @@ [metadata] name = vaultlocker summary = Utility to store and retrieve dm-crypt encryption keys in Hashicorp Vault -version = 0.0.5 description-file = README.rst author = OpenStack Charms Team