Avast whitelist script (#10900)

* Add Avast AV whitelisting publish script

* Update gitlab-ci.yml, publish-av-whitelists.sh

* remove debug print
This commit is contained in:
s3krit 2019-07-21 15:03:31 +02:00 committed by Marek Kotewicz
parent fa1f81b5a3
commit acb1243214
2 changed files with 31 additions and 0 deletions

View File

@ -323,3 +323,18 @@ publish-docs:
tags: tags:
- linux-docker - linux-docker
allow_failure: true allow_failure: true
publish-av-whitelist:
stage: publish
<<: *no_git
# only: *releaseable_branches
except:
variables:
- $SCHEDULE_TAG == "nightly"
cache: {}
dependencies:
- build-windows
script:
- scripts/gitlab/publish-av-whitelists.sh
tags:
- linux-docker

View File

@ -0,0 +1,16 @@
#!/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
ftp -pinv whitelisting.avast.com <<EOF
quote USER ftp_parityio
quote PASS $avast_ftp_password
cd /share
put ./artifacts/x86_64-pc-windows-msvc/parity.exe $target_filename
bye
EOF