remove 3p spying hostnames from codebase
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Jeffrey Paul 2020-02-05 02:11:33 -08:00
parent 6d07971816
commit 66c0164228
1 changed files with 10 additions and 1 deletions

View File

@ -18,8 +18,17 @@ cd /netdata.git
# v1.19.0 release:
git checkout 5000257f0171271cb3ee2cf0fe02e8a2154ddf2e
# use the provided installer
# patch out spyware hostnames:
find . -type f -print0 | xargs -0 -P 1 -- sed -i 's#google-analytics.com#nospyware.example.com#gI'
find . -type f -print0 | xargs -0 -P 1 -- sed -i 's#googletagmanager.com#nospyware.example.com#gI'
find . -type f -print0 | xargs -0 -P 1 -- sed -i 's#my-netdata.io#nospyware.example.com#gI'
find . -type f -print0 | xargs -0 -P 1 -- sed -i 's#githubusercontent.com#nospyware.example.com#gI'
find . -type f -print0 | xargs -0 -P 1 -- sed -i 's#github.com#nospyware.example.com#gI'
find . -type f -print0 | xargs -0 -P 1 -- sed -i 's#netdata.cloud#nospyware.example.com#gI'
find . -type f -print0 | xargs -0 -P 1 -- sed -i 's#pagerduty.com#nospyware.example.com#gI'
find . -type f -print0 | xargs -0 -P 1 -- sed -i 's#shields.io#nospyware.example.com#gI'
# use the provided installer
./netdata-installer.sh --dont-wait --dont-start-it --disable-telemetry
touch /etc/netdata/.opt-out-from-anonymous-statistics