1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-04-28 04:12:37 +00:00

Compare commits

..

No commits in common. "b33a69410a4541fca9ae319d73497addd240ac83" and "73b94d5578ba61e6a1a93057edd796fac7646ff7" have entirely different histories.

4 changed files with 20 additions and 49 deletions

View File

@ -1,12 +1,6 @@
stages:
- test
- quality-assurance
- build
- release
variables:
CONTAINER_TEST_IMAGE: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
CONTAINER_RELEASE_IMAGE: $CI_REGISTRY_IMAGE:latest
py312:
stage: test
@ -33,29 +27,3 @@ linters:
- pip install tox --no-cache-dir
script: tox -e linters
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"

View File

@ -37,4 +37,4 @@ RUN ln -s /code/.bashrc /root/.bashrc
ENTRYPOINT ["/code/entrypoint.sh"]
EXPOSE 80
CMD ["./manage.py", "shell"]
CMD ["./manage.py", "shell_plus", "--ipython"]

View File

@ -1,28 +1,30 @@
channels[daphne]~=4.2.2
channels-redis~=4.2.1
channels[daphne]~=4.1.0
channels-redis~=4.2.0
citric~=1.4.0
crispy-bootstrap5~=2025.4
Django>=5.2,<6.0
django-crispy-forms~=2.4
django-filter~=25.1
crispy-bootstrap5~=2024.10
Django>=5.1.2,<6.0
django-crispy-forms~=2.3
django-extensions~=3.2.3
django-filter~=24.3
django-haystack~=3.3.0
django-mailer~=2.3.2
django-phonenumber-field~=8.1.0
django-pipeline~=4.0.0
django-phonenumber-field~=8.0.0
django-pipeline~=3.1.0
django-polymorphic~=3.1.0
django-tables2~=2.7.5
djangorestframework~=3.16.0
django-tables2~=2.7.0
djangorestframework~=3.15.2
django-rest-polymorphic~=0.1.10
elasticsearch~=7.17.9
gspread~=6.2.0
gspread~=6.1.4
gunicorn~=23.0.0
odfpy~=1.4.1
pandas~=2.2.3
phonenumbers~=9.0.3
psycopg~=3.2.6
pypdf~=5.4.0
phonenumbers~=8.13.47
psycopg~=3.2.3
pypdf~=5.0.1
ipython~=8.28.0
python-magic~=0.4.27
requests~=2.32.3
sympasoap~=1.1
uvicorn~=0.34.2
websockets~=15.0.1
uvicorn~=0.32.0
websockets~=13.1

View File

@ -79,6 +79,7 @@ INSTALLED_APPS = [
if "test" not in sys.argv: # pragma: no cover
INSTALLED_APPS += [
'django_extensions',
'mailer',
]