Commit Graph

128 Commits

Author SHA1 Message Date
pedro dfe43105ca pair instances: bugfix missing ADMIN/PASSWORD
- it was missing for the corresponding idhub2 from the pairs
- also remove old RESPONSE_URI env var
2024-03-08 13:29:07 +01:00
pedro 1d36b1a64b status: update styling, add this docker dir 2024-03-08 13:28:43 +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 604c7a014c docker ps as sudo 2024-03-07 17:36:42 +01:00
pedro 4858b7c646 status: add docker ps 2024-03-07 17:31:38 +01:00
pedro eb89c21b66 nightly-pair: temp fix for promotion req vcreds
(already applied on autotest-pair)

related to https://gitea.pangea.org/trustchain-oc1-orchestral/IdHub/issues/163
2024-03-07 16:37:14 +01:00
pedro 7f1e26b071 refactor var: ADMIN -> INITIAL_ADMIN, dyn DOMAIN
- specify clearly the ADMIN vars are when initialization, also add the password
- also allow override of domain for test instances
2024-03-07 15:15:47 +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 5325b20e45 add nightly-pair 2024-03-06 19:07:30 +01:00
pedro 58e6b238ed temp fix for promotion required vcreds
related to https://gitea.pangea.org/trustchain-oc1-orchestral/IdHub/issues/163
2024-03-06 18:55:11 +01:00
pedro d16adbbfdb bugfix makefile when branch contains / char 2024-03-06 18:54:20 +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 cdf8c20a07 bugfix domain env vars
see https://gitea.pangea.org/trustchain-oc1-orchestral/IdHub/issues/141
2024-02-29 20:46:31 +01:00
pedro 5ab483a8c0 status: adjust spacing again 2024-02-29 18:23:06 +01:00
pedro b7541f2e32 status: stricter regex 2024-02-29 18:20:57 +01:00
pedro f9171b65c5 add instance autotest-pair 2024-02-29 18:18:40 +01:00
pedro d6fb59701a status: commit info was duplicated/two times 2024-02-29 17:43:29 +01:00
pedro 7d1c4c3f9d status: fix formatting issue 2024-02-29 17:35:35 +01:00
pedro 95fcb786bd status: add branch info, improv formatting 2024-02-29 17:34:52 +01:00
pedro 306dcbcbd2 status: bugfix duplicated instances 2024-02-29 17:18:06 +01:00
pedro 3c0a788c2b status: add ssikit 2024-02-29 17:07:27 +01:00
pedro de5ef2c8d1 nightly: enable all credentials there 2024-02-29 17:02:56 +01:00
pedro fa544f4f22 status: better format 2024-02-29 12:59:27 +01:00
pedro 00071594e6 status: provide more relevant commit info 2024-02-29 12:57:15 +01:00
pedro c7bf0ca0fb update on pulling repositories
- add git pull also ssikit_trustchain
- allow customized branch pulling (idhub main on pilots vs release on
  test instances), by default main
- now autotest and nightly instances are going to point to release
2024-02-29 12:30:21 +01:00
pedro dc61c0d753 status.sh: update with data and extra commit info 2024-02-23 11:07:23 +01:00
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