Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

Commit

Permalink
Merge pull request #43 from phovea/release-7.0.0
Browse files Browse the repository at this point in the history
Release 7.0.0
  • Loading branch information
Anita Steiner authored Feb 12, 2021
2 parents bacd806 + 1c526e2 commit 781e8cb
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 15 deletions.
55 changes: 48 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
version: 2
jobs:
build:
version: 2.1

executors:
python-executor:
working_directory: ~/phovea
docker:
- image: circleci/python:3.7-buster-node-browsers # for node version see Dockerfile on https://hub.docker.com/r/circleci/python
jobs:
build:
executor: python-executor
steps:
- checkout
- run:
Expand Down Expand Up @@ -48,8 +52,35 @@ jobs:
npm run dist
- store_artifacts:
path: dist
destination: dist
- persist_to_workspace:
root: ~/phovea
paths: .
publish:
executor: python-executor
steps:
- attach_workspace:
at: ~/phovea
- run:
name: Install twine
command: |
virtualenv ~/venv
. ~/venv/bin/activate
pip install twine
- run:
name: Authentication
command: |
echo -e "[pypi]" >> ~/.pypirc
echo -e "repository = $PYPI_REPOSITORY" >> ~/.pypirc
echo -e "username = $PYPI_USERNAME" >> ~/.pypirc
echo -e "password = $PYPI_PASSWORD" >> ~/.pypirc
- run:
name: Publish package
command: |
. ~/venv/bin/activate
twine upload dist/*
workflows:
version: 2
version: 2.1
# build-nightly:
# triggers:
# - schedule:
Expand All @@ -60,17 +91,27 @@ workflows:
# - develop
# jobs:
# - build
build-branch:
build-branches-only:
jobs:
- build:
filters:
tags:
ignore: /^v.*/
build-tag:
ignore: /.*/
build-publish-tag:
jobs:
- build:
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/
- publish:
context:
- org-public
requires:
- build
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "phovea_data_mongo",
"description": "Data provider plugin for loading graph data stored in a MongoDB.",
"homepage": "https://phovea.caleydo.org",
"version": "6.0.0",
"version": "7.0.0",
"author": {
"name": "The Caleydo Team",
"email": "[email protected]",
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pymongo~=3.10.1
phovea_server>=6.0.0,<7.0.0
pymongo~=3.11.1
phovea_server>=7.0.0,<8.0.0
10 changes: 5 additions & 5 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
flake8==3.7.9
pep8-naming==0.9.1
pytest==5.3.5
flake8==3.8.4
pep8-naming==0.11.1
pytest==6.1.2
pytest-runner==5.2
Sphinx==2.4.2
Sphinx==3.3.1
recommonmark==0.6.0
pymongo==3.10.1
pymongo==3.11.1

0 comments on commit 781e8cb

Please sign in to comment.