Skip to content

Commit

Permalink
Merge pull request #22 from lsst-ts/release/0.2.0
Browse files Browse the repository at this point in the history
Release/0.2.0
  • Loading branch information
sfehlandt authored Aug 14, 2019
2 parents 624e822 + 52127f2 commit 63db76f
Show file tree
Hide file tree
Showing 155 changed files with 23,114 additions and 398 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
**/__pycache__
1 change: 1 addition & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[flake8]
max-line-length = 120
ignore = D100
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
virtualenv
venv
*/venv
*.pyc
__pycache__
**/*.pyc
*.cache
assets
webpack-stats.*
.vscode
*.sqlite3
**/__pycache__
**/.DS_Store
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,10 @@ RUN python manage.py collectstatic --noinput
VOLUME /usr/src/love/static
EXPOSE 8000

# Set env variables for runtime (to be replaced in docker-cpomse files)
ENV ADMIN_USER_PASS=test
ENV USER_USER_PASS=test
ENV CMD_USER_PASS=test

# Run daphne server in runtime
ENTRYPOINT ["./runserver.sh"]
CMD ["./runserver.sh"]
7 changes: 6 additions & 1 deletion Dockerfile-dev
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,10 @@ RUN pip install -r requirements.txt
# Expose static files and port
EXPOSE 8000

# Set env variables for runtime (to be replaced in docker-cpomse files)
ENV ADMIN_USER_PASS=test
ENV USER_USER_PASS=test
ENV CMD_USER_PASS=test

# Run development server in runtime
ENTRYPOINT ["./runserver-dev.sh"]
CMD ["./runserver-dev.sh"]
36 changes: 33 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ pipeline {
agent any
environment {
registryCredential = "dockerhub-inriachile"
dockerImageName = "inriachile/love-manager:${GIT_BRANCH}"
dockerImageName = "inriachile/love-manager:"
dockerImage = ""
}

Expand All @@ -12,19 +12,49 @@ pipeline {
anyOf {
branch "master"
branch "develop"
branch "release/*"
}
}
steps {
script {
def git_branch = "${GIT_BRANCH}"
def image_tag = git_branch
def slashPosition = git_branch.indexOf('/')

if (slashPosition > 0) {
git_tag = git_branch.substring(slashPosition + 1, git_branch.length())
git_branch = git_branch.substring(0, slashPosition)
if (git_branch == "release") {
image_tag = git_tag
}
}

dockerImageName = dockerImageName + image_tag
echo "dockerImageName: ${dockerImageName}"
dockerImage = docker.build dockerImageName
}
}
}
stage("Test Docker Image") {
when {
anyOf {
branch "master"
branch "develop"
branch "release/*"
}
}
steps {
script {
sh "docker run ${dockerImageName} pytest"
}
}
}
stage("Push Docker image") {
when {
anyOf {
branch "master"
branch "develop"
branch "release/*"
}
}
steps {
Expand All @@ -41,15 +71,15 @@ pipeline {
branch "develop"
}
steps {
build '../LOVE-integration-tools/develop'
build(job: '../LOVE-integration-tools/develop', wait: false)
}
}
stage("Trigger master deployment") {
when {
branch "master"
}
steps {
build '../LOVE-integration-tools/master'
build(job: '../LOVE-integration-tools/master', wait: false)
}
}
}
Expand Down
Empty file added docs/.nojekyll
Empty file.
Binary file added docs/doctrees/apidoc/api.doctree
Binary file not shown.
Binary file added docs/doctrees/apidoc/api.tests.doctree
Binary file not shown.
Binary file added docs/doctrees/apidoc/manage.doctree
Binary file not shown.
Binary file added docs/doctrees/apidoc/manager.doctree
Binary file not shown.
Binary file added docs/doctrees/apidoc/modules.doctree
Binary file not shown.
Binary file added docs/doctrees/apidoc/subscription.doctree
Binary file not shown.
Binary file added docs/doctrees/environment.pickle
Binary file not shown.
Binary file added docs/doctrees/index.doctree
Binary file not shown.
Binary file added docs/doctrees/modules/authentication.doctree
Binary file not shown.
Binary file added docs/doctrees/modules/connection.doctree
Binary file not shown.
Binary file added docs/doctrees/modules/introduction.doctree
Binary file not shown.
Binary file added docs/doctrees/modules/subscriptions.doctree
Binary file not shown.
4 changes: 4 additions & 0 deletions docs/html/.buildinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 953d8bcde9ceff8398c74730e916263b
tags: 645f666f9bcd5a90fca523b33c5a78b7
85 changes: 85 additions & 0 deletions docs/html/_sources/apidoc/api.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
api package
===========

Subpackages
-----------

.. toctree::

api.tests

Submodules
----------

api.admin module
----------------

.. automodule:: api.admin
:members:
:undoc-members:
:show-inheritance:

api.apps module
---------------

.. automodule:: api.apps
:members:
:undoc-members:
:show-inheritance:

api.authentication module
-------------------------

.. automodule:: api.authentication
:members:
:undoc-members:
:show-inheritance:

api.middleware module
---------------------

.. automodule:: api.middleware
:members:
:undoc-members:
:show-inheritance:

api.models module
-----------------

.. automodule:: api.models
:members:
:undoc-members:
:show-inheritance:

api.serializers module
----------------------

.. automodule:: api.serializers
:members:
:undoc-members:
:show-inheritance:

api.urls module
---------------

.. automodule:: api.urls
:members:
:undoc-members:
:show-inheritance:

api.views module
----------------

.. automodule:: api.views
:members:
:undoc-members:
:show-inheritance:


Module contents
---------------

.. automodule:: api
:members:
:undoc-members:
:show-inheritance:
22 changes: 22 additions & 0 deletions docs/html/_sources/apidoc/api.tests.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
api.tests package
=================

Submodules
----------

api.tests.tests\_auth\_api module
---------------------------------

.. automodule:: api.tests.tests_auth_api
:members:
:undoc-members:
:show-inheritance:


Module contents
---------------

.. automodule:: api.tests
:members:
:undoc-members:
:show-inheritance:
7 changes: 7 additions & 0 deletions docs/html/_sources/apidoc/manage.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
manage module
=============

.. automodule:: manage
:members:
:undoc-members:
:show-inheritance:
54 changes: 54 additions & 0 deletions docs/html/_sources/apidoc/manager.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
manager package
===============

Submodules
----------

manager.asgi module
-------------------

.. automodule:: manager.asgi
:members:
:undoc-members:
:show-inheritance:

manager.routing module
----------------------

.. automodule:: manager.routing
:members:
:undoc-members:
:show-inheritance:

manager.settings module
-----------------------

.. automodule:: manager.settings
:members:
:undoc-members:
:show-inheritance:

manager.urls module
-------------------

.. automodule:: manager.urls
:members:
:undoc-members:
:show-inheritance:

manager.wsgi module
-------------------

.. automodule:: manager.wsgi
:members:
:undoc-members:
:show-inheritance:


Module contents
---------------

.. automodule:: manager
:members:
:undoc-members:
:show-inheritance:
11 changes: 11 additions & 0 deletions docs/html/_sources/apidoc/modules.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
ApiDoc
======
These are the ApiDocs of the project.

.. toctree::
:maxdepth: 4

api
manage
manager
subscription
38 changes: 38 additions & 0 deletions docs/html/_sources/apidoc/subscription.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
subscription package
====================

Submodules
----------

subscription.auth module
------------------------

.. automodule:: subscription.auth
:members:
:undoc-members:
:show-inheritance:

subscription.consumers module
-----------------------------

.. automodule:: subscription.consumers
:members:
:undoc-members:
:show-inheritance:

subscription.routing module
---------------------------

.. automodule:: subscription.routing
:members:
:undoc-members:
:show-inheritance:


Module contents
---------------

.. automodule:: subscription
:members:
:undoc-members:
:show-inheritance:
26 changes: 26 additions & 0 deletions docs/html/_sources/index.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
.. LOVE-manager documentation master file, created by
sphinx-quickstart on Mon Jul 29 16:50:25 2019.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Welcome to LOVE-manager's documentation!
========================================

.. toctree::
:maxdepth: 2
:caption: Contents:

modules/introduction.rst
modules/authentication.rst
modules/connection.rst
modules/subscriptions.rst
apidoc/modules.rst



Indices and tables
==================

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
Loading

0 comments on commit 63db76f

Please sign in to comment.