Merge branch 'master' into pyup-pin-djangorestframework-3.5.4
This commit is contained in:
commit
a3d033bd41
|
@ -27,8 +27,9 @@ pipeline:
|
|||
script:
|
||||
- cd /var/www/stage/maidstone-hackspace-website
|
||||
- git pull
|
||||
- docker-compose down
|
||||
- docker-compose up -d
|
||||
- docker-compose -fstage.yml build
|
||||
- docker-compose -fstage.yml down --remove-orphans
|
||||
- docker-compose -fstage.yml up -d
|
||||
|
||||
publish-live:
|
||||
# pull: True
|
||||
|
|
|
@ -5,7 +5,7 @@ ENV PYTHONUNBUFFERED 1
|
|||
# Requirements have to be pulled and installed here, otherwise caching won't work
|
||||
COPY ./requirements /requirements
|
||||
|
||||
RUN pip install -r /requirements/production.txt \
|
||||
RUN pip install --cache-dir ./cache/pip -r /requirements/production.txt \
|
||||
&& groupadd -r django \
|
||||
&& useradd -r -g django django
|
||||
|
||||
|
@ -18,7 +18,7 @@ RUN mkdir -p /var/log/gunicorn/ \
|
|||
&& chmod -R 770 /var/log/gunicorn/
|
||||
|
||||
COPY ./compose/django/live-gunicorn-mhackspace.sh /live-gunicorn-mhackspace.sh
|
||||
COPY ./compose/django/live-gunicorn-mhackspace.sh /stage-gunicorn-mhackspace.sh
|
||||
COPY ./compose/django/stage-gunicorn-mhackspace.sh /stage-gunicorn-mhackspace.sh
|
||||
COPY ./compose/django/entrypoint.sh /entrypoint.sh
|
||||
RUN sed -i 's/\r//' /entrypoint.sh \
|
||||
&& sed -i 's/\r//' /stage-gunicorn-mhackspace.sh \
|
||||
|
|
|
@ -4,7 +4,7 @@ ENV PYTHONUNBUFFERED 1
|
|||
|
||||
# Requirements have to be pulled and installed here, otherwise caching won't work
|
||||
COPY ./requirements /requirements
|
||||
RUN pip install -r /requirements/local.txt
|
||||
RUN pip install --cache-dir ./cache/pip -r /requirements/local.txt
|
||||
|
||||
COPY ./compose/django/entrypoint.sh /entrypoint.sh
|
||||
RUN sed -i 's/\r//' /entrypoint.sh
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
python /app/manage.py collectstatic --noinput
|
||||
python /app/manage.py compilescss
|
||||
|
||||
/usr/local/bin/gunicorn config.wsgi -w 4 -b unix:/data/sockets/stage-gunicorn-mhackpace.sock --error-logfile /var/log/gunicorn/stage-gunicorn-mhackspace.log --chdir=/app
|
||||
/usr/local/bin/gunicorn config.wsgi -w 4 -b unix:/data/sockets/stage-gunicorn-mhackspace.sock --error-logfile /var/log/gunicorn/stage-gunicorn-mhackspace.log --chdir=/app
|
||||
|
|
|
@ -16,7 +16,7 @@ class Migration(migrations.Migration):
|
|||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='bannerimages',
|
||||
model_name='bannerimage',
|
||||
name='scaled_image',
|
||||
field=stdimage.models.StdImageField(blank=True, null=True, upload_to=stdimage.utils.UploadToAutoSlugClassNameDir('title'), validators=[stdimage.validators.MinSizeValidator(1200, 300)]),
|
||||
),
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.10.5 on 2017-02-26 08:44
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('base', '0003_auto_20170215_2146'),
|
||||
('base', '0003_auto_20170222_2055'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
]
|
|
@ -0,0 +1,16 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.10.5 on 2017-02-26 08:44
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('users', '0002_auto_20170222_2055'),
|
||||
('users', '0002_user_public'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
]
|
|
@ -58,5 +58,7 @@ braintree==3.35.0
|
|||
django-autofixture==0.12.1
|
||||
|
||||
git+https://github.com/olymk2/scaffold.git
|
||||
|
||||
djangorestframework==3.5.4
|
||||
django-filter
|
||||
django-filter==1.0.1
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
-r base.txt
|
||||
coverage==4.3.1
|
||||
django-coverage-plugin==1.5.0
|
||||
Sphinx==1.5.1
|
||||
Sphinx==1.5.3
|
||||
django-extensions==1.7.7
|
||||
Werkzeug==0.11.15
|
||||
django-test-plus==1.0.16
|
||||
|
|
Loading…
Reference in New Issue