Commit Graph

81 Commits

Author SHA1 Message Date
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
Martin Lablans 9f76b0c739 Refactor fetchVarsFromVault 2022-05-31 09:37:31 +02:00
Torben Brenner 981ff50c2f feature: Set Production Flag based on main Branch 2022-05-23 11:21:16 +02:00
Torben Brenner 54897057d9 refactor: Ensured Usage of Log Function
This should ensure a more consistent script output
2022-05-17 15:55:25 +02:00
Torben Brenner d23e15d1d8 docs: Added note on PROJECTNAME Parameter to Usage 2022-05-16 09:25:15 +02:00
Patrick Skowronek c6865624e5 Removed ref to site.conf 2022-05-16 09:21:42 +02:00
Martin Lablans 8352965d66 Don't use TTY for systemd job. 2022-05-13 15:59:05 +02:00
Martin Lablans f510b1d0cb Use http proxy set in $http_proxy. 2022-05-13 14:19:52 +02:00
Martin Lablans 1692395ffc Support retrieving credentials for vault from /etc/bridgehead/vault.conf 2022-05-13 14:11:14 +02:00
Martin Lablans 4b5af787e5 Use correct image name. 2022-05-12 18:27:34 +02:00
Martin Lablans d428f08d8a Whenever a variable has the value <VAULT>, auto-fetch value from vault. 2022-05-12 18:24:31 +02:00
Martin Lablans 334f82661b Housekeeping and script hardening in /srv/docker/bridgehead. Existing installations need to run bridgehead uninstall, bridgehead install. 2022-05-09 15:13:38 +02:00
root 6d14bf8edb Set shell script execution flag and fixed landing path 2022-02-16 12:44:46 +01:00
Patrick Skowronek d344afe203 dktk-fed 2022-02-16 09:59:53 +01:00
Martin Lablans 123ce65c82 Don't do sudo 2022-01-10 15:31:07 +01:00