Commit Graph

72 Commits

Author SHA1 Message Date
Karol Wypchło 5e5241d45f
Merge branch 'master' into add-shell-scripts-lint 2022-09-09 10:46:15 +02:00
Ivaylo Novakov 89f7b96d5e
Replace our in-house Jaeger cleanup script with their own container that does that. 2022-08-22 12:09:43 +02:00
Karol Wypchlo e53a8ba46a
remove airtable blocklist scripts 2022-08-09 15:06:20 +02:00
Karol Wypchlo 9e1a8600a5
Revert "remove outdated blocklist scripts"
This reverts commit 0a26516bdf.
2022-08-09 15:05:11 +02:00
Karol Wypchlo 0a26516bdf
remove outdated blocklist scripts 2022-08-09 14:23:06 +02:00
Karol Wypchlo 0e43acd995
fix scripts/blocklist-skylink.sh 2022-06-07 16:27:37 +02:00
Karol Wypchlo 79bae26fcf
fix scripts/portal-down.sh 2022-06-07 16:27:04 +02:00
Ivaylo Novakov e2171b5a89
Don't use a default reason when downing a portal. 2022-04-06 18:18:32 +02:00
Ivaylo Novakov 5473b8475a
Update portal control scripts, so they can talk to the new health-check container. 2022-04-06 11:59:28 +02:00
Karol Wypchlo 94fb6dc244
rename s3 backup subdirectory 2022-03-31 14:38:06 +02:00
Karol Wypchlo b4d111871d
remove nginx prune script 2022-03-15 23:20:55 +01:00
Karol Wypchlo e2beee6fac
drop nginx blocklist proxy endpoint 2022-03-15 10:47:02 +01:00
Karol Wypchlo 837829afb8
ensure path exists and fix filename 2022-02-22 16:47:17 +01:00
Karol Wypchlo 40cf0b227f
fix bucket naming 2022-02-22 12:10:57 +01:00
Karol Wypchlo b969ae2a2a
make backup script executable 2022-02-22 12:08:00 +01:00
Karol Wypchlo 3e5c576902
incremental logs and skylinks backup 2022-02-11 14:41:21 +01:00
Karol Wypchlo dac4d57b12
clean up manual blocklist script 2022-01-10 22:35:04 +01:00
Ivaylo Novakov 991cfc3000
Cleanup Kratos, Oathkeeper, CockroachDB. 2021-12-16 13:08:35 +02:00
Filip Rysavy b4e2eec2fe
Block skylinks in batches 2021-12-13 17:35:00 +01:00
Filip Rysavy 12fffc28e2
Hot reload nginx after pruning cache 2021-12-13 12:48:12 +01:00
Filip Rysavy 1c1f3c6ec1
Fix condition mistake 2021-12-06 16:13:00 +01:00
Filip Rysavy aca71c245e
Add comments to nginx pruning script 2021-12-06 14:13:56 +01:00
Filip Rysavy 0af14d32db
Add pruning Nginx cache 2021-12-06 13:35:17 +01:00
Filip Rysavy 400aca12bc
Fix removing skylink from nginx 2021-10-27 10:55:09 +02:00
Filip Rysavy 838c2084a9
Add note to sync changes in blocklist scripts 2021-10-26 09:49:03 +02:00
firyx ec02e9afa2
Update scripts/blocklist-skylink.sh
Co-authored-by: Matthew Sevey <mjsevey@gmail.com>
2021-10-26 09:43:21 +02:00
Filip Rysavy 80373bb73f
Update blocklist skylink script 2021-10-25 16:51:27 +02:00
Karol Wypchło 2f88d081e5
Merge pull request #1301 from SkynetLabs/ivo/fix_backups_order
Backup MongoDB before CockroachDB
2021-10-22 21:28:47 +01:00
firyx cd46f5eaa5
Merge branch 'master' into fix-blocklist-skylink 2021-10-22 15:10:16 +02:00
Filip Rysavy 3e8c8a5d01
Fix blocklist skylink script 2021-10-22 10:23:06 +02:00
Matthew Sevey 9e4ac0eb38
add missing servers and missing blocklist command to script 2021-10-21 14:41:24 -04:00
Ivaylo Novakov 96c634b6e7
Backup MongoDB before CockroachDB because we can backfill user registrations in MongoDB but not in CockroachDB. 2021-10-21 10:40:33 +02:00
Ivaylo Novakov e541669a65
Remove merge leftovers. 2021-10-19 17:13:05 +02:00
Ivaylo Novakov 8bb5e24e24
Fix fingers-faster-than-brain bug. 2021-10-19 17:12:00 +02:00
Ivaylo Novakov 96a85e3ec4
Add an update for awscli. Restore the backtracking paths. 2021-10-19 17:10:31 +02:00
Ivaylo Novakov b6a165cb28
Make sure db restore works reliably and overwrites backup collections. 2021-10-19 16:10:41 +02:00
Karol Wypchlo 9026d56777
fix health check script invalid syntax
python lint job
2021-10-06 14:21:58 +02:00
Ivaylo Novakov bbdea48633
Just make the scripts runnable. 2021-08-16 15:48:59 +03:00
Matthew Sevey e5fb26ca95
replace --no-run-if-empty with -r
Co-authored-by: Karol Wypchło <kwypchlo@gmail.com>
2021-07-27 10:33:20 -04:00
Matthew Sevey f0434da421 Fix server list and use common NGINX command 2021-07-26 16:03:49 -04:00
Karol Wypchlo a6b9f1fe06 clean up webapp directory and update some deps 2021-06-17 14:40:02 +02:00
Ivaylo Novakov bbafe2de68
Increase the Jaeger sampling rate to 100%.
Update the list of servers on which we blacklist skylinks.
2021-05-25 15:01:47 +02:00
Marcin S 9346898775
Test deploy 2021-05-20 09:39:46 -04:00
Ivaylo Novakov 09fc534249
Merge pull request #752 from SkynetLabs/ivo/db_backups_fix
Fix DB backups creation
2021-05-18 10:38:53 +02:00
Ivaylo Novakov 07ba3f8e3b
Move the script to the scripts dir. 2021-05-11 16:42:37 +02:00
Ivaylo Novakov 03e9fbf481
Update awscli every time we run the script, otherwise Python will break randomly. 2021-05-11 11:26:11 +02:00
Ivaylo Novakov c9d33c0fdb
Add a script that prunes Elasticsearch indexes. 2021-05-04 13:24:09 +02:00
Ivaylo Novakov a01884dcd0
Update the hardcoded list of servers for blocking skylinks. 2021-04-27 11:13:41 +02:00
firyx 9ee51f3fab
Merge pull request #650 from SkynetLabs/sevey/scripts-readme
Add README to scripts package
2021-04-21 15:11:43 +02:00
Ivaylo Novakov 7ecb234072
Better cron for backups. 2021-04-13 12:08:26 +02:00