[med-svn] [Git][med-team/biomaj3-process][master] 3 commits: New upstream version 3.0.13

Olivier Sallou gitlab at salsa.debian.org
Sat Mar 9 10:14:18 GMT 2019


Olivier Sallou pushed to branch master at Debian Med / biomaj3-process


Commits:
219928da by Olivier Sallou at 2019-03-09T10:13:04Z
New upstream version 3.0.13
- - - - -
ad8ed3d2 by Olivier Sallou at 2019-03-09T10:13:04Z
Update upstream source from tag 'upstream/3.0.13'

Update to upstream version '3.0.13'
with Debian dir ef0b3bb7bde27f05f7804c756b1d9b534d27bbef
- - - - -
085f9f3c by Olivier Sallou at 2019-03-09T10:13:43Z
new upstream release 3.0.13

- - - - -


6 changed files:

- .travis.yml
- CHANGES.txt
- biomaj_process/biomaj_process_web.py
- debian/changelog
- requirements.txt
- setup.py


Changes:

=====================================
.travis.yml
=====================================
@@ -1,30 +1,30 @@
 language: python
 sudo: false
 python:
-  - "2.7"
-  - "3.4"
-  - "3.5"
+  - '2.7'
+  - '3.4'
+  - '3.5'
+  - '3.6'
 services:
-  - redis
-# Apply only on main branches
+- redis
 branches:
   except:
-    - /^feature.*$/
-# command to install dependencies
-#before_install:
-#  - "sudo apt-get update -qq"
-#  - "sudo apt-get install -qq libldap2-dev libsasl2-dev"
+  - "/^feature.*$/"
 install:
-  - "pip install flake8"
-  - "pip install -r requirements.txt"
-  - "pip install coverage"
-  - "pip install python-coveralls"
-  - "python setup.py -q install"
-#  - "echo data_file=$TRAVIS_BUILD_DIR/.coverage >> .coveragerc"
-# command to run tests
+- pip install flake8
+- pip install -r requirements.txt
+- pip install coverage
+- pip install python-coveralls
+- python setup.py -q install
 script:
-   - python setup.py test
-   - flake8 --ignore E501 biomaj_process/*.py
-#after_success:
-#  - coveralls
-
+- python setup.py test
+- flake8 --ignore E501 biomaj_process/*.py
+deploy:
+  provider: pypi
+  skip_existing: true
+  user: osallou
+  password:
+    secure: WSyAkAWF5GB+7sBmGBNYxrtNuY5gFXEWqcRM/8ix2ukoepGQC5BDxmmaiAcsPNONnHsN6DO6e/YvWOhv2CcD53C70LYWILfOfRYr27rGRdTb0xUb4Ji4T6N+Q0jOZP/YFE5iawNEV+WH1XFBKSsHNH7Njvgy/6n/L40SOAZasOuSGK4W7C35FXnSxRxuEm5GKdXtmrwviCR+UyRK7n4jKu0uVKOtxVgiqniScZKc/lpcr7i6+7p2AZsXB6FGm+Kyn8kGzrBXvF2gv8WbcaA0Le6H/b9IDs/AE7Y2zcObZRPH+GVZqXYkxzHbbevMdCWy2vNxebdK/j53JV6hDQg9mU0GIPAoZUQ4u4gSQeyuneyDeAqUKPNR74d9G1BKlpzsmyq3XbNdEEZtF6Lbjr/1W/Lb0VWTNeTS8bfJxQBwWNpnQL02/EhmBn1KM/nSazXNZC3rzBcxHsesQbbmtOmMsprbdLIs0FBecKnSxk9KCLplTzAvJfGAWP5WqHNW0bWYA7DDM4wbJvWbiGJgYwdyXqpiPqocUOHCli9QDxpvJG21GHZV/lKRZPe5x+hLcYIJQhQIvJHBdbIZxqSq1bt9+JvXElcZN20oPPKieAl6LM6t5AXl+uUBSopWstMLNsJERekrPbnZxnrAFEDjzp2egqtXpz+qyWPLCrmSbkgNOVY=
+  distributions: sdist bdist_wheel
+  on:
+    tags: true


=====================================
CHANGES.txt
=====================================
@@ -1,3 +1,8 @@
+3.0.13:
+  Fix traefik prefix
+3.0.12:
+  Update pika dependency release
+  Add tags for traefik support
 3.0.11:
   Catch exception for microservices if remote server is not reachable
   Rename package for protobuf to avoid collisions


=====================================
biomaj_process/biomaj_process_web.py
=====================================
@@ -29,7 +29,7 @@ process_time_metric = Counter("biomaj_process_time", "Bank process execution tim
 
 config_file = 'config.yml'
 if 'BIOMAJ_CONFIG' in os.environ:
-        config_file = os.environ['BIOMAJ_CONFIG']
+    config_file = os.environ['BIOMAJ_CONFIG']
 
 config = None
 with open(config_file, 'r') as ymlfile:
@@ -48,7 +48,19 @@ redis_client = redis.StrictRedis(
 def consul_declare(config):
     if config['consul']['host']:
         consul_agent = consul.Consul(host=config['consul']['host'])
-        consul_agent.agent.service.register('biomaj-process', service_id=config['consul']['id'], address=config['web']['hostname'], port=config['web']['port'], tags=['biomaj'])
+        consul_agent.agent.service.register(
+            'biomaj-process',
+            service_id=config['consul']['id'],
+            address=config['web']['hostname'],
+            port=config['web']['port'],
+            tags=[
+                'biomaj',
+                'api',
+                'traefik-int.backend=biomaj-process',
+                'traefik-int.frontend.rule=PathPrefix:/api/process',
+                'traefik-int.enable=true'
+            ]
+        )
         check = consul.Check.http(url='http://' + config['web']['hostname'] + ':' + str(config['web']['port']) + '/api/process', interval=20)
         consul_agent.agent.check.register(config['consul']['id'] + '_check', check=check, service_id=config['consul']['id'])
 


=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+biomaj3-process (3.0.13-1) unstable; urgency=medium
+
+  * New upstream release 
+
+ -- Olivier Sallou <osallou at debian.org>  Sat, 09 Mar 2019 10:13:09 +0000
+
 biomaj3-process (3.0.11-1) unstable; urgency=medium
 
   [ Jelmer Vernooij ]


=====================================
requirements.txt
=====================================
@@ -1,6 +1,6 @@
 mock
 nose
-pika
+pika==0.13.0
 redis
 PyYAML
 protobuf
@@ -8,5 +8,5 @@ flask
 python-consul
 prometheus_client>=0.0.18
 requests
-biomaj_core>=3.0.10
+biomaj_core>=3.0.16
 biomaj_zipkin


=====================================
setup.py
=====================================
@@ -21,7 +21,7 @@ config = {
     'url': 'http://biomaj.genouest.org',
     'download_url': 'http://biomaj.genouest.org',
     'author_email': 'olivier.sallou at irisa.fr',
-    'version': '3.0.11',
+    'version': '3.0.13',
      'classifiers': [
         # How mature is this project? Common values are
         #   3 - Alpha
@@ -44,7 +44,7 @@ config = {
     'install_requires': [
                          'biomaj_core',
                          'biomaj_zipkin',
-                         'pika',
+                         'pika==0.13.0',
                          'redis',
                          'PyYAML',
                          'flask',



View it on GitLab: https://salsa.debian.org/med-team/biomaj3-process/compare/83899ece4705b1b988e00de0f4499822072ed4f9...085f9f3c631ae0661f95004bba6a0b77e777492e

-- 
View it on GitLab: https://salsa.debian.org/med-team/biomaj3-process/compare/83899ece4705b1b988e00de0f4499822072ed4f9...085f9f3c631ae0661f95004bba6a0b77e777492e
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20190309/4204f7c0/attachment-0001.html>


More information about the debian-med-commit mailing list