Skip to content

Commit

Permalink
release: v0.3.0
Browse files Browse the repository at this point in the history
Signed-off-by: Dinos Kousidis <dinos.kousidis@cern.ch>
  • Loading branch information
dinosk committed Aug 10, 2018
1 parent 2398903 commit 01fcf0e
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 20 deletions.
8 changes: 8 additions & 0 deletions CHANGES.rst
@@ -1,6 +1,14 @@
Changes
=======

Version 0.3.0 (2018-08-10)
--------------------------

- Adds uwsgi for production deployments.
- Switches from pykube to official Kubernetes python client.
- Adds compatibility with latest Kubernetes.


Version 0.2.0 (2018-04-19)
--------------------------

Expand Down
3 changes: 0 additions & 3 deletions Dockerfile
Expand Up @@ -25,9 +25,6 @@ RUN apt-get update && \
apt-get install -y vim-tiny && \
pip install --upgrade pip

RUN pip install -e git://github.com/reanahub/reana-commons.git@master#egg=reana-commons
RUN pip install -e git://github.com/reanahub/reana-db.git@master#egg=reana-db

COPY CHANGES.rst README.rst setup.py /code/
COPY reana_job_controller/version.py /code/reana_job_controller/
WORKDIR /code
Expand Down
2 changes: 0 additions & 2 deletions docs/requirements.txt
Expand Up @@ -18,6 +18,4 @@
# granted to it by virtue of its status as an Intergovernmental Organization or
# submit itself to any jurisdiction.

-e git+git://github.com/reanahub/reana-commons.git#egg=reana-commons
-e git+git://github.com/reanahub/reana-db.git@master#egg=reana-db
-e .[all]
9 changes: 1 addition & 8 deletions reana_job_controller/app.py
Expand Up @@ -245,10 +245,6 @@ def get_jobs(): # noqa
}
}
"""
# FIXME do Marshmallow validation after fixing the structure
# of job list. Now it has the ID as key, it should be a plain
# list of jobs so it can be validated with Marshmallow.

return jsonify({"jobs": retrieve_all_jobs()}), 200


Expand Down Expand Up @@ -453,10 +449,7 @@ def get_logs(job_id): # noqa

@app.route('/apispec', methods=['GET'])
def get_openapi_spec():
"""Get OpenAPI Spec.
FIXME add openapi spec
"""
"""Get OpenAPI Spec."""
return jsonify(app.config['OPENAPI_SPEC'])


Expand Down
2 changes: 0 additions & 2 deletions reana_job_controller/spec.py
Expand Up @@ -31,8 +31,6 @@

def build_openapi_spec():
"""Create OpenAPI definition."""
# Create OpenAPI specification object
# FIXME set `title`, `version` ... as parameters
spec = APISpec(
title='reana-job-controller',
version='0.0.1',
Expand Down
2 changes: 1 addition & 1 deletion reana_job_controller/version.py
Expand Up @@ -28,4 +28,4 @@

from __future__ import absolute_import, print_function

__version__ = "0.3.0.dev20180503"
__version__ = "0.3.0"
2 changes: 0 additions & 2 deletions requirements-dev.txt
@@ -1,5 +1,3 @@
wdb
ipdb
Flask-DebugToolbar
git+git://github.com/reanahub/reana-commons.git@master#egg=reana-commons
git+git://github.com/reanahub/reana-db.git@master#egg=reana-db
4 changes: 2 additions & 2 deletions setup.py
Expand Up @@ -69,8 +69,8 @@
'Flask>=0.11',
'kubernetes>=6.0.0',
'marshmallow>=2.13',
'reana-commons>=0.1.0',
'reana-db>=0.1.0',
'reana-commons>=0.3.0',
'reana-db>=0.3.0',
]

packages = find_packages()
Expand Down

0 comments on commit 01fcf0e

Please sign in to comment.