Kaspersky AV whitelisting (#10919)

* Add Kaspersky's FTP to AV Whitelisting release script

* Uncommented lines commented for debugging
This commit is contained in:
s3krit 2019-07-29 16:44:19 +02:00 committed by Marek Kotewicz
parent ee9bfac625
commit ec90fc47bc
2 changed files with 12 additions and 3 deletions

View File

@ -327,7 +327,7 @@ publish-docs:
publish-av-whitelist: publish-av-whitelist:
stage: publish stage: publish
<<: *no_git <<: *no_git
# only: *releaseable_branches only: *releaseable_branches
except: except:
variables: variables:
- $SCHEDULE_TAG == "nightly" - $SCHEDULE_TAG == "nightly"

View File

@ -1,11 +1,12 @@
#!/bin/bash #!/bin/bash
set -e set -e
echo "__________Publish Windows binaries to Avast Whitelisting program__________"
target_filename="parity-${CI_COMMIT_TAG:-${CI_COMMIT_REF_NAME}}.exe" target_filename="parity-${CI_COMMIT_TAG:-${CI_COMMIT_REF_NAME}}.exe"
apt -y update apt -y update
apt -y install ftp apt -y install ftp
echo "__________Publish Windows binaries to Avast Whitelisting program__________"
ftp -pinv whitelisting.avast.com <<EOF ftp -pinv whitelisting.avast.com <<EOF
quote USER ftp_parityio quote USER ftp_parityio
quote PASS $avast_ftp_password quote PASS $avast_ftp_password
@ -14,3 +15,11 @@ put ./artifacts/x86_64-pc-windows-msvc/parity.exe $target_filename
bye bye
EOF EOF
echo "__________Publish Windows binaries to Kaspersky Whitelisting program__________"
ftp -pinv whitelist1.kaspersky-labs.com <<EOF
quote USER wl-ParityTech
quote PASS $kaspersky_ftp_password
put ./artifacts/x86_64-pc-windows-msvc/parity.exe $target_filename
bye
EOF