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 |
|
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 |
|
Martin Lablans
|
3023b82bb1
|
Switch beam images to develop tag
|
2023-02-23 18:05:19 +01:00 |
|
Martin Lablans
|
90773ea92a
|
Switch beam images to develop tag
|
2023-02-21 09:26:53 +01:00 |
|
Martin Lablans
|
6d8e877899
|
Use beam-proxy "main" tag
|
2023-02-03 13:28:44 +01:00 |
|
Martin Lablans
|
4efe356005
|
Made it even easier for sites
|
2023-01-19 10:15:12 +00:00 |
|
Martin Lablans
|
af7960e036
|
Improve documentation
|
2023-01-19 10:05:03 +00:00 |
|
Martin Lablans
|
af54f0ca04
|
Define exliquid sites right inside the common bridgehead scripts
|
2022-12-06 11:42:18 +01:00 |
|
Martin Lablans
|
ece0dec9c9
|
Rename exliquid docker containers
|
2022-12-06 11:33:45 +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 |
|
Martin Lablans
|
00659cd8f4
|
Merge branch 'develop' into main
|
2022-11-22 14:25:55 +01:00 |
|
Martin Lablans
|
f359e06875
|
Encryption: Add root certs for CCP, BBMRI
|
2022-11-22 14:24:56 +01:00 |
|
Martin Lablans
|
bfb84666af
|
Warn about ufw
|
2022-11-21 18:13:40 +01:00 |
|
Martin Lablans
|
21f90efe96
|
Document network, file structure, monitoring, auto-updates
|
2022-11-21 09:27:14 +01:00 |
|
Martin Lablans
|
a6b7afce40
|
Documentation
|
2022-11-18 19:02:13 +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
|
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 |
|
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
|
6cd682e42c
|
Add export
|
2022-11-03 17:41:05 +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 |
|
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
|
cfdcb8af86
|
Don't expose bridgehead http(s) services by default.
|
2022-10-28 11:53:50 +02:00 |
|
Martin Lablans
|
0dae36c9d9
|
Reconcile BBMRI/CCP traefik configs.
|
2022-10-28 11:41:15 +02:00 |
|
Martin Lablans
|
ef2965f72f
|
Make traefik use certificates at /etc/bridgehead/traefik-tls
|
2022-10-28 11:37:49 +02:00 |
|
Martin Lablans
|
0cba5d315a
|
Sign, not encrypt, to avoid openssl salt
|
2022-10-28 10:37:51 +02:00 |
|
Martin Lablans
|
3a668a1cce
|
Generate consistent nNGM Connector password
|
2022-10-28 10:26:17 +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
|
404e5440b8
|
Support nngm within CCP bridgehead
|
2022-10-26 11:50: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
|
aa595d2ea2
|
Remove landing page for BBMRI
|
2022-10-25 12:07:07 +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
|
9658f6ed2e
|
Fix traefik cert
|
2022-10-17 15:21:12 +02:00 |
|
Martin Lablans
|
f8b9aed7f5
|
Cleaning
|
2022-10-17 15:09:18 +02:00 |
|
Martin Lablans
|
7ecb39d6ce
|
Use new forward proxy
|
2022-10-11 18:29:08 +02:00 |
|
Martin Lablans
|
e439510920
|
Rename spot container so it shows up in monitoring
|
2022-10-11 13:29:09 +02:00 |
|
Martin Lablans
|
f7742f2a2b
|
Make traefik volumes read-only
|
2022-10-11 13:28:51 +02:00 |
|
Martin Lablans
|
ca45a3dbe9
|
Support /etc/bridgehead/PROJECT.local.conf
|
2022-10-11 11:06:52 +02:00 |
|
Martin Lablans
|
67ec348f74
|
Support docker-compose.override.yml
|
2022-10-06 16:27:52 +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
|
b41e5b2315
|
Fix permissions on startup. Requires re-install of systemd units.
|
2022-10-05 19:58:07 +02:00 |
|
Martin Lablans
|
69b33941c4
|
Derive spot variables
|
2022-09-30 16:05: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 |
|
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 |
|
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 |
|
Martin Lablans
|
8352965d66
|
Don't use TTY for systemd job.
|
2022-05-13 15:59:05 +02:00 |
|
Martin Lablans
|
a6a7a3aa99
|
Make Share use proxy server.
|
2022-05-13 14:48:26 +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
|
5ddca3d9f4
|
Make TLS certificate generation non-interactively, and make certificates valid for a longer time.
|
2022-05-12 18:21:31 +02:00 |
|
Martin Lablans
|
821eebe8c6
|
Ask for correct SITE_NAME variable in error message.
|
2022-05-12 18:20:43 +02:00 |
|
Martin Lablans
|
66120a4ae7
|
Fix for other projects, too.
|
2022-05-10 11:56:50 +02:00 |
|
Martin Lablans
|
edc3085dca
|
New landingpage.
|
2022-05-10 11:52:38 +02:00 |
|
Martin Lablans
|
4d305e4e2f
|
Updated README.md with new bridgehead command
|
2022-05-09 15:28:09 +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 |
|
Martin Lablans
|
43bdb23849
|
Rename "convenience" systemd units
|
2022-01-10 16:42:13 +01:00 |
|
Martin Lablans
|
bcf1ba2ce1
|
Make systemctl disable more robust
|
2022-01-10 16:39:46 +01:00 |
|
Martin Lablans
|
31ab3ddef2
|
Fix uninstall-bridgehead.sh
|
2022-01-10 16:36:54 +01:00 |
|
Martin Lablans
|
0d7769fa7f
|
Several fixes to shell scripts
|
2022-01-10 16:31:48 +01:00 |
|
Martin Lablans
|
0ecf38cabb
|
Correct typo
|
2022-01-10 15:41:38 +01:00 |
|
Martin Lablans
|
99a8b5038e
|
Make sure docker-compose is found
|
2022-01-10 15:41:07 +01:00 |
|
Martin Lablans
|
123ce65c82
|
Don't do sudo
|
2022-01-10 15:31:07 +01:00 |
|
Martin Lablans
|
75b33690f6
|
Remove BRIDGEHEAD_PATH env variable
|
2022-01-10 15:17:27 +01:00 |
|
Martin Lablans
|
3bab2f6dfd
|
Correctly ignore site-specific config
|
2022-01-10 15:12:29 +01:00 |
|
Martin Lablans
|
28fad0fa90
|
Fix prereq exit
|
2022-01-10 15:11:57 +01:00 |
|
Martin Lablans
|
1658e7357b
|
Correctly ignore git submodules
|
2022-01-10 15:11:35 +01:00 |
|
Martin Lablans
|
44398c5088
|
Move prerequisites.sh to lib folder
|
2022-01-10 14:45:52 +01:00 |
|