* using https://github.com/manosim/django-rest-framework-api-key
for Permissions. Will generate an Auth KEY for jenkins to be able
to trigger build from there using build REST API
* store the info needed to trigger builds for a set of projects for
a release
- build is a list of projects to be built with branch or tag as orig
and release as destination for a debian distribution
* added release_uuid to JenkinsJobInfo model
- release_uuid is the way to group project builds for a release
- tag works for group of jobs for a project
Change-Id: Iebeaa54308c3e569a167f55d98c184b52248af8a
* we need to use reference ( docker API it doesn't support tag name )
* fix tag date (value in the first occurrence not last)
Change-Id: I2fa2f7bedaca4cdeeb3a3a2d4a3f4a661d15fad1
* provide info of actual images and tags
* refresh docker images/tag via release_dashboard
* keep that info in db
* fix Dockerfile documentation
* cleanup thanks to flake8
Change-Id: I743482da9b4d50f7b1832cad324882f3a49cbcf0
* no need to have files twice
* djangorestframework==3.4 so we keep stable compatibility
- fix small issue with Serializer classes for that version
Change-Id: Ib0f04def39b41adf8cc0a700fe096e405b620cb0
* update dependencies due postgresql
* fake files needed to deploy at debian
* add new needed config values at server.ini file
Change-Id: I02699c721ac79a0328da07a4c2e3a2cb1451d403
* don't trigger get_jbi_files for hosts not in JBI_ALLOWED_HOSTS
- prod => ['jenkins.mgm.sipwise.com']
- dev => ['jenkins-dev.mgm.sipwise.com']
Change-Id: I14bf397a54ea5dcad9ec64a6660c4f6e86a387b6
In order to be able to deploy that file with different values
depending on the server so we can use -dev.mgm services on
repoapi-dev.mgm
Change-Id: I2f5546c4f664707250ab89f29e71d4092c848890
Git daemon which provided Sipwise anonymous access to
internal Git repository is deprecated. Also it is
useless to point public GitHub repository to the internal git server.
Change-Id: Ib96777255b69bebf590fadf1cab9aadaa58400b5
* add 'shell' rule to Makefile for prod
> Traceback (most recent call last):
> File "/var/lib/repoapi/venv_prod/local/lib/python2.7/site-packages/celery/app/trace.py", line 240, in trace_task
> R = retval = fun(*args, **kwargs)
> File "/var/lib/repoapi/venv_prod/local/lib/python2.7/site-packages/celery/app/trace.py", line 438, in __protected_call__
> return self.run(*args, **kwargs)
> File "/usr/share/repoapi/repoapi/celery.py", line 35, in jbi_parse_hotfix
> app.send_task('hotfix_released', args=[jbi_id, path])
> File "/var/lib/repoapi/venv_prod/local/lib/python2.7/site-packages/celery/app/base.py", line 354, in send_task
> reply_to=reply_to or self.oid, **options
> File "/var/lib/repoapi/venv_prod/local/lib/python2.7/site-packages/celery/app/amqp.py", line 255, in publish_task
> raise ValueError('task args must be a list or tuple')
> ValueError: task args must be a list or tuple
Change-Id: Id1ccea3665a8face98e31608e2cd5a30acb4eaea
* remove uwsgi configs for them
* manage secret_key and virtualenv on postinst
* restart uwsgi on postinst
* add missing uwsgi as dependency
Change-Id: I40a85e75d3961c7e84d49fce5e3026064cac1d56