Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Kaspersky AV whitelisting #10919

Merged
merged 2 commits into from
Jul 29, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ publish-docs:
publish-av-whitelist:
stage: publish
<<: *no_git
# only: *releaseable_branches
only: *releaseable_branches
except:
variables:
- $SCHEDULE_TAG == "nightly"
Expand Down
13 changes: 11 additions & 2 deletions scripts/gitlab/publish-av-whitelists.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
#!/bin/bash
set -e

echo "__________Publish Windows binaries to Avast Whitelisting program__________"

target_filename="parity-${CI_COMMIT_TAG:-${CI_COMMIT_REF_NAME}}.exe"
apt -y update
apt -y install ftp

echo "__________Publish Windows binaries to Avast Whitelisting program__________"

ftp -pinv whitelisting.avast.com <<EOF
quote USER ftp_parityio
quote PASS $avast_ftp_password
Expand All @@ -14,3 +15,11 @@ put ./artifacts/x86_64-pc-windows-msvc/parity.exe $target_filename
bye
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