comment out uniswap links from health-check

This commit is contained in:
Karol Wypchlo 2020-11-18 16:08:03 +01:00
parent 5dfdb0577e
commit c7cfff728d
3 changed files with 39 additions and 26 deletions

View File

@ -959,11 +959,11 @@ module.exports.verboseChecks = [
skyGalleryIndexFileCheck, skyGalleryIndexFileCheck,
skyGalleryRedirectCheck, skyGalleryRedirectCheck,
uncensoredLibraryCheck, uncensoredLibraryCheck,
uniswapIndexFileCheck, // uniswapIndexFileCheck,
uniswapCheck, // uniswapCheck,
uniswapRedirectCheck, // uniswapRedirectCheck,
uniswapHNSCheck, // uniswapHNSCheck,
uniswapHNSRedirectCheck, // uniswapHNSRedirectCheck,
uniswapHNSResolverCheck, // uniswapHNSResolverCheck,
uniswapHNSResolverRedirectCheck, // uniswapHNSResolverRedirectCheck,
]; ];

View File

@ -6,9 +6,9 @@ if [ -z "$1" ]; then
echo "Please provide a skylink to blocklist" && exit 1 echo "Please provide a skylink to blocklist" && exit 1
fi fi
for server in "germany.siasky.net" "us-east.siasky.net" "us-west.siasky.net" "helsinki.siasky.net" "us-va-1.siasky.net" "us-pa-2.siasky.net"; for server in "germany.siasky.net" "helsinki.siasky.net" "us-west.siasky.net" "us-va-1.siasky.net" "us-pa-1.siasky.net" "us-pa-2.siasky.net" "siasky.xyz";
do do
echo "⌁ Blacklisting on ${server}" echo "⌁ Blocking skylink on ${server}"
ssh -q -t user@${server} 'docker exec sia siac skynet blocklist add '$1'' ssh -q -t user@${server} 'docker exec sia siac skynet blocklist add '$1''
ssh -q -t user@${server} 'rm -rf /home/user/skynet_webportal/docker/data/nginx/cache' # prune nginx cache ssh -q -t user@${server} 'rm -rf /home/user/skynet_webportal/docker/data/nginx/cache' # prune nginx cache
done done

View File

@ -5339,10 +5339,10 @@ escape-string-regexp@^4.0.0:
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34"
integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==
eslint-config-prettier@6.14.0: eslint-config-prettier@6.15.0:
version "6.14.0" version "6.15.0"
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-6.14.0.tgz#390e7863a8ae99970981933826476169285b3a27" resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-6.15.0.tgz#7f93f6cb7d45a92f1537a70ecc06366e1ac6fed9"
integrity sha512-DbVwh0qZhAC7CNDWcq8cBdK6FcVHiMTKmCypOPWeZkp9hJ8xYwTaWSa6bb6cjfi8KOeJy0e9a8Izxyx+O4+gCQ== integrity sha512-a1+kOYLR8wMGustcgAjdydMsQ2A/2ipRPwRKUmfYaSxc9ZPcrku080Ctl6zrZzZNs/U82MjSv+qKREkoq3bJaw==
dependencies: dependencies:
get-stdin "^6.0.0" get-stdin "^6.0.0"
@ -6457,6 +6457,19 @@ gatsby-core-utils@^1.3.23:
tmp "^0.2.1" tmp "^0.2.1"
xdg-basedir "^4.0.0" xdg-basedir "^4.0.0"
gatsby-core-utils@^1.4.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/gatsby-core-utils/-/gatsby-core-utils-1.4.0.tgz#d42234b8a15b34237921522f9ae303a2bb833c78"
integrity sha512-wU6huyGZ8aJ/8Izfc7D39ujxaCz/jFtznufmMSXLnEBwLF5MWGsmECx4i2nfTb2kkkTFc+n0i/rx///UnPUURg==
dependencies:
ci-info "2.0.0"
configstore "^5.0.1"
fs-extra "^8.1.0"
node-object-hash "^2.0.0"
proper-lockfile "^4.1.1"
tmp "^0.2.1"
xdg-basedir "^4.0.0"
gatsby-graphiql-explorer@^0.4.15: gatsby-graphiql-explorer@^0.4.15:
version "0.4.15" version "0.4.15"
resolved "https://registry.yarnpkg.com/gatsby-graphiql-explorer/-/gatsby-graphiql-explorer-0.4.15.tgz#3a2a8d09cba4bdd1c37695b80f71b9ef9983206e" resolved "https://registry.yarnpkg.com/gatsby-graphiql-explorer/-/gatsby-graphiql-explorer-0.4.15.tgz#3a2a8d09cba4bdd1c37695b80f71b9ef9983206e"
@ -6464,10 +6477,10 @@ gatsby-graphiql-explorer@^0.4.15:
dependencies: dependencies:
"@babel/runtime" "^7.11.2" "@babel/runtime" "^7.11.2"
gatsby-image@2.4.21: gatsby-image@2.5.0:
version "2.4.21" version "2.5.0"
resolved "https://registry.yarnpkg.com/gatsby-image/-/gatsby-image-2.4.21.tgz#14032912242eca6a21929eb972d12fefebb355d5" resolved "https://registry.yarnpkg.com/gatsby-image/-/gatsby-image-2.5.0.tgz#2a1695eae3182755a9fa83891ae0ca9ab8718794"
integrity sha512-OrXJkCR7z5SYkBumjPyoZbV9RqQQZsIvO1JM4WyzIMKcOCKhpOFChCahLXdi0Ggnw0yVk58CAFYGWUjNeVdUpQ== integrity sha512-XS57PyRHSKileshs6kBqRs3KXsRVSR1xDYiSoCipDa3C4GDgUUPUPYFz+YjWAa2lk5vCkOEYk8vWdm4d2I77zA==
dependencies: dependencies:
"@babel/runtime" "^7.11.2" "@babel/runtime" "^7.11.2"
object-fit-images "^3.2.4" object-fit-images "^3.2.4"
@ -6552,24 +6565,24 @@ gatsby-plugin-robots-txt@1.5.3:
"@babel/runtime" "^7.11.2" "@babel/runtime" "^7.11.2"
generate-robotstxt "^8.0.3" generate-robotstxt "^8.0.3"
gatsby-plugin-sass@2.4.1: gatsby-plugin-sass@2.5.1:
version "2.4.1" version "2.5.1"
resolved "https://registry.yarnpkg.com/gatsby-plugin-sass/-/gatsby-plugin-sass-2.4.1.tgz#f68246a2f7917bd56ae7f6f52eee3c6c3323379b" resolved "https://registry.yarnpkg.com/gatsby-plugin-sass/-/gatsby-plugin-sass-2.5.1.tgz#e4de5c9b3239e466e6e7c73c2c7df115307489de"
integrity sha512-Wg1l9WL0P/IvEV1mr7rH0RF8SKOY4AnM4V2L1inZ2ApQlObSnOSwMqaWsK/YqauhjU87vl3n8ank9bZP8t0cxA== integrity sha512-q9EpTBALoBa5kZRhTEEbYILRxBaoEdYTWnb5imRutl1DAxpeqyA9wZzF2mBMPESTB7F9+1GVAt4n4mhabPUy0Q==
dependencies: dependencies:
"@babel/runtime" "^7.11.2" "@babel/runtime" "^7.11.2"
sass-loader "^7.3.1" sass-loader "^7.3.1"
gatsby-plugin-sharp@2.6.42: gatsby-plugin-sharp@2.8.0:
version "2.6.42" version "2.8.0"
resolved "https://registry.yarnpkg.com/gatsby-plugin-sharp/-/gatsby-plugin-sharp-2.6.42.tgz#94556e8633a7d15299d6aa8dc5e9a686af8debfb" resolved "https://registry.yarnpkg.com/gatsby-plugin-sharp/-/gatsby-plugin-sharp-2.8.0.tgz#3f38d0a3eb1174c60a38a4ae6db5e91b51511de3"
integrity sha512-uqra+GDLEfE5Kv8Th1lkQKS6FIRwPzwipoWJBogfPLTnl0L3t+ogdEhN8p5d7G6SYoaukuGrix162mbQXqASBA== integrity sha512-Ao0rSWS1zjcRloWZgw0DkMV8/W+agf+cXoKSJHI0br7nWrLMyFjWcC5e89iU+t8U40ivngzMUjxBm9S7qYCa4g==
dependencies: dependencies:
"@babel/runtime" "^7.11.2" "@babel/runtime" "^7.11.2"
async "^3.2.0" async "^3.2.0"
bluebird "^3.7.2" bluebird "^3.7.2"
fs-extra "^9.0.1" fs-extra "^9.0.1"
gatsby-core-utils "^1.3.23" gatsby-core-utils "^1.4.0"
got "^10.7.0" got "^10.7.0"
imagemin "^7.0.1" imagemin "^7.0.1"
imagemin-mozjpeg "^9.0.0" imagemin-mozjpeg "^9.0.0"