Commit Graph
100 Commits
Author SHA1 Message Date
Thomas Stokes 96dd3b97e1 Updated glossary.md (markdown) 2025-11-15 01:37:09 +00:00
Thomas Stokes a72acc7f43 Updated glossary.md (markdown) 2025-11-15 01:02:48 +00:00
Thomas Stokes 51eccdc18f Fix link 2025-11-15 00:48:41 +00:00
Thomas Stokes bededb0622 Renamed onboarding-glossary to glossary 2025-11-15 00:45:11 +00:00
Thomas Stokes 3cfcb5dca5 Add sub headings (testing wiki edits) 2025-11-14 17:49:47 +00:00
Thomas Stokes 2655e33aa9 Link to onboarding glossary. 2025-11-14 16:21:34 +00:00
Thomas Stokes c7df6a3a0e Added to reading list as wiki test. 2025-11-14 14:02:43 +00:00
Thomas Stokes ec982b8e8c Remove hyphen in README for extra clarity. 2024-07-18 12:24:06 +01:00
Thomas Stokes 7727d58da0 Made chown operation a sudo command in build_crontab.... from imageupgrade_functions.sh 2024-06-14 10:05:59 +01:00
Thomas Stokes 866bfb8b09 Remove duplicate setup_sshd_resilience.
It runs in the sailing setup script and so is not needed in the hudson setup script.
2024-06-13 22:44:06 +01:00
Thomas Stokes eaedc48561 Retry looking for an instance during disposable launch, even after an exception. 2024-06-13 12:35:18 +01:00
Thomas Stokes 761a84ceeb Add default crontab header to crontabs built with build-crontab-and-cp-files. 2024-06-12 14:44:59 +01:00
Thomas Stokes 8e220a617c Fix references to LAST_CHANGE_FILE from update_authorized_keys..._if_changed.
The last change file is now dependent on the user and so the clean_root_ssh_dir_and_tmp needed updating to clear all possible "last change files" and so did the rabbitmq
setup which changes ownership of the file to admin.
2024-06-12 14:27:06 +01:00
Thomas Stokes df6256529a Improve comment around build_crontab_and_setup_files in sailing server setup. 2024-06-12 14:18:32 +01:00
Thomas Stokes 50d68955f2 Merge branch 'main' into bug5938 2024-06-12 12:03:35 +01:00
Thomas Stokes 709d88d0bc b5938: Improve comment of hudson script. 2024-06-11 23:45:57 +01:00
Thomas Stokes c2d27927d6 Merge branch 'bug5938' of github.com:sap/sailing-analytics into bug5938 2024-06-11 22:55:44 +01:00
Thomas Stokes c8a2d306bb b5938: remove destination file before copying.
This ensures we remove old symbolic links.
2024-06-11 22:55:07 +01:00
Thomas Stokes f7229bc31c b5938: Improve mongo update 2024-06-11 17:12:18 +01:00
Thomas Stokes ff1b1ab230 Merge branch 'bug5938' of github.com:sap/sailing-analytics into bug5938 2024-06-11 15:31:22 +01:00
Thomas Stokes 45e2e37e2a Merge branch 'main' into bug5938 2024-06-11 15:09:18 +01:00
Thomas Stokes adcccf5ee3 Await route53 update instead of using a fixed timeout. 2024-06-11 14:38:25 +01:00
Thomas Stokes 0c0599627b Fix part3 of central reverse proxy setup, where there was an issue with target group registration.
Remove target groups which have NLBs as one of their Load Balancers,
so that there isn't an attempt to add an instance id to an ip-based target group.
2024-06-11 14:36:29 +01:00
Thomas Stokes 3bed4c38c6 Improve part3 of central setup to add the new instance to the IP based SSH target group. 2024-06-11 14:31:37 +01:00
Thomas Stokes 70bfa8bbbf Checkout the latest batch-for-route53..... after part 3 of central setup completes.
This removes the edits made so your git workspace is unchanged apart
from the log.txt created during bugzilla installation.
2024-06-11 14:28:55 +01:00
Thomas Stokes ed8e7fc392 Check in part 3 of central setup that the local ipv4 and instance id are fetched. 2024-06-11 14:27:22 +01:00
Thomas Stokes 0c16f46a0a Add additional termination checks. 2024-06-11 14:25:42 +01:00
Thomas Stokes 9101d233cd Merge branch 'main' of ssh://sapsailing.com/home/trac/git 2024-06-11 14:13:13 +01:00
Thomas Stokes 5e1774b810 Fix issue with user.name in Git.
The setupHttpdGitLocal.sh is ran whenever httpd
 is restarted and this sets up the repo and sets the internal server status.
 However, it was also resetting the git username which is incorrect. This should only be done on the first setup.
2024-06-11 14:13:05 +01:00
Thomas Stokes 747cf91452 Ensure that a version of update_authorized_keys_for_landscape_managers_if_changed can run for multiple users on the same instance. 2024-06-11 12:56:26 +01:00
Thomas Stokes 546b788e60 Merge branch 'main' of ssh://sapsailing.com/home/trac/git 2024-06-11 11:48:05 +01:00
Thomas Stokes 7d8ef5ef25 Remove scary host key errors in part 3 of central setup script. Add logging. 2024-06-11 11:47:48 +01:00
Thomas Stokes cf9a8f3eb1 Correct target group editing messages in part 1 and part 2 of central setup script. 2024-06-11 11:43:11 +01:00
Thomas Stokes 859111f71f fix typo 2024-06-10 15:45:39 +01:00
Thomas Stokes 26af33371c b5938: Add -t to cpan command. 2024-06-10 15:30:28 +01:00
Thomas Stokes c2dd38d282 (Cherry picked to b5912)
b5938: Comment improvements.
2024-06-10 14:05:13 +01:00
Thomas Stokes e039844064 b5912: Remove copying of old key vault 2024-06-10 13:57:22 +01:00
Thomas Stokes 7a58c8d46c b5912: Rename variable and comment about resource arn limits. 2024-06-10 13:56:51 +01:00
Thomas Stokes 382e879f35 b5912: Add params.json to the mimicked filesystem and reorder bugzilla installation. 2024-06-10 13:56:03 +01:00
Thomas Stokes a954090c90 b5912: Comments and space removal. 2024-06-10 13:54:13 +01:00
Thomas Stokes 03a6257ffc b5912: Remove duplicate sshd check and known_hosts removal. Add comment 2024-06-10 13:49:27 +01:00
Thomas Stokes eeafc7c670 Merge branch 'main' into bug5912 2024-06-10 12:23:33 +01:00
Thomas Stokes 4d8cac12ff b5938: Comment improvements. 2024-06-09 23:42:18 +01:00
Thomas Stokes 27fad2077b b5912: echo helpful reminder and clear known hosts. Use stricthostkeychecking. 2024-06-09 22:44:21 +01:00
Thomas Stokes 33041994a3 b5912: enable as not longer testing and disable msg output for git status. 2024-06-09 22:30:41 +01:00
Thomas Stokes eb02d7660b Merge branch 'main' into bug5912 2024-06-09 20:16:11 +01:00
Thomas Stokes cc990aae74 b5912: Add awstats to layout and add logrotate-old 2024-06-09 20:15:48 +01:00
Thomas Stokes 75c61730a9 b5912: Improve setup_keys comment. 2024-06-05 11:22:49 +01:00
Thomas Stokes c29fe95252 Remove erroneous commit of IP.
Partially revert "b5938: add number of arguments check."

This reverts commit 99027f1b2a.
2024-06-05 11:10:19 +01:00
Thomas Stokes 3b3e34211a b5938: check number of args after parsing the options. 2024-06-05 11:03:28 +01:00
Thomas Stokes 99027f1b2a b5938: add number of arguments check. 2024-06-05 11:01:47 +01:00
Thomas Stokes c501053f76 Add clarification regarding awsmfalogon usage in central setup. 2024-05-29 18:30:19 +02:00
Thomas Stokes 9d797ab3c8 Add central setup procedure. 2024-05-29 18:24:07 +02:00
Thomas Stokes fb00b2478a b5912: New approach for fetching az. 2024-05-29 18:06:36 +02:00
Thomas Stokes dc36ded680 b5912: Minor edits + start tmux management panel. 2024-05-29 18:01:29 +02:00
Thomas Stokes 09239f836c Merge branch 'master' into bug5912 2024-05-29 13:43:41 +02:00
Thomas Stokes b87097e3d4 b5912: Improve comments of build-crontab-and-cp-files 2024-05-29 12:16:19 +02:00
Thomas Stokes 1ee4745b0f b5912: enable wiki creation of articles. Remove logging. 2024-05-28 17:10:38 +02:00
Thomas Stokes ccb8c0d0f1 b5912: rename key vault 2024-05-28 14:39:24 +02:00
Thomas Stokes 7eaa68499a b5938: Move cat and pipe into mimicked approach for sudoers.d
This may be outdated if we migrate away from build instances (see bug5993).
2024-05-27 22:34:40 +02:00
Thomas Stokes 6221072dcd b5912: Add certbot to docker group. 2024-05-27 21:45:24 +02:00
Thomas Stokes a81d242dd1 b5912: Automatically start part 3 of the script. 2024-05-27 21:39:38 +02:00
Thomas Stokes 79c5e65af0 b5912: Restart sshd daemon if healthy. 2024-05-27 21:35:59 +02:00
Thomas Stokes 13132def93 Alter syncgit to sync main and master branches in the github and trac user remote. 2024-05-27 11:53:46 +02:00
Thomas Stokes 0054f33033 b5912: Add Home.md to allowed paths. 2024-05-27 08:20:24 +02:00
Thomas Stokes 3f3d48fade Merge branch 'bug5912' of ssh://sapsailing.com/home/trac/git into bug5912 2024-05-23 23:34:40 +02:00
Thomas Stokes 01e2366915 b5938: Add to hudson setup script.
Exit if build crontab fails. Add sshd resilience and make call to usr local bin for refreshInstance.sh.
2024-05-23 23:33:36 +02:00
Thomas Stokes 340311812c b5938: Remove aws credential installation as this is handled by setup_keys. 2024-05-23 14:00:31 +02:00
Thomas Stokes 15dc44afd6 b5938: Tidy hudson/build setup header comment and tail echo.
The last echo references the wiki, which has a couple of minor additions such as setup_keys.sh
2024-05-23 14:00:14 +02:00
Thomas Stokes da8ddd9d4f b5938: Setup hudson user 2024-05-23 13:45:50 +02:00
Thomas Stokes 07df7b0be3 b5938: Rellocated baseline installs to be before all other commands in sailing setup script 2024-05-23 11:52:23 +02:00
Thomas Stokes 59acabff1a Merge branch 'bug5938' of ssh://sapsailing.com/home/trac/git into bug5938 2024-05-23 11:39:57 +02:00
Thomas Stokes 1b4afc6e59 Merge branch 'master' into bug5938
Note: Conflict on refreshInstance.sh which has changed type to symbolic link.
2024-05-23 11:39:38 +02:00
Thomas Stokes 81fe9883d3 Merge branch 'master' into bug5912 2024-05-23 11:24:55 +02:00
Thomas Stokes 1068991875 Remove crontabs from central that require the mongo shell. 2024-05-23 11:24:42 +02:00
Thomas Stokes 0e3d5fab99 b5938: crontab for update trac trac urls is different now as it is installed on the central mongo instead of the reverse proxy. 2024-05-22 23:15:41 +02:00
Thomas Stokes eb1a4d5c05 b5938: Improve update-trac-trac-urls to ensure that stashing works correctly. 2024-05-22 13:55:55 +02:00
Thomas Stokes a705dae43b b5938: Add finduserbyemail script to central mongo 2024-05-22 13:52:09 +02:00
Thomas Stokes 6615a64e0e b5938: Use stash to safely get latest git changes. 2024-05-22 11:55:10 +02:00
Thomas Stokes 288277fad4 b5938: Add comment to top of update-trac-trac-urls and reorder check of exit status. 2024-05-22 11:26:01 +02:00
Thomas Stokes 0dbfefa267 b5938: Remove only know hosts and authorized_hosts, instead of the entire ssh folder. 2024-05-21 16:05:53 +02:00
Thomas Stokes ea29c07ba9 b5938: Fix issues with PATH in sailing script. 2024-05-21 16:05:19 +02:00
Thomas Stokes 17b6d0a0f1 b5938: Alter location to usr local bin for refreshInstance.sh Java reference 2024-05-21 10:17:55 +02:00
Thomas Stokes 73167cdbfc b5938: setup sshd resilience 2024-05-21 10:16:53 +02:00
Thomas Stokes c30e773cb3 b5938: Use imageupgrade functions for swap setup. 2024-05-21 10:16:42 +02:00
Thomas Stokes cf3ed39377 b5938: Remove Git references and symbolic link creation (as build_crontab.. is used). Setup cloud cfg and root login. 2024-05-21 10:14:47 +02:00
Thomas Stokes 73906cc2ba b5938: Setup sailing user by copying imageupgrade_functions.sh, building the crontab and setting up keys. 2024-05-21 10:13:03 +02:00
Thomas Stokes d92e386616 b5938: Remove preserve_hostname from cloud setup. 2024-05-20 17:49:32 +02:00
Thomas Stokes 0dcab541af Merge branch 'bug5938' of ssh://sapsailing.com/home/trac/git into bug5938 2024-05-20 16:19:46 +02:00
Thomas Stokes 24b90f042b Finish switch to usr local bin refreshInstance.sh 2024-05-20 16:19:36 +02:00
Thomas Stokes ffdf0f7f2f b5912: Copy awstats database across. 2024-05-19 22:52:54 +02:00
Thomas Stokes 09c1dc912d Modify mail sending to accept an optional subdomain, otherwise the hostname is used. Now works for users with sudo capabilities. 2024-05-17 18:22:23 +02:00
Thomas Stokes 9d1778e86d b5938: Add uid for sailing user. 2024-05-17 15:29:10 +02:00
Thomas Stokes 5763eaa1f5 Merge branch 'master' into bug5938 2024-05-17 14:31:47 +02:00
Thomas Stokes 80a2d70059 Improve cloud config setup to work with any sudo su capable user. 2024-05-17 14:31:34 +02:00
Thomas Stokes 595b400b08 Merge branch 'master' into bug5912 2024-05-17 14:24:01 +02:00
Thomas Stokes d2e68fc91c Merge branch 'master' into bug5938 2024-05-17 14:16:44 +02:00
Thomas Stokes 68a151163a b5938: Improve sshd resilience to work on any user with sudo permissions. 2024-05-17 14:10:44 +02:00
Thomas Stokes ff223f40d8 b5912: Add insightful echo statement. 2024-05-17 14:03:00 +02:00
Thomas Stokes 835f476b03 b5912: Add setup_swap to imageupgrade functions. 2024-05-17 14:02:30 +02:00