Commit Graph

150 Commits

Author SHA1 Message Date
Jakub Sokołowski f5d99ea653
github/add_to_private: add flags to be more reusable
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-08-09 13:36:55 +02:00
Jakub Sokołowski fe23d070ad
cloudflare/get_log: update table formatting
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-07-27 10:39:22 +02:00
Jakub Sokołowski 48d4411e9c
rename status-react to status-mobile
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-07-17 16:56:38 +02:00
Jakub Sokołowski 9932ca7cea
terraform/rename.awk: simpler version of move.awk
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-07-11 15:23:06 +02:00
Jakub Sokołowski b388b3510f
move github/update_ansible.py to ansible/update.py
Just makes more sense in that folder.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-05-11 13:50:55 +02:00
Jakub Sokołowski e8ba79c756
github: add script for getting ID of team
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-05-06 08:55:15 +02:00
Jakub Sokołowski 926f7bc7e3
terraform/move.awk: for renaming resources
Script for renaming resources when redactoring from count to for_each.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-09 12:43:04 +01:00
Jakub Sokołowski 527eaed3d4
ansible/stats.py: include vcpu and memory stats
This is achieved by extra node metadata added in:
- https://github.com/status-im/infra-role-bootstrap-linux/commit/63998e7c
- https://github.com/status-im/infra-role-bootstrap-macos/commit/f2dda03c
- https://github.com/status-im/infra-role-bootstrap-windows/commit/99df3934
- https://github.com/status-im/infra-hq/commit/898fa9f5

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-02-24 02:10:31 +01:00
Jakub Sokołowski e02875274d
ansible: add stats.py to compile counts of hosts
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-02-09 19:59:07 +01:00
Jakub Sokołowski 3f1cec0a38
s3utils/delete.py: use pagination to handle long lists
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-08-30 09:04:12 +02:00
Jakub Sokołowski 4e45ee72c6
consul/gen_hosts: script for generating hosts entries
This is useful when DNS issues make the statusim.net domain unusable.
You can connect to a Consul host using an IP and tunnel `8500` port:
```
ssh -L 8500:localhost:8500 admin@178.128.136.23
```

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-08-28 11:05:34 +02:00
Jakub Sokołowski 7a6960d559
ansible/allhosts.py: run ansible on all infra hosts
Example:
```
ansible all -i ~/work/infra-utils/ansible/allhosts.py -a uptime
```

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-08-09 13:23:09 +02:00
Jakub Sokołowski d7eea4a0e0
customize repos path with ANSIBLE_REPOS_PATH env var
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-06-29 14:35:07 +02:00
Jakub Sokołowski e2acd95f62
github/update_ansible.py: raise more exceptions
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-06-15 11:32:26 +02:00
Jakub Sokołowski f93da02346
github/update_ansible.py: easier updating of requirements
Using the normal python YAML module breaks formatting and order of entries.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-06-15 11:27:14 +02:00
Jakub Sokołowski 0f4dbde7f8
elasticsearch/esclean.py: allow use of wildcard with program
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-06-14 13:28:40 +02:00
Jakub Sokołowski a3d5545fd9
github/list_old_branches.sh: use 120 days by default
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-06-10 10:16:56 +02:00
Jakub Sokołowski 3fb92592a2
github/list_repos.py: fix lib usage, add list of orgs
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-06-10 10:16:18 +02:00
Jakub Sokołowski 66029f01ae
add script for renaming tags
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-10-19 22:00:57 +02:00
Jakub Sokołowski d95fb97e6a
add script for getting ThreatStack agents
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-10-19 21:58:51 +02:00
Jakub Sokołowski 4d9f3d822c
s3/delete.py: set MaxKeys to 99999, drop --older-than default
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-07-07 14:45:56 +02:00
Jakub Sokołowski c6dacf80af
s3: rename delete_old to delete.py, add --filter flag
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-07-07 09:58:06 +02:00
Jakub Sokołowski 4782e0d20b
s3/delete_old.py: add --dry-run
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-07-07 09:52:07 +02:00
Jakub Sokołowski 26fe3fbf22
s3: remake delete_prs.py into generic delete_old.py
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-07-07 09:49:00 +02:00
Jakub Sokołowski d1e0426cc2
elasticsearch: hash peer_id's before putting them into CSV
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-06-30 09:56:45 +02:00
Jakub Sokołowski 0a5c14a854
elasticsearch: add unique_count.py for creating CSV of peers
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-06-30 09:52:31 +02:00
Jakub Sokołowski 7d393cef3f
github: bump days count for list_old_branches.sh
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-06-30 09:29:34 +02:00
Jakub Sokołowski 3c142fffd8
reindex.sh: fix variable names
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-28 23:06:36 +02:00
Jakub Sokołowski 7baff3493d
esclean.py: add support for source IP and tags
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-27 13:02:10 +02:00
Jakub Sokołowski 55ba86a864
reindex.sh: fix paths for cloning
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-27 11:53:19 +02:00
Jakub Sokołowski 4dcc207cc4
reindex.sh: make index read-only before cloning
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-27 11:10:52 +02:00
Jakub Sokołowski 88c94f6857
reindex.sh: use _clone to re-name index back
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-27 09:23:12 +02:00
Jakub Sokołowski c1ff90f5e9
peer_id.py: fix query check
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-27 09:23:03 +02:00
Jakub Sokołowski 4f3ccd269e
esclean.py: fix query argument
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-27 09:22:35 +02:00
Jakub Sokołowski f0e4fb0846
es: add utility for removing fields
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-26 20:50:41 +02:00
Jakub Sokołowski 62cbb5d7a9
fix parameters for peer_id.py
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-26 20:35:17 +02:00
Jakub Sokołowski 3d27194f93
github/list_old_branches.sh: ignore release branches
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-12 15:50:01 +02:00
Jakub Sokołowski d7bd3fb198
github: add script for listing old branches
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-28 23:17:02 +02:00
Jakub Sokołowski 9f0aa6abaa
add way to export Discord server
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-07 14:00:39 +02:00
Jakub Sokołowski 1a9e735031
add status-go/mail_sync.py script fo syncing envelopes
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-03-27 16:41:02 +01:00
Jakub Sokołowski 499874e482
github: add prs_for_diff.sh to generate PR links for release
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-03-16 17:28:17 +01:00
Jakub Sokołowski f1e4ef372c
improve readme
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-02-22 01:08:26 +01:00
Jakub Sokołowski 4492f595a7
update readme
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-02-22 00:44:30 +01:00
Jakub Sokołowski 4b28eae979
fix help
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-02-20 22:45:32 +01:00
Jakub Sokołowski adf52e441f
lower the backoff and delay
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-02-20 16:28:57 +01:00
Jakub Sokołowski a647b307e9
esclean: fix retry
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-02-19 23:01:36 +01:00
Jakub Sokołowski e0194ef67c
add seed2key-v1
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-02-12 20:15:40 +01:00
Jakub Sokołowski fbd573da91
handle legacy hash for updating dapp
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-02-12 13:44:47 +01:00
Jakub Sokołowski 5639ea9fb2
set ipfsHash instead of hash to not break contract
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-02-12 13:22:28 +01:00
Jakub Sokołowski 93ca2c0094
fix module name
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-02-11 15:48:10 +01:00