Commit Graph

30 Commits

Author SHA1 Message Date
pedro 300f705bf7 idhub.entrypoint: makemigrations not needed
supposedly you should have all the migrations from the source code or
git repository
2024-04-03 13:00:33 +02:00
pedro 41bab7124d enable gunicorn only when EXPERIMENTAL flag
move the gunicorn experimentation to a later stage https://gitea.pangea.org/trustchain-oc1-orchestral/IdHub/issues/203
2024-03-26 18:35:36 +01:00
pedro 3a1f890386 bugfix wrong gunicorn config (from 4 workers to 1)
related https://gitea.pangea.org/trustchain-oc1-orchestral/IdHub/issues/198
2024-03-22 14:54:05 +01:00
pedro cca98c1cf8 idhub entrypoint: add gunicorn 2024-03-21 14:32:17 +01:00
pedro 9a14a3f3da idhub entrypoint: refactor check_app_is_there 2024-03-21 13:54:11 +01:00
pedro 6f02b59ccc bugfix non oidc instances 2024-03-18 14:28:30 +01:00
pedro dfc709ffbf docker entrypoint: DEBUG might be not defined
and that's fine
2024-03-18 10:48:03 +01:00
pedro b25b390e6a collectstatic when DEBUG is not true 2024-03-18 10:32:28 +01:00
pedro 1e1a339917 idhub.entrypoint: refactor oidc waiting interval
instead of sleep, waits that all idhubs have wrote its content in
/sharedsecret/ dir
2024-03-18 10:05:16 +01:00
pedro a8aec1143c idhub entrypoint: inject DOMAIN env var in status
also adapt accordingly status.sh script
2024-03-08 10:10:05 +01:00
pedro 4983e3c89f idhub.entrypoint.sh: add send_mail_admins
warn admin that it should re-enter password to keep the service working
2024-03-07 14:09:13 +01:00
pedro 69857af966 idhub entrypoint: make git commit footer work 2024-03-06 18:53:34 +01:00
pedro dd0488cbe8 adjust env vars and docker entrypoint
also update autotest and nightly instances

for more details, see
https://gitea.pangea.org/trustchain-oc1-orchestral/IdHub/issues/160
2024-03-06 14:51:43 +01:00
pedro d53b35fff4 idhub deployment var no longer needed
you just enable DEBUG whenever is necessary
2024-02-07 12:43:52 +01:00
pedro 35b8a294a4 deployment for early pilots (first on test pilot)
- includes idhub entrypoint relevant refactor
- prepare env vars for test pilot
2024-02-02 19:43:36 +01:00
pedro 9a67710ec3 new Dockerfiles for musician and orchestra
orchestra: 1.28GB -> 848MB
musician:   497MB -> 169MB
2024-01-26 03:44:56 +01:00
pedro 07376ba0b1 idhub: optimize size
applies optimizations because use of: apt, pip (python)

debian:bookworm-slim 1.21GB
python:3.11.7-slim-bookworm 880 MiB
2024-01-25 14:54:12 +01:00
pedro 78a79e69e9 preserve docker build cache on orchestra musician
produce docker build speedup

- git checkout produce docker cache invalidation, do it when needed
- use /opt/app PATH for the two containers
- use two different layers: one to do the pip requirements, the other
  for the rest of the sourcecode
2024-01-24 01:05:37 +01:00
pedro 1244a2035b make didkit pip work 2024-01-23 10:41:20 +01:00
pedro a10075e80e musician: make it build and run, missing IDP binds 2024-01-23 09:10:41 +01:00
pedro 1cc0cdc4d9 idhub docker: requirements for lafede pilot
- add dependency for pdf signature
- this one does not need the OIDC4VP thing
2024-01-16 10:56:12 +01:00
pedro 2a19a05f4d idbhub: fix secret sharing 2023-12-15 09:31:50 +01:00
pedro 553bc3efe1 deployment for demo 12D (not tested) 2023-12-12 11:17:04 +01:00
pedro df05735979 idhub: make it more dev env friendly
now idhub docker just has the dev env, you need to map the idhub repo
as a volume (there is a friendly error handling for that)
2023-12-01 10:10:11 +01:00
pedro 2b433c4d29 useful dockerignores to ignore local python env
that were docker ignores needed to ignore a local python env and its
sqlite db
2023-11-16 17:17:56 +01:00
pedro e2e74926ca docker: put init data as part of dev deployment
use django default env vars on a production deployment
2023-11-16 17:03:19 +01:00
Cayo Puigdefabregas fd3014afd7 add creating initial datas as command 2023-11-03 13:28:17 +01:00
Cayo Puigdefabregas 40617b7cfe add creating initial datas 2023-11-03 12:01:12 +01:00
pedro f68e1638fc idhub docker temp
because of WIP on sso branches errors for musician and orchestra

and final verification for devicehub

only idhub is working
2023-10-31 11:00:08 +01:00
pedro 27742db4fb init with previous work
this repo is a reinitialization with a change in the concept

previous repo had git subtree of django-musician and django-orchestra,
that was too static for our interest

next approach is a script that pulls git repos, and that would be
needed if you want to build everything, if not, just with the docker
compose you would have enough for running the containers, hence,
downloading the images from the docker registry
2023-10-10 10:07:46 +02:00