Commit Graph

337 Commits

Author SHA1 Message Date
Karol Wypchlo e2beee6fac
drop nginx blocklist proxy endpoint 2022-03-15 10:47:02 +01:00
Fluffy9 431cf6001a
Update authorized_keys 2022-03-04 11:42:16 -05:00
Karol Wypchlo 2a2a7b7392
provide api password from env variable first 2022-03-03 16:20:23 +01:00
Karol Wypchlo 38e2367902
run daily 2022-02-22 17:02:13 +01:00
Karol Wypchlo de9422b526
fix crontab hour value 2022-02-22 11:56:31 +01:00
Karol Wypchlo f7f03d183a
replace api env vars with domain vars 2022-02-16 14:59:15 +01:00
Karol Wypchło 8f90385f3f
Merge pull request #1722 from SkynetLabs/remove-unused-jaeger-env-var
remove portal name env var
2022-02-16 11:03:58 +01:00
Karol Wypchło a13ee347e9
Merge pull request #1701 from SkynetLabs/incremental-server-backup
incremental logs and daily skylinks backup
2022-02-15 13:16:01 +01:00
Karol Wypchlo d3be15dc03
remove unnecessary portal name env var 2022-02-15 12:52:11 +01:00
Karol Wypchło f2846146f7
Merge pull request #1688 from SkynetLabs/clean-up-dashboard-url-env-var
remove dashboard url env var usage
2022-02-15 10:53:30 +01:00
Karol Wypchlo 8990262b73
adjust airtable script response 2022-02-14 11:34:47 +01:00
Karol Wypchło 1ddd5df8cc
Merge branch 'master' into clean-up-dashboard-url-env-var 2022-02-11 15:24:56 +01:00
Karol Wypchlo 3e5c576902
incremental logs and skylinks backup 2022-02-11 14:41:21 +01:00
Ivaylo Novakov b39d0205df
Move the check to the start of the script. 2022-02-11 13:55:29 +01:00
Ivaylo Novakov 411996f784
If we can't detect nginx's IP and we're bound to fail the task we don't need to go on. 2022-02-11 13:47:00 +01:00
Ivaylo Novakov b1c5f930f6
Fix db_backup.sh crontab entry. 2022-02-10 12:33:17 +01:00
Karol Wypchlo 563e351f8e
remove dashboard url env var usage 2022-02-09 14:13:53 +01:00
Matthew Sevey 5380585250
update py file for black 2022-02-03 12:02:30 -05:00
Matthew Sevey fc1000a84e
Merge branch 'master' into sevey/doc-updates 2022-02-03 11:46:57 -05:00
Filip Rysavy 28a1ebf71b
Add link to latest documantation from Gitbook 2022-02-02 09:18:48 +01:00
Karol Wypchło a7bad7411a
Merge pull request #1497 from SkynetLabs/adjust-blocklist-airtable-script
do not prune nginx cache on airtable blocklist script
2022-01-11 16:38:07 +01:00
Karol Wypchlo a73858e8e9
get rid of unused cache purgin code 2022-01-10 17:10:59 +01:00
Karol Wypchlo 5cf5acb4e2
do not prune blocklist manually 2021-12-23 13:17:07 +01:00
Ivaylo Novakov 991cfc3000
Cleanup Kratos, Oathkeeper, CockroachDB. 2021-12-16 13:08:35 +02:00
Filip Rysavy d43a0926be
Fix Python lint issue 2021-12-13 17:51:15 +01:00
Filip Rysavy b4e2eec2fe
Block skylinks in batches 2021-12-13 17:35:00 +01:00
Matthew Sevey c77e793360
Merge pull request #1430 from SkynetLabs/fil/disk-usage-root-dirs
Fil/disk usage root dirs
2021-12-13 08:44:55 -05:00
PJ 9be3e29aaf
Add newline 2021-12-10 17:33:23 +01:00
PJ 644f7f3e84
Add command to crontab 2021-12-10 17:32:01 +01:00
Filip Rysavy 66e914e649
Update root dir output 2021-12-08 12:20:57 +01:00
Filip Rysavy 0b1ea2b598
Add skynet-webportal dir sizes to dump on health checker disable 2021-12-08 11:29:31 +01:00
Filip Rysavy 0f8384436b
Add root dir sizes to dump on health checker disable 2021-12-08 09:59:46 +01:00
Ivaylo Novakov fd26441077
Merge pull request #1428 from SkynetLabs/sevey/mute-more-pings
Mute check failures unless server is down
2021-12-06 19:37:06 +01:00
Matthew Sevey 9fe0628fe7
Mute check failures unless server is down 2021-12-06 13:28:30 -05:00
Matthew Sevey 82d258008f
Merge pull request #1427 from SkynetLabs/fil/nginx-prune
Add pruning Nginx cache
2021-12-06 10:55:14 -05:00
Filip Rysavy 0af14d32db
Add pruning Nginx cache 2021-12-06 13:35:17 +01:00
Matthew Sevey 7bf366db24
Add serverload endpoint (#1410)
* write usage script for cpu and free disk space tracking, testing new endpoint

* Test alias nginx path

* testing json

* fix server load json file being served by nginx

* Fix filenames

* Add changelog

* Add systemd file for serverload

* Update setup-scripts/serverload.sh

Co-authored-by: Peter-Jan Brone <peter-jan@settlemint.com>
2021-12-06 12:49:58 +01:00
Matthew Sevey c45b9c41bd
format 2021-12-01 14:16:46 -05:00
Matthew Sevey 3e17c1a9ee
remove ping instead of disable 2021-12-01 12:07:15 -05:00
Matthew Sevey 3d11ca503f
Merge branch 'master' into sevey/disabl-load-check 2021-12-01 12:06:08 -05:00
Filip Rysavy ec3a26e8b5
Fix script permissions 2021-12-01 13:49:02 +01:00
Filip Rysavy 5ae447f9b2
Dump disk usage on health-checker critical disk space 2021-12-01 13:27:33 +01:00
Filip Rysavy f5b81d1287
Fix disabling portal in health checker 2021-11-26 16:38:53 +01:00
Matthew Sevey 31cf9fb59e
Disable load check until we have a process of actively addressing it 2021-11-24 14:13:26 -05:00
Filip Rysavy bf2e7cb7cf
Add Airtable skylinks whitespace trimming 2021-11-18 13:04:20 +01:00
Filip Rysavy 24e77ff575
Fix merge conflict 2021-11-10 15:13:14 +01:00
Filip Rysavy e99fdfe460
Fix missing colon 2021-11-10 15:10:28 +01:00
firyx c3d3f2b0e5
Update setup-scripts/blocklist-airtable.py
Co-authored-by: Karol Wypchło <kwypchlo@gmail.com>
2021-11-10 14:32:08 +01:00
Filip Rysavy efeddd6c70
Add check if Airtable vars are defined 2021-11-10 14:22:00 +01:00
Filip Rysavy 07b99b8192
Add check if Airtable vars are defined 2021-11-10 13:52:32 +01:00