mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-05-01 23:31:34 +00:00
Compare commits
No commits in common. "b33a69410a4541fca9ae319d73497addd240ac83" and "73b94d5578ba61e6a1a93057edd796fac7646ff7" have entirely different histories.
b33a69410a
...
73b94d5578
@ -1,12 +1,6 @@
|
|||||||
stages:
|
stages:
|
||||||
- test
|
- test
|
||||||
- quality-assurance
|
- quality-assurance
|
||||||
- build
|
|
||||||
- release
|
|
||||||
|
|
||||||
variables:
|
|
||||||
CONTAINER_TEST_IMAGE: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
|
|
||||||
CONTAINER_RELEASE_IMAGE: $CI_REGISTRY_IMAGE:latest
|
|
||||||
|
|
||||||
py312:
|
py312:
|
||||||
stage: test
|
stage: test
|
||||||
@ -33,29 +27,3 @@ linters:
|
|||||||
- pip install tox --no-cache-dir
|
- pip install tox --no-cache-dir
|
||||||
script: tox -e linters
|
script: tox -e linters
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
|
|
||||||
build-image:
|
|
||||||
image: docker
|
|
||||||
stage: build
|
|
||||||
services:
|
|
||||||
- docker:dind
|
|
||||||
before_script:
|
|
||||||
- echo "$CI_REGISTRY_PASSWORD" | docker login $CI_REGISTRY -u $CI_REGISTRY_USER --password-stdin
|
|
||||||
script:
|
|
||||||
- docker build --pull -t $CONTAINER_TEST_IMAGE .
|
|
||||||
- docker push $CONTAINER_TEST_IMAGE
|
|
||||||
|
|
||||||
release-image:
|
|
||||||
image: docker
|
|
||||||
stage: release
|
|
||||||
services:
|
|
||||||
- docker:dind
|
|
||||||
before_script:
|
|
||||||
- echo "$CI_REGISTRY_PASSWORD" | docker login $CI_REGISTRY -u $CI_REGISTRY_USER --password-stdin
|
|
||||||
script:
|
|
||||||
- docker pull $CONTAINER_TEST_IMAGE
|
|
||||||
- docker tag $CONTAINER_TEST_IMAGE $CONTAINER_RELEASE_IMAGE
|
|
||||||
- docker push $CONTAINER_RELEASE_IMAGE
|
|
||||||
rules:
|
|
||||||
- if: $CI_COMMIT_BRANCH == "main"
|
|
||||||
|
|
||||||
|
@ -37,4 +37,4 @@ RUN ln -s /code/.bashrc /root/.bashrc
|
|||||||
ENTRYPOINT ["/code/entrypoint.sh"]
|
ENTRYPOINT ["/code/entrypoint.sh"]
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
||||||
CMD ["./manage.py", "shell"]
|
CMD ["./manage.py", "shell_plus", "--ipython"]
|
||||||
|
@ -1,28 +1,30 @@
|
|||||||
channels[daphne]~=4.2.2
|
channels[daphne]~=4.1.0
|
||||||
channels-redis~=4.2.1
|
channels-redis~=4.2.0
|
||||||
citric~=1.4.0
|
citric~=1.4.0
|
||||||
crispy-bootstrap5~=2025.4
|
crispy-bootstrap5~=2024.10
|
||||||
Django>=5.2,<6.0
|
Django>=5.1.2,<6.0
|
||||||
django-crispy-forms~=2.4
|
django-crispy-forms~=2.3
|
||||||
django-filter~=25.1
|
django-extensions~=3.2.3
|
||||||
|
django-filter~=24.3
|
||||||
django-haystack~=3.3.0
|
django-haystack~=3.3.0
|
||||||
django-mailer~=2.3.2
|
django-mailer~=2.3.2
|
||||||
django-phonenumber-field~=8.1.0
|
django-phonenumber-field~=8.0.0
|
||||||
django-pipeline~=4.0.0
|
django-pipeline~=3.1.0
|
||||||
django-polymorphic~=3.1.0
|
django-polymorphic~=3.1.0
|
||||||
django-tables2~=2.7.5
|
django-tables2~=2.7.0
|
||||||
djangorestframework~=3.16.0
|
djangorestframework~=3.15.2
|
||||||
django-rest-polymorphic~=0.1.10
|
django-rest-polymorphic~=0.1.10
|
||||||
elasticsearch~=7.17.9
|
elasticsearch~=7.17.9
|
||||||
gspread~=6.2.0
|
gspread~=6.1.4
|
||||||
gunicorn~=23.0.0
|
gunicorn~=23.0.0
|
||||||
odfpy~=1.4.1
|
odfpy~=1.4.1
|
||||||
pandas~=2.2.3
|
pandas~=2.2.3
|
||||||
phonenumbers~=9.0.3
|
phonenumbers~=8.13.47
|
||||||
psycopg~=3.2.6
|
psycopg~=3.2.3
|
||||||
pypdf~=5.4.0
|
pypdf~=5.0.1
|
||||||
|
ipython~=8.28.0
|
||||||
python-magic~=0.4.27
|
python-magic~=0.4.27
|
||||||
requests~=2.32.3
|
requests~=2.32.3
|
||||||
sympasoap~=1.1
|
sympasoap~=1.1
|
||||||
uvicorn~=0.34.2
|
uvicorn~=0.32.0
|
||||||
websockets~=15.0.1
|
websockets~=13.1
|
@ -79,6 +79,7 @@ INSTALLED_APPS = [
|
|||||||
|
|
||||||
if "test" not in sys.argv: # pragma: no cover
|
if "test" not in sys.argv: # pragma: no cover
|
||||||
INSTALLED_APPS += [
|
INSTALLED_APPS += [
|
||||||
|
'django_extensions',
|
||||||
'mailer',
|
'mailer',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user