Commit Graph

890 Commits

Author SHA1 Message Date
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
patrickskowronekdkfz b19402476b
Merge pull request #14 from samply/feature/determineProductionFlag
Added Environment Flag to differ between Test- and Productionsystem
2022-05-24 09:56:30 +02:00
Torben Brenner 981ff50c2f feature: Set Production Flag based on main Branch 2022-05-23 11:21:16 +02:00
patrickskowronekdkfz 4c9a5fc02f
Merge pull request #13 from samply/feature/addedGitDiffForGitlab
Ensured Logging through the Log Function
2022-05-20 13:56:54 +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 986dd133bd Removed extra-host in ccp, needs to readded later 2022-05-17 14:03:38 +02:00
Patrick Skowronek 1f3a29cdab Remove old config checks 2022-05-17 13:34:16 +02:00
Patrick Skowronek 5cf289f4ee Fixed postgres user 2022-05-17 10:57:32 +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
Patrick Skowronek 0b48ebb44a Merge branch 'version-1' of https://github.com/samply/bridgehead into version-1 2022-05-16 08:20:15 +02:00
Patrick Skowronek 08ee32ac40 Updated Readme and some other improvements 2022-05-16 08:19:49 +02:00
Martin Lablans 8352965d66 Don't use TTY for systemd job. 2022-05-13 15:59:05 +02:00
Torben Brenner 08d9412c62
Merge pull request #10 from samply/fix/makeShareUseProxyServer
Make Share use proxy server.
2022-05-13 15:21:39 +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 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
patrickskowronekdkfz 14b3f2d61b
Merge pull request #8 from samply/fix/someFixes
Some small fixes (see description)
2022-05-13 08:01:50 +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
Patrick Skowronek 2b4ea24b59 Updated Readme and remove old script 2022-05-12 13:00:08 +02:00
Patrick Skowronek 1928713b9d Fixed naming
Update the git config repo
2022-05-11 10:30:18 +02:00
patrickskowronekdkfz 4c5eb05d26
Merge pull request #7 from samply/feature/landingpage-as-container
New landing page that does not require a docker volume.
2022-05-11 09:07:21 +02:00
Patrick Skowronek 8da8a7933a Correct link to docker images 2022-05-11 09:05:23 +02:00
Patrick Skowronek 25cee2ff5b Merge branch 'version-1' into feature/landingpage-as-container 2022-05-10 14:00:58 +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
patrickskowronekdkfz 95b2fdae08
Merge pull request #6 from samply/martinsFixes
Housekeeping and script hardening in /srv/docker/bridgehead
2022-05-10 09:17:25 +02:00
Patrick Skowronek d092d28980 Merge branch 'version-1' into martinsFixes 2022-05-10 09:16:47 +02:00
Patrick Skowronek acd6b94df6 Use correct link to dockerhub 2022-05-10 09:09:58 +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
Patrick Skowronek fb583b474c Added correct version of traefik 2022-05-09 13:52:20 +02:00