Commit Graph

171 Commits

Author SHA1 Message Date
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
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