aboutsummaryrefslogtreecommitdiff
path: root/utils/update_every_lists.sh
diff options
context:
space:
mode:
authorToni <matzeton@googlemail.com>2022-03-09 13:53:04 +0100
committerGitHub <noreply@github.com>2022-03-09 13:53:04 +0100
commitf646a4bce036edfd26215b5875fe81473dbb175d (patch)
treea416221ab841c6adb443fe01c0f7c2f3dea85fc2 /utils/update_every_lists.sh
parent74ae315e36cf206961affa5bd2869c025e4c751f (diff)
Improved ASN/IP update scripts and CI integration. (#1474)
* CI will print a warning if ASN/IP addresses changed. Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'utils/update_every_lists.sh')
-rwxr-xr-xutils/update_every_lists.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/utils/update_every_lists.sh b/utils/update_every_lists.sh
index cbc3bf68d..155585b3a 100755
--- a/utils/update_every_lists.sh
+++ b/utils/update_every_lists.sh
@@ -2,15 +2,33 @@
cd "$(dirname "${0}")" || return
+RETVAL=0
+
./aws_ip_addresses_download.sh
+RETVAL=$(( RETVAL + $? ))
./azure_ip_addresses_download.sh
+RETVAL=$(( RETVAL + $? ))
./cloudflare_ip_addresses_download.sh
+RETVAL=$(( RETVAL + $? ))
./ethereum_ip_addresses_download.sh
+RETVAL=$(( RETVAL + $? ))
./microsoft_ip_addresses_download.sh
+RETVAL=$(( RETVAL + $? ))
./tor_ip_addresses_download.sh
+RETVAL=$(( RETVAL + $? ))
./whatsapp_ip_addresses_download.sh
+RETVAL=$(( RETVAL + $? ))
./zoom_ip_addresses_download.sh
+RETVAL=$(( RETVAL + $? ))
./google_cloud_ip_addresses_download.sh
+RETVAL=$(( RETVAL + $? ))
./google_ip_addresses_download.sh
+RETVAL=$(( RETVAL + $? ))
+./icloud_private_relay_ip_addresses_download.sh
+RETVAL=$(( RETVAL + $? ))
./asn_update.sh
+RETVAL=$(( RETVAL + $? ))
+
+test ${RETVAL} -ne 0 && printf '%s: %s\n' "${0}" "${RETVAL} scripts failed"
+exit ${RETVAL}