Commit Graph

64 Commits

Author SHA1 Message Date
DavidCroftDKFZ c15c3962a7 Switched to bridgehead user for git to avoid auth problems 2024-07-17 09:24:37 +02:00
DavidCroftDKFZ 153f654397 Deal with multiple data files, update repos
The check for the presence of data in the TransFAIR updating function
only worked for single CSV files. Tis commit corrects that.

Now also do a git pull on the various repos, to keep things up to date.
2024-07-12 11:07:06 +02:00
Gerhard Salvini 1b82207934 Migrated TransFAIR start logic from launch file to docker-compose
The start-up logic for TransFAIR is specific to the ECDC/EHDS2 Bridgehead,
and did not belong in the TransFAIR repo. This commit fixes that.

It also honours the change of the TransFAIR branch name for this
project, "ehds2".
2024-03-26 17:00:42 +01:00
Gerhard Salvini b9b44d2530 Using standardized conditions for starting transfair 2024-03-19 09:07:56 +01:00
Gerhard Salvini 0d1f425df0 Auto-build focus and transfair
This auto-build functionality is a workaround for a bug, described in README.

The README now has additional documentation for EHDS2.

The root certificate files have been expanded to contain certificates for
both the ECDC and the DKFZ setup.
2024-03-18 11:03:50 +01:00
lablans 392afb6410 Fix code 2023-10-24 07:23:24 +00:00
lablans f855a19865 Fix sed (?) 2023-10-24 07:12:18 +00:00
lablans bbfc607104 Always define new vars 2023-10-24 07:07:06 +00:00
lablans f008b18760 Redo proxy, set HTTPS_PROXY_HOST and HTTPS_PROXY_PORT 2023-10-24 07:01:22 +00:00
Tobias Kussel e0990d99cb Comment out HTTP proxy parsing 2023-10-23 11:06:59 +00:00
Martin Lablans 74817a21da Rewrote proxy detection logic to deal with all combinations of no/authenticated/unauthenticated proxy servers 2023-10-20 15:59:24 +02:00
Patrick Skowronek 68cd62b981 reaf: var naming for proxy usage in our bridgehead scripts 2023-10-10 10:43:22 +02:00
Patrick Skowronek 85446b0a3e Added SECURE_PROXY if the https and http proxy are the same 2023-10-09 09:43:30 +02:00
Patrick Skowronek 4bdad68da5 Added proxy user + pw detection 2023-10-05 09:43:57 +02:00
Pierre Delpy 3c0a994237 use docker cache for beam-enroll and vaultfetcher 2023-09-27 09:22:11 +02:00
janskiba 6cfa745385 Remove -it from docker run 2023-08-17 11:21:20 +00:00
p.delpy@dkfz-heidelberg.de af25df79e3 refactor addUser to adduser - lowercase 2023-08-15 15:42:42 +02:00
Pierre Delpy 829102f23e
Merge branch 'main' into feature/custom-basic-auth 2023-08-15 14:24:19 +02:00
p.delpy@dkfz-heidelberg.de dc0fc286b1 add generic bash function addBasicAuthUser 2023-08-08 09:28:59 +02:00
Martin Lablans 54d83736c3 Move BBMRI-ERIC, GBN to modules 2023-08-07 15:19:41 +02:00
p.delpy@dkfz-heidelberg.de 788e4ea9f7 add generic bash function addBasicAuthUser 2023-07-27 13:53:20 +02:00
Tobias Kussel 3e1659a38d Modularize DNPM components 2023-05-10 10:54:05 +00:00
Torben Brenner 25081c1bf4 hotfix: Switch to old Project Name 2023-03-09 15:28:07 +01:00
Martin Lablans 33b50372c6 Pull docker images from DKFZ mirror 2023-03-09 11:16:34 +01:00
Martin Lablans 380511d3bb Don't delete docker images if BK is not running 2023-03-08 10:37:37 +01:00
lablans 0ff153ef22 Use project name. Add is-running function. 2023-03-08 09:01:05 +00:00
Torben Brenner 1ffc9b9cd5 feature: Added automated Backups for PostgreSQL 2023-01-12 08:26:49 +01:00
Torben Brenner 6d24dbce7f Added Configuration for Local ID-Management 2023-01-12 08:26:49 +01:00
Martin Lablans 5593ae38bb Retry git fetch/pull to make it more resilient to e.g. network outages 2022-11-29 08:10:21 +00:00
Torben Brenner b175c55f5c Shorten installation by including some installation steps into a shell script 2022-11-18 18:09:43 +01:00
Martin Lablans c31de507a6
Merge branch 'feature/samplyBeam' into log_git_errors 2022-11-04 16:23:49 +01:00
Martin Lablans ceda942731 Remove errors in old git versions 2022-11-04 16:12:24 +01:00
Martin Lablans 9b3acb4899 Report git errors 2022-11-04 15:29:00 +01:00
Martin Lablans 6b2168ff11 Allow to read hostname from config file 2022-11-04 13:16:57 +01:00
Martin Lablans 62b8cabb31 Fix getting LDM_LOGIN 2022-11-03 18:14:11 +01:00
Martin Lablans 3ead08fae1 Add export 2022-11-03 17:38:46 +01:00
Martin Lablans 6394e1fa82 Check for LDM_PASSWORD 2022-11-03 17:23:25 +01:00
Martin Lablans 038d8d69f6 Make LDM password nicer 2022-11-03 17:19:15 +01:00
Martin Lablans 5e31da5139 Unfortunately, we cannot support docker snap installations, cf. https://askubuntu.com/questions/1374480/docker-compose-installed-with-snap-gives-error-on-yml-file
This reverts commit 292d71b6c2.
2022-10-28 15:25:06 +02:00
Martin Lablans 292d71b6c2 Support docker installation via snap, e.g. Ubuntu 22.04 2022-10-28 15:14:34 +02:00
Martin Lablans 2aef5f29c3 Move to functions.sh 2022-10-28 10:12:21 +02:00
Martin Lablans 3351e696af Don't pull ubuntu image on every startup. Use server's full hostname. 2022-10-26 10:44:32 +02:00
Martin Lablans 07c0c4534e Make this work for BBMRI-ERIC 2022-10-25 11:45:01 +02:00
Martin Lablans e273e97d9c
Certificate enrollment (#24) 2022-10-17 14:38:34 +02:00
Martin Lablans 8a62743894
Monitoring for bridgehead startup and update (#22) 2022-10-06 10:45:50 +02:00
Patrick Skowronek 8c982c939e Fixed merge conflicts 2022-07-19 14:18:48 +02:00
Patrick Skowronek 411edbf0e7 Merge branch 'version-1' into develop 2022-07-12 11:06:19 +02:00
Martin Lablans 37d954e304 New function assertVarsNotEmpty() 2022-05-31 13:56:12 +02:00
Martin Lablans 57483e78d4 Move checkOwner() to functions.sh 2022-05-31 13:55:40 +02:00
Martin Lablans ff3d6fb4fe Bugfix in fetchVarsFromVaultByFile: Detect variables with values à la "<VAULT>" 2022-05-31 13:40:25 +02:00