Commit Graph

101 Commits

Author SHA1 Message Date
pedro 650db20086 pilot setem: DOMAIN env var is not used
domain is retrieved from the URL that the user sends
2024-02-21 14:34:52 +01:00
pedro 84d36a65e9 pilot setem: disable ALLOW_CODE_URI 2024-02-21 14:26:33 +01:00
pedro a4afdedb29 pilot setem: enable debug true 2024-02-21 14:17:01 +01:00
pedro 95d99c29e1 pilot setem: add DOMAIN env var
with cayo, we saw that it failed because domain env var gives the
wrong DOMAIN

```
didkit.DIDKitException: Unable to resolve: Error sending HTTP request : builder error: invalid domain character
> /opt/idhub/idhub/models.py(670)issue()
-> data = sign_credential(
(Pdb) p domain
'http://172.27.0.2:9003'
```
2024-02-21 13:56:37 +01:00
pedro dff8b77777 pilot setem: also create test users 2024-02-21 13:30:10 +01:00
pedro 88afbe44ab pilot-setem: add ADMIN_EMAIL 2024-02-21 13:19:44 +01:00
pedro 3b6fcccaa2 README: fix description on instances 2024-02-21 13:12:00 +01:00
pedro 9eb9108a60 status: cleanup and global exec 2024-02-20 10:59:56 +01:00
pedro 45f230550d add status report of instances 2024-02-20 10:57:28 +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 952b659b52 pilot xo9b: enable test users and specific admins
- deployment env var is going to disappear because is no longer
  relevant (I will do it in the next commit)
2024-02-07 12:32:30 +01:00
pedro 78f2deb392 change config for autotest, nightly and generic
- autotest & nigthly: no 2fa, no emails, create test users
- generic: create test users

(default vars are 2fa=true, emails=true, test_users=false)
2024-02-07 12:02:37 +01:00
pedro f22d541d67 pilot generic: fix consistency naming 2024-02-06 17:09:53 +01:00
pedro 078f9995da bugfix generic pilot 2024-02-06 16:05:05 +01:00
pedro 4f6186e8c4 lafede: bugfix deployment 2024-02-06 15:58:16 +01:00
pedro 4b3345673d build__common.sh bugfix deployment dir 2024-02-06 15:56:24 +01:00
pedro 4a99e8a4f8 enable 2fa for lafede and generic pilots 2024-02-06 15:51:01 +01:00
pedro b791ee5c85 update README with current pilots and instances 2024-02-06 15:33:13 +01:00
pedro a355e270b1 new generic pilot and instances autotest & nightly 2024-02-06 15:32:51 +01:00
pedro cd796ce262 bugfix persistent idhubs were not updating code
includes refactor of common functionality moved to build__common

related, somehow, to #2
2024-02-06 14:51:31 +01:00
pedro 24739e3983 add persistence flag, which by default is yes
progress for #2 (resolves idhub persisten needs)

and you have to explicitly say when you don't want it
2024-02-06 14:30:22 +01:00
pedro 68f9a64e4c env var idhub could be used
instance autotest starts using it
2024-02-05 20:48:20 +01:00
pedro cde51c5103 autotest: missed changing docker directory 2024-02-05 20:23:41 +01:00
pedro 19b64da7f5 build__common: wider figlet for autotest 2024-02-05 20:06:15 +01:00
pedro bc502d8cb9 autotest: temp disable 2fa 2024-02-05 20:05:19 +01:00
pedro 5ddc747d31 idhub target deployments persistent by default
except autotest instance
2024-02-05 20:00:45 +01:00
pedro bfd6a92d6c rename from pilot test to autotest instance
differentiate between instance and pilot

build common arg is target (which can be pilot or instance)
2024-02-05 20:00:30 +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 b268099193 allow all build scripts to be ran outside this dir
this is useful for automation

Reported-by: @Elahi
2024-02-02 14:36:30 +01:00
pedro 6ed7b600da pangea pilot: another error on port idhub2 2024-01-26 04:25:44 +01:00
pedro 87dcf44f0e pilot pangea: bugfix not running idhubs in dc
missing secret sharing stuff
2024-01-26 04:17:35 +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 45eef003a7 pangea pilot: fix wrong authentik volume config 2024-01-25 16:26:10 +01:00
pedro eb4afcb969 build: be more sensitive on machine that runs this 2024-01-25 15:57:20 +01:00
pedro d98c21ef42 pangea: less greedy services 2024-01-25 15:30:44 +01:00
pedro 1a8a81e27f pilot test: fix wrong port assignment 2024-01-25 15:24:05 +01:00
pedro 9f7c7d55ba fix pangea and lafede deployments 2024-01-25 15:18:56 +01:00
pedro 2cd782368d add new pilot test 2024-01-25 15:18:13 +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 a9022ae8d4 pilot xo9b: change the other idhub to the right vcred 2024-01-24 18:09:49 +01:00
pedro e507018360 confirmed that setem uses membershipcard vcred 2024-01-24 18:09:49 +01:00
mildred 9d8ac3f461 Update README.md
Correct actors for xo9b and seem
2024-01-24 16:54:20 +00:00
pedro 775f91a471 update pilot credentials
we were using test credentials, and now we have the final ones that
should be used
2024-01-24 17:11:57 +01:00
pedro 7a9850c7b1 quit confusing comment in pilot build scripts
if you want to know what does each pilot, see README.md
2024-01-24 15:23:11 +01:00
pedro b7ba1d6a7f pull-repos: git pull should go before
imagine the branch is new and does not exist
2024-01-24 15:04:32 +01:00
pedro 5146a6f9be README.md: delete trailing whitespaces 2024-01-24 15:00:04 +01:00
pedro 1da4f6b032 fix in env wrong variable name 2024-01-24 14:58:27 +01:00
pedro 837486a0fa build__common.sh: refactor var name 2024-01-24 14:58:27 +01:00
pedro e19d08d3cc build__all.sh: bugfix start
- export general env vars to ensure they are used by the pilots
- pull repos before start
2024-01-24 14:58:27 +01:00
pedro 8fd01ba3f5 pilot pangea: adapt to new situation
so, a part of applying same to pangea

pangea needs 2 idhubs
2024-01-24 14:58:27 +01:00