Commit Graph
100 Commits
Author SHA1 Message Date
Thomas Stokes 12fe9cb3f0 b5938: Remove copies of mongo stuff 2024-01-11 10:40:07 +01:00
Thomas Stokes 1601c44680 b5938: remove now redundant usr/local/bin script 2024-01-11 10:39:41 +01:00
Thomas Stokes a349c28f2c b5938: backwards compatible downloadNewArch..
Use number of args to allow optional parameterisation
2024-01-11 10:38:55 +01:00
Thomas Stokes e7434560b3 b5938: backwards-compatibility update-trac-trac..
Use the number of args to ensure old editions still succeed.
Only commit in the "else" branch (same file)
2024-01-11 10:38:05 +01:00
Thomas Stokes e5cef40058 b5938: use path_of_home_dir... in crontab for auth_keys 2024-01-11 10:35:55 +01:00
Thomas Stokes c911b5ac75 b5938: deprecated comment, rename crontab mailing list + add crontab readme 2024-01-11 10:35:11 +01:00
Thomas Stokes 5379aa1b2b Merge branch 'master' of ssh://sapsailing.com/home/trac/git into bug5938 2024-01-10 16:05:07 +01:00
Thomas Stokes e0d45d5019 b5938:add image upgrade+add path to syncgit crontab 2024-01-10 15:23:48 +01:00
Thomas Stokes 7b6c5f830d Merge branch 'master' of ssh://sapsailing.com/home/trac/git into bug5938
syncgit line endings issue too
2024-01-10 11:27:23 +01:00
Thomas Stokes 7ebc76ab76 b5938: Remove crontab newlines 2024-01-09 18:40:49 +01:00
Thomas Stokes 3f782c742b b5938: Add option to only setup crontabs 2024-01-09 18:08:20 +01:00
Thomas Stokes caf5ba6036 b5938: Improve description of build-crontab 2024-01-09 18:07:24 +01:00
Thomas Stokes e99b5eb6fe b5938: clear crontab before appending to it + format 2024-01-09 17:42:16 +01:00
Thomas Stokes 5adf507a4c b5938: Fix crontab with downloadNewArchived.... 2024-01-09 16:24:01 +01:00
Thomas Stokes a7a4490304 b5938: Re-add archive_instance_setup for safety 2024-01-09 16:16:30 +01:00
Thomas Stokes ba06a55b24 b5938: Re-add mongo_instance_setup to avoid danger 2024-01-09 16:03:49 +01:00
Thomas Stokes cd8542d1d7 Merge branch 'master' of ssh://sapsailing.com/home/trac/git into bug5938 2024-01-09 15:19:53 +01:00
Thomas Stokes 1a351074e3 b5938: Add new notify-operators to repo 2024-01-09 15:11:48 +01:00
Thomas Stokes cc57014053 b5938: change mailing list update 2024-01-09 13:15:05 +01:00
Thomas Stokes 7face0c576 b5938: improve mongo health check 2024-01-08 19:42:05 +01:00
Thomas Stokes 0ecd8bf99f b5938: Add copy 2024-01-08 18:59:20 +01:00
Thomas Stokes d8c55afa92 b5938: crontab for mailing list 2024-01-08 18:12:49 +01:00
Thomas Stokes e81bac2cc3 Merge remote-tracking branch 'origin/master' into bug5938 2024-01-08 18:08:06 +01:00
Thomas Stokes 32e3e87cc6 Merge branch 'master' of ssh://sapsailing.com/home/trac/git 2024-01-08 15:28:57 +01:00
Thomas Stokes 8c85e1e861 mailinglist script only uses dir and not user 2024-01-08 15:28:39 +01:00
Thomas Stokes 4c9c01f869 Merge branch 'master' of ssh://sapsailing.com/home/trac/git into bug5933 2024-01-08 14:20:27 +01:00
Thomas G Stokes 513c3ecfa8 b5938: Add switchoverarchive random timeout 2024-01-04 14:11:42 +01:00
Thomas G Stokes 083068ba29 b5938: check home folder and install if present 2024-01-03 17:42:56 +01:00
Thomas G Stokes f6f6d007eb b5938: copy base stuff accross accross 2024-01-03 17:36:04 +01:00
Thomas G Stokes 0a4a546582 b5938: Add manage2sail demo crontab 2024-01-03 17:06:12 +01:00
Thomas Stokes 247d57d6d2 b5938: update script to go to users dir 2024-01-03 06:39:44 +01:00
Thomas Stokes 26bd205cc7 b5938: Add readme 2024-01-03 06:37:56 +01:00
Thomas Stokes 9894290a63 b5938: remove archive instance and start users folder implementation 2024-01-03 06:05:46 +01:00
Thomas Stokes 11d361ccff b5933: Use jq instead of IFS magic 2024-01-03 04:51:06 +00:00
Thomas Stokes 5b02922b9b b5933: Add landscape manager definition+ constants 2024-01-03 04:50:27 +00:00
Thomas Stokes d8cc251cac b5938: Add comment 2024-01-02 12:12:45 +00:00
Thomas Stokes d190ca1d5b b5938: Add crontab installation 2024-01-02 12:06:56 +00:00
Thomas Stokes ab813d17b3 b5933: Add first draft of script to create mailing list 2024-01-02 11:14:53 +00:00
Thomas Stokes 72da44f21b b5938: modified crontab build process 2023-12-29 14:59:36 +00:00
Thomas Stokes 3fe8ddcc22 b5938: begin rework to folder structure 2023-12-28 20:02:12 +00:00
Thomas Stokes 6f74365255 Merge branch 'master' of ssh://sapsailing.com/home/trac/git into bug5938 2023-12-21 15:41:26 +00:00
Thomas Stokes 08393c4f00 b5938: Parameterise scripts, make sed global, move mail
use sed g option
2023-12-21 15:28:39 +00:00
Thomas Stokes 86844bcb80 b5938: Add script explanations and remove tabs 2023-12-21 14:52:27 +00:00
Thomas Stokes c1e4554709 b5938: add usr/local/bin setup script 2023-12-21 13:07:27 +00:00
Thomas Stokes 4f433f845d b5938: rename all files and create build-crontab 2023-12-21 12:23:17 +00:00
Thomas Stokes 88edaaba00 b5938: Add notify operators to update_tra...urls 2023-12-21 09:41:31 +00:00
Thomas Stokes e283a86530 b5938: tweak syncgit to be optionally parameterised 2023-12-19 20:16:40 +01:00
Thomas Stokes ea2f6c5f36 add general purpose git repo config 2023-12-19 19:52:16 +01:00
Thomas Stokes 545765159c b5938: Refactor to inode approach 2023-12-19 19:48:09 +01:00
Thomas Stokes dfd178b5f3 Check if urls is null before committing 2023-12-19 16:22:11 +01:00
Thomas Stokes f7927009b3 Make update-trac-trac-urls add essentials
The update-trac-trac-urls script only commits the edited file.
2023-12-19 16:20:58 +01:00
Thomas Stokes 6c6094afb7 Add minor clarification to amazon-ec2.md 2023-12-19 13:11:43 +01:00
Thomas Stokes d137b32589 b5938: minor addition to trac trac wiki 2023-12-19 12:42:28 +01:00
Thomas Stokes 01edbed1c0 b5938: folder structure setup 2023-12-19 12:42:08 +01:00
Thomas Stokes 3caba14b0e b5938: tweak wiki and script's comment 2023-12-19 12:17:41 +01:00
Thomas Stokes e510585fd3 Merge branch 'master' of ssh://sapsailing.com/home/trac/git into bug5938 2023-12-18 10:44:32 +01:00
Thomas Stokes e097a909ab b5938: Add crontab info to creating-ec2-* 2023-12-18 10:43:37 +01:00
Thomas Stokes 8709c0c9aa b5938: Add crontab info to amazon-ec2 and docker registry 2023-12-18 10:41:04 +01:00
Thomas Stokes a57bb979dc b5938: Add crontab info to tractrac-archiving wiki 2023-12-18 10:39:03 +01:00
Thomas Stokes 1827687d9c b5938: Add crontab info to mongo readme 2023-12-18 10:36:57 +01:00
Thomas Stokes 3a9899cd9b b5938: Remove invalid sym link and add crontab comment 2023-12-14 15:51:07 +01:00
Thomas Stokes eac7e3f27c Add syncgit to repo 2023-12-14 13:23:09 +01:00
Thomas Stokes 211c4f1b96 Revert "Updated tractrac-json-urls"
This reverts commit 8a69959d03.
2023-12-14 13:16:32 +01:00
Thomas Stokes bad601fbb4 Revert "Updated tractrac-json-urls"
This reverts commit e1342641d0.
2023-12-14 11:42:18 +01:00
Thomas Stokes c77798e867 Add symlink; no longer folder redirect 2023-12-13 16:20:49 +01:00
Thomas Stokes 9654da6ecd Remove link 2023-12-13 16:20:15 +01:00
Thomas Stokes bc9ff31f75 b5938: symbolic link added 2023-12-13 16:18:03 +01:00
Thomas Stokes 6226675038 b5938: Added crontabs for different situations 2023-12-12 17:06:30 +01:00
Thomas Stokes a3b5ee55f6 b5914:Factor out constants 2023-12-07 16:21:29 +01:00
Thomas Stokes 177eba997c Remove unused variables in switchoverArchive 2023-12-07 16:03:00 +01:00
Thomas Stokes 47ffad5821 use /var/cache instead and add to help message 2023-12-07 15:52:39 +01:00
Thomas Stokes ce3c0f68a9 b5914: Check instead for time since last email sent
This previously checked that the time since the last identical
error log msg, was greater than x seconds (before notifying key operators again). It now checks that
 x seconds have passed since the last email notification
was sent with the subject "Incorrect httpd macros"
2023-12-07 14:26:18 +01:00
Thomas Stokes 7c06efddb9 b5914:Use unix time to check latest same error message 2023-12-07 13:37:43 +01:00
Thomas Stokes 28955fe9f1 bug5914: Format corrected 2023-12-07 13:37:07 +01:00
Thomas Stokes a5a4e44cf5 Merge branch 'bug5914' of ssh://sapsailing.com/home/trac/git into bug5914 2023-12-06 21:58:04 +01:00
Thomas Stokes 89f7d0e3ce b5914: Add setup procedure for failover script 2023-12-06 21:57:45 +01:00
Thomas Stokes 2a9ee49966 b5914: add upgrade procedure and remove history 2023-12-06 21:57:27 +01:00
Thomas Stokes d3c63dea6b b5914: limit "incorrect macros" mail rate 2023-12-06 21:56:36 +01:00
Thomas Stokes 9cb33886ea b5914: Add --fail and -L to script 2023-12-06 21:55:21 +01:00
Thomas Stokes e1255a78de Remove tennis and move macro to sail-insight 2023-12-06 14:25:21 +01:00
Thomas G Stokes c788a406d2 b5929: Removed various actions for archive replica set
Namely, the following: switch to replica on shared instance; scale
auto-scaling replicas up/down; define landing page; and ensure at least
one replica is running...
2023-12-06 00:32:44 +01:00
Thomas G Stokes 66b999329e Merge branch 'master' of ssh://sapsailing.com/home/trac/git into bug5929 2023-12-05 23:42:13 +01:00
Thomas G Stokes afb60ca4ae Merge branch 'bug5931' of ssh://sapsailing.com/home/trac/git into bug5931 2023-12-05 23:32:18 +01:00
Thomas G Stokes 969a70b644 b5931: Move sail-insight content to its own file
Re-add the macro too
2023-12-05 23:31:52 +01:00
Thomas G Stokes 531732f3e4 Fix notify-operators and factor string constants 2023-12-05 23:17:49 +01:00
Thomas G Stokes 29ccd2f971 b5914: move sync repo script to b1873
Renamed to sync-repo-and-execute-cmd so as to avoid merge conflicts
2023-12-05 14:04:33 +01:00
Thomas Stokes 1f1fdbe384 b5914: make 'unhealthy' archive message less scary 2023-12-04 18:55:12 +01:00
Thomas Stokes 5d7ed31d6f b5914:Notify-operators if macros.conf missing vars 2023-12-04 18:54:11 +01:00
Thomas Stokes c1eb57e507 update top of macros 2023-12-04 16:30:05 +01:00
Thomas Stokes 4362b8ea53 Remove most ssl references 2023-12-04 16:28:37 +01:00
Thomas Stokes 225d836117 make most buttons unavailable to the archive 2023-12-04 15:13:01 +01:00
Thomas Stokes 351f9a0e74 Removed concepts file and old notify script 2023-12-01 17:15:26 +01:00
Thomas Stokes 4d58d7763c Improve switchoverArchive and remove merge version.
Moved to suitable location, removed tabs, used log, found missed reload
2023-12-01 17:13:45 +01:00
Thomas Stokes 2ee5e4c46e Refactor updateHttpd to be general purpose 2023-12-01 17:11:54 +01:00
Thomas Stokes 44508767f1 Rename PRODUCTION in macros; remove old macro files 2023-12-01 17:11:04 +01:00
Thomas Stokes dd05ae5e4e Improve wiki entry 2023-12-01 17:09:57 +01:00
Thomas Stokes 87116ed899 Fix discardthreshold 2023-11-30 18:13:48 +01:00
Thomas Stokes df033e3b49 fix typo 2023-11-30 18:02:15 +01:00
Thomas Stokes 01a166d785 Major merge 2023-11-30 18:01:44 +01:00
Thomas Stokes fbf35358e3 Revert "fix typo"
This reverts commit 278ec78809.
2023-11-30 17:56:45 +01:00