From 7aad80d976608524d0b12bfba505f08b9f3e2467 Mon Sep 17 00:00:00 2001 From: Bastien Abadie <bastien@nextcairn.com> Date: Mon, 7 May 2018 15:13:25 +0200 Subject: [PATCH] Fix paths in gitlab & docker integration --- .gitlab-ci.yml | 2 +- Dockerfile | 4 ++-- setup.cfg | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e05b555e39..14afa3a364 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -25,4 +25,4 @@ backend-tests: script: - flake8 - - cd src && ./manage.py test + - cd arkindex && ./manage.py test diff --git a/Dockerfile b/Dockerfile index c558c2b64c..d73ea78a78 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,6 +23,6 @@ RUN wget --header "PRIVATE-TOKEN: $GITLAB_TOKEN" https://gitlab.com/arkindex/fro # Run through supervisor EXPOSE 80 -WORKDIR /backend/src -ENV PYTHONPATH "/backend/src" +WORKDIR /backend/arkindex +ENV PYTHONPATH "/backend/arkindex" CMD ["gunicorn", "--access-logfile=-", "--capture-output", "--bind=0.0.0.0:80", "--chdir=/backend", "arkindex.wsgi"] diff --git a/setup.cfg b/setup.cfg index a53fc4d736..f534ce1326 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,3 +1,3 @@ [flake8] max-line-length = 120 -exclude=.git,src/*/migrations/0001_initial.py +exclude=.git,arkindex/*/migrations/0001_initial.py -- GitLab