From c7cfff728d1553e4a7833b2021bdc5c26e43449e Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Wed, 18 Nov 2020 16:08:03 +0100 Subject: [PATCH] comment out uniswap links from health-check --- packages/health-check/src/checks/verbose.js | 14 +++--- scripts/blocklist-skylink.sh | 4 +- yarn.lock | 47 +++++++++++++-------- 3 files changed, 39 insertions(+), 26 deletions(-) diff --git a/packages/health-check/src/checks/verbose.js b/packages/health-check/src/checks/verbose.js index b93a84f9..2991a999 100644 --- a/packages/health-check/src/checks/verbose.js +++ b/packages/health-check/src/checks/verbose.js @@ -959,11 +959,11 @@ module.exports.verboseChecks = [ skyGalleryIndexFileCheck, skyGalleryRedirectCheck, uncensoredLibraryCheck, - uniswapIndexFileCheck, - uniswapCheck, - uniswapRedirectCheck, - uniswapHNSCheck, - uniswapHNSRedirectCheck, - uniswapHNSResolverCheck, - uniswapHNSResolverRedirectCheck, + // uniswapIndexFileCheck, + // uniswapCheck, + // uniswapRedirectCheck, + // uniswapHNSCheck, + // uniswapHNSRedirectCheck, + // uniswapHNSResolverCheck, + // uniswapHNSResolverRedirectCheck, ]; diff --git a/scripts/blocklist-skylink.sh b/scripts/blocklist-skylink.sh index b4abdfcf..296354ac 100755 --- a/scripts/blocklist-skylink.sh +++ b/scripts/blocklist-skylink.sh @@ -6,9 +6,9 @@ if [ -z "$1" ]; then echo "Please provide a skylink to blocklist" && exit 1 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 - 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} 'rm -rf /home/user/skynet_webportal/docker/data/nginx/cache' # prune nginx cache done diff --git a/yarn.lock b/yarn.lock index fa28aab3..460bd1c2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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" integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== -eslint-config-prettier@6.14.0: - version "6.14.0" - resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-6.14.0.tgz#390e7863a8ae99970981933826476169285b3a27" - integrity sha512-DbVwh0qZhAC7CNDWcq8cBdK6FcVHiMTKmCypOPWeZkp9hJ8xYwTaWSa6bb6cjfi8KOeJy0e9a8Izxyx+O4+gCQ== +eslint-config-prettier@6.15.0: + version "6.15.0" + resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-6.15.0.tgz#7f93f6cb7d45a92f1537a70ecc06366e1ac6fed9" + integrity sha512-a1+kOYLR8wMGustcgAjdydMsQ2A/2ipRPwRKUmfYaSxc9ZPcrku080Ctl6zrZzZNs/U82MjSv+qKREkoq3bJaw== dependencies: get-stdin "^6.0.0" @@ -6457,6 +6457,19 @@ gatsby-core-utils@^1.3.23: tmp "^0.2.1" 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: version "0.4.15" 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: "@babel/runtime" "^7.11.2" -gatsby-image@2.4.21: - version "2.4.21" - resolved "https://registry.yarnpkg.com/gatsby-image/-/gatsby-image-2.4.21.tgz#14032912242eca6a21929eb972d12fefebb355d5" - integrity sha512-OrXJkCR7z5SYkBumjPyoZbV9RqQQZsIvO1JM4WyzIMKcOCKhpOFChCahLXdi0Ggnw0yVk58CAFYGWUjNeVdUpQ== +gatsby-image@2.5.0: + version "2.5.0" + resolved "https://registry.yarnpkg.com/gatsby-image/-/gatsby-image-2.5.0.tgz#2a1695eae3182755a9fa83891ae0ca9ab8718794" + integrity sha512-XS57PyRHSKileshs6kBqRs3KXsRVSR1xDYiSoCipDa3C4GDgUUPUPYFz+YjWAa2lk5vCkOEYk8vWdm4d2I77zA== dependencies: "@babel/runtime" "^7.11.2" object-fit-images "^3.2.4" @@ -6552,24 +6565,24 @@ gatsby-plugin-robots-txt@1.5.3: "@babel/runtime" "^7.11.2" generate-robotstxt "^8.0.3" -gatsby-plugin-sass@2.4.1: - version "2.4.1" - resolved "https://registry.yarnpkg.com/gatsby-plugin-sass/-/gatsby-plugin-sass-2.4.1.tgz#f68246a2f7917bd56ae7f6f52eee3c6c3323379b" - integrity sha512-Wg1l9WL0P/IvEV1mr7rH0RF8SKOY4AnM4V2L1inZ2ApQlObSnOSwMqaWsK/YqauhjU87vl3n8ank9bZP8t0cxA== +gatsby-plugin-sass@2.5.1: + version "2.5.1" + resolved "https://registry.yarnpkg.com/gatsby-plugin-sass/-/gatsby-plugin-sass-2.5.1.tgz#e4de5c9b3239e466e6e7c73c2c7df115307489de" + integrity sha512-q9EpTBALoBa5kZRhTEEbYILRxBaoEdYTWnb5imRutl1DAxpeqyA9wZzF2mBMPESTB7F9+1GVAt4n4mhabPUy0Q== dependencies: "@babel/runtime" "^7.11.2" sass-loader "^7.3.1" -gatsby-plugin-sharp@2.6.42: - version "2.6.42" - resolved "https://registry.yarnpkg.com/gatsby-plugin-sharp/-/gatsby-plugin-sharp-2.6.42.tgz#94556e8633a7d15299d6aa8dc5e9a686af8debfb" - integrity sha512-uqra+GDLEfE5Kv8Th1lkQKS6FIRwPzwipoWJBogfPLTnl0L3t+ogdEhN8p5d7G6SYoaukuGrix162mbQXqASBA== +gatsby-plugin-sharp@2.8.0: + version "2.8.0" + resolved "https://registry.yarnpkg.com/gatsby-plugin-sharp/-/gatsby-plugin-sharp-2.8.0.tgz#3f38d0a3eb1174c60a38a4ae6db5e91b51511de3" + integrity sha512-Ao0rSWS1zjcRloWZgw0DkMV8/W+agf+cXoKSJHI0br7nWrLMyFjWcC5e89iU+t8U40ivngzMUjxBm9S7qYCa4g== dependencies: "@babel/runtime" "^7.11.2" async "^3.2.0" bluebird "^3.7.2" fs-extra "^9.0.1" - gatsby-core-utils "^1.3.23" + gatsby-core-utils "^1.4.0" got "^10.7.0" imagemin "^7.0.1" imagemin-mozjpeg "^9.0.0"