Commit Graph

91 Commits

Author SHA1 Message Date
Martin Lablans ef2965f72f Make traefik use certificates at /etc/bridgehead/traefik-tls 2022-10-28 11:37:49 +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 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
Torben Brenner 55f4f66328 fix: Now using correct Certificates for Traefik 2022-09-30 13:57:47 +02:00
Martin Lablans da6cf14600
Add missing newline in update-bridgehead.sh 2022-09-30 13:42:41 +02:00
Torben Brenner caef43ec59 fix: Ensured use of HTTP_PROXY_URL in update job 2022-09-30 11:49:18 +02:00
Torben Brenner f4f33b95fc fix: Added Traefik Certificate Specification 2022-09-26 10:52:21 +02:00
Patrick Skowronek 066ab45e9c WIP: Beam Pem Check 2022-09-08 10:21:14 +02:00
Patrick Skowronek 5c2c76e759 Added WIP spot and beam proxy 2022-09-07 11:09:53 +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 2c50d357a9 Disable debug output. 2022-05-31 14:03:07 +02:00
Martin Lablans 2168e6299d Variable renamed to GIT_PASSWORD 2022-05-31 14:02:09 +02:00
Martin Lablans 519f4785cb Make git update use new credential helper that fetches git creds from vault. 2022-05-31 13:56:44 +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 63529250c0 feature: Added Comparison Generation for Gitlab 2022-05-19 14:26:56 +02:00
Torben Brenner ebcb1e8e20 feature: Added Link to Gitdiff for Gitlab 2022-05-19 13:38:01 +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
Patrick Skowronek 1f3a29cdab Remove old config checks 2022-05-17 13:34:16 +02:00
patrickskowronekdkfz 4ba956e45f
Merge pull request #11 from samply/feature/checkOwner
Check directory ownership.
2022-05-17 10:51:50 +02:00
patrickskowronekdkfz 1e6ec2b7c7
Merge pull request #12 from samply/feature/logGitDiff
Added Link to Git Diff for Github Repositories to Bridgehead Update
2022-05-17 10:48:12 +02:00
Patrick Skowronek 8c93524230 Merge branch 'version-1' of https://github.com/samply/bridgehead into version-1 2022-05-17 09:37:45 +02:00
Patrick Skowronek ce10b41bbb Move all .env refs to .conf 2022-05-17 09:37:20 +02:00
Torben Brenner dfaa4b8b15 feature: Added Link to Git Diff to Update Logs 2022-05-16 11:44:21 +02:00
Martin Lablans e3e83dd886 Make sure both /etc/bridgehead and /srv/docker/bridgehead are owned by the correct user. 2022-05-16 09:46:03 +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
Torben Brenner fbfd7cc428
Merge pull request #9 from samply/feature/fetchSecretsFromVault
Auto-fetch sensitive variables from vault.
2022-05-13 15:20:00 +02:00
Martin Lablans f510b1d0cb Use http proxy set in $http_proxy. 2022-05-13 14:19:52 +02:00