Commit Graph

222 Commits

Author SHA1 Message Date
p.delpy@dkfz-heidelberg.de af25df79e3 refactor addUser to adduser - lowercase 2023-08-15 15:42:42 +02:00
p.delpy@dkfz-heidelberg.de b58348328c fix nngm migration 2023-08-15 15:34:49 +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 4754eb282b add migration for old credentials 2023-08-15 14:08:22 +02:00
p.delpy@dkfz-heidelberg.de 3f43c32bd2 refactor addUser code 2023-08-09 09:10:20 +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
Martin Lablans 6ccf9b2a70
Merge pull request #64 from samply/automate
Allow to automate installation
2023-08-01 10:54:56 +02:00
Torben Brenner 7093166a53 fix: make the check case insensitive 2023-08-01 10:25:23 +02:00
Torben Brenner 20359fde71 fix: correctly parse curl output 2023-08-01 10:23:14 +02:00
Martin Lablans b7ed90c5c8 Change logging/reporting order 2023-07-28 11:32:52 +00:00
Martin Lablans 11bfd94f2a
Merge branch 'main' into checkClockSync 2023-07-28 13:28:18 +02:00
lablans 9facafd0c4 Only read headers from Broker to check clock skew 2023-07-28 11:23:54 +00:00
p.delpy@dkfz-heidelberg.de 788e4ea9f7 add generic bash function addBasicAuthUser 2023-07-27 13:53:20 +02:00
Tobias Kussel 3304d2818d Merge branch 'main' into feature/dnpm-connect 2023-06-28 11:45:45 +02:00
p.delpy@dkfz-heidelberg.de ee727fb220 add max-time for curl monitoring 2023-05-16 08:56:31 +02:00
Tobias Kussel d87745443e support minimal project in system preparation 2023-05-10 20:15:14 +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
Tobias Kussel ea3e148fd3
Merge pull request #62 from samply/feature/develop-install
Add developer install
2023-02-27 14:58:40 +01:00
Tobias Kussel b0086ee4af
Merge pull request #60 from samply/feature/check-for-wsl
During install, check if running in WSL and if systemd is present
2023-02-27 13:16:07 +01:00
Tobias Kussel 5d38f48f68 Add developer install 2023-02-24 16:32:17 +01:00
Tobias Kussel bfc00b9967 Prevent variable splitting in wsl check and improve error message 2023-02-24 11:41:05 +01:00
Tobias Kussel 7a350a8c9b Fix string comparison in WSL check 2023-02-24 11:29:06 +01:00
Martin Lablans 857e351b88 Support gitmirror for github.com repo 2023-02-23 18:05:53 +01:00
Martin Lablans 8b2e99200e Fix typo 2023-02-23 18:05:34 +01:00
Tobias Kussel 4578c77d4b Fix systemd check 2023-02-22 15:42:52 +01:00
Tobias Kussel 191e986364 Add check for installation in WSL and for systemd 2023-02-22 15:32:21 +01:00
lablans a23f1ae075 Automate installation 2023-02-22 12:06:28 +00:00
Torben Brenner a6975e37ac fix: Added Image Updates for activated Modules 2023-02-09 09:58:51 +01:00
Torben Brenner a1cd5a206e fix: Repaired check for Auto Updates 2023-02-09 09:50:30 +01:00
Torben Brenner 98afeac701 refactor: Use -db as Indicator for Backups 2023-02-07 16:23:49 +01:00
Torben Brenner a37bf79c03 refactor: Added Monitoring for backup permissions 2023-02-07 16:23:49 +01:00
Torben Brenner 17d48a3636 refactor: Expect User to select a Backup Directory 2023-02-07 16:23:49 +01:00
Torben Brenner 713dc5f4e9 refactor: Move Backups after the Update 2023-02-07 16:23:18 +01:00
Torben Brenner 0d998ab871 refactor: Move persistent data to named volumes 2023-02-07 16:23:18 +01:00
Torben Brenner 1c3fa4fa3f refactor: Changed Paths for persistent Data 2023-02-07 16:22:28 +01: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 10ec2b0e92
Merge pull request #45 from samply/develop
Don't warn about modified git dir twice
2022-12-05 08:40:12 +01:00
Martin Lablans eea0c665a2 Don't warn about modified git dir twice 2022-11-29 08:20:51 +00: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
Patrick Skowronek 31f4ec9a1d Removed feature branch in install script 2022-11-23 13:37:25 +01:00
Martin Lablans 22d17f264f
Merge pull request #39 from samply/feature/fullyGuidedInstallation
Facilitate installation by scripting some installation steps
2022-11-21 18:27:36 +01:00
Martin Lablans d12f9c44dc
Migrate monitoring to self-hosted instance 2022-11-21 18:06:30 +01: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 865870ea91 Until all BBMRI-ERIC bridgeheads are onboarded with git, don't consider missing git info an error 2022-11-04 17:24:23 +01:00
Martin Lablans b28fb2881c Bugfix 2022-11-04 17:20:17 +01:00
Martin Lablans 895ee37296 Report git commits in user agent to monitoring 2022-11-04 17:18:09 +01:00
Martin Lablans c31de507a6
Merge branch 'feature/samplyBeam' into log_git_errors 2022-11-04 16:23:49 +01:00
Martin Lablans 3234a81aa2 Report current git commits 2022-11-04 16:18:30 +01:00
Martin Lablans ceda942731 Remove errors in old git versions 2022-11-04 16:12:24 +01:00
Martin Lablans 8c18426d28 Move warning up 2022-11-04 16:12:08 +01:00
Torben Brenner ebc1b87dc2 feature: Added warning for modified working directories 2022-11-04 16:02:46 +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 1b0fd61863 Make local passwords longer 2022-11-03 18:15:45 +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 729d4e2c1e Check against LDM_PASSWORD 2022-11-03 17:29:52 +01:00
Martin Lablans a9864a928c Remove unnecessary docker run 2022-11-03 17:26:29 +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
p.delpy@dkfz-heidelberg.de 7ea5e928fc Removed add_bc_user.sh 2022-11-03 11:34:51 +01:00
Torben Brenner ce386f5a2a fix: Moved LDM Password to /etc/bridgehead 2022-11-03 09:14:44 +01:00
Torben Brenner 0e10205f1a fix: LDM Password is now generated at Installation 2022-11-03 09:13:32 +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 853e1d9283
Make compose check not fail 2022-10-28 14:26:57 +02:00
Martin Lablans 79fc157ad4
Merge pull request #29 from samply/feature/robustcompose
Support docker compose as well as docker-compose
2022-10-28 13:07:03 +02:00
Martin Lablans ef2965f72f Make traefik use certificates at /etc/bridgehead/traefik-tls 2022-10-28 11:37:49 +02:00
Martin Lablans 6293dc65f0 Fail in prereqs if compose does not exist 2022-10-28 10:17:14 +02:00
Martin Lablans 2aef5f29c3 Move to functions.sh 2022-10-28 10:12:21 +02:00
Martin Lablans 5755baaf00 Support docker compose as well as docker-compose 2022-10-28 10:06:43 +02:00
Martin Lablans 6a27b9a5ad
Issue a warning (but don't crash) on missing MONITOR_APIKEY 2022-10-27 11:58:24 +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 b18b98e792
Make bridgehead-update ignore commented out docker images 2022-10-26 10:10:31 +02:00
Martin Lablans 07c0c4534e Make this work for BBMRI-ERIC 2022-10-25 11:45:01 +02:00
Martin Lablans 2b78835872 Add housekeeping task (docker image cleanup) 2022-10-20 16:55:05 +02:00
Martin Lablans 17c6a2b0e0 Fix git update detection 2022-10-17 16:13:29 +02:00
Martin Lablans f72a185dbb Be more specific about what changed on an update 2022-10-17 16:07:25 +02:00
Martin Lablans a8a33291a7 Rename traefik certificate/key 2022-10-17 15:30:43 +02:00
Martin Lablans f8b9aed7f5 Cleaning 2022-10-17 15:09:18 +02:00
Martin Lablans e273e97d9c
Certificate enrollment (#24) 2022-10-17 14:38:34 +02:00
Martin Lablans 7b15e02bec Use HTTPS proxy (not http proxy) for git pull 2022-10-06 12:49:48 +02:00
Martin Lablans f7c4bf6ac5 Consider stopped docker containers for reports, updates 2022-10-06 12:49:31 +02:00
Martin Lablans 0f44934419 Clarified log message 2022-10-06 12:05:36 +02:00
Martin Lablans 2fb57980ee Format docker status table 2022-10-06 12:04:24 +02:00
Martin Lablans 8a62743894
Monitoring for bridgehead startup and update (#22) 2022-10-06 10:45:50 +02:00
Martin Lablans b41e5b2315 Fix permissions on startup. Requires re-install of systemd units. 2022-10-05 19:58:07 +02:00
Martin Lablans 091402eea0
Update prerequisites.sh 2022-09-30 17:42:53 +02:00
Martin Lablans f52012008d
Update prerequisites.sh 2022-09-30 17:36:07 +02:00
Martin Lablans 1d05137bb9
Use proxy in time check 2022-09-30 17:13:28 +02:00
Martin Lablans 7d13eace32 Check clock skew even smarter 2022-09-30 17:02:05 +02:00
Martin Lablans 054d71538d Check time sync in prereqs 2022-09-30 16:55:36 +02:00
Martin Lablans d89c08702c Update deployment 2022-09-30 15:35:37 +02:00
Martin Lablans 7692c4e889 Update install scripts and prereqs (sudo) 2022-09-30 15:25:09 +02:00