Skip to content

Commit

Permalink
Merge pull request #3306 from GeotrekCE/optimize_zoning_intersections
Browse files Browse the repository at this point in the history
Cache API v2 and optimizations
  • Loading branch information
submarcos authored Nov 22, 2022
2 parents 7ae6ea0 + ed520ae commit 4449573
Show file tree
Hide file tree
Showing 115 changed files with 2,543 additions and 1,154 deletions.
3 changes: 0 additions & 3 deletions .flake8

This file was deleted.

9 changes: 7 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ on:
release:
types:
- created

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
DEBIAN_FRONTEND: noninteractive
POSTGRES_DB: ci_test
Expand Down Expand Up @@ -116,9 +121,9 @@ jobs:
pip3 wheel --wheel-dir=~/.wheel_dir -r requirements.txt
pip3 install --find-links=~/.wheel_dir -r requirements.txt
- name: Create test log directory
- name: Create test required directories
run: |
mkdir -p ./var/log
mkdir -p ./var/log ./var/cache/sessions
- name: Check migrations
run: |
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ENV CAPTURE_HOST="screamshotter"
ENV CUSTOM_SETTINGS_FILE="/opt/geotrek-admin/var/conf/custom.py"

WORKDIR /opt/geotrek-admin
RUN mkdir -p /opt/geotrek-admin/var/log
RUN mkdir -p /opt/geotrek-admin/var/log /opt/geotrek-admin/var/cache

# Install postgis because raster2pgsl is required by manage.py loaddem
RUN apt-get update -qq && apt-get install -y -qq \
Expand Down Expand Up @@ -49,7 +49,7 @@ RUN /opt/venv/bin/pip install --no-cache-dir -r requirements.txt -U
COPY geotrek/ geotrek/
COPY manage.py manage.py
COPY VERSION VERSION
COPY .coveragerc .coveragerc
COPY setup.cfg setup.cfg
COPY docker/* /usr/local/bin/

ENTRYPOINT ["/bin/sh", "-e", "/usr/local/bin/entrypoint.sh"]
Expand Down
321 changes: 0 additions & 321 deletions config.yml

This file was deleted.

1 change: 1 addition & 0 deletions debian/dirs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/opt/geotrek-admin/var/conf/extra_static
/opt/geotrek-admin/var/log
/opt/geotrek-admin/var/cache/sessions
/opt/geotrek-admin/var/media/upload
/opt/geotrek-admin/var/pid
Loading

0 comments on commit 4449573

Please sign in to comment.