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

Commit

Permalink
Avast whitelist script (#10900)
Browse files Browse the repository at this point in the history
* Add Avast AV whitelisting publish script

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

* remove debug print
  • Loading branch information
s3krit committed Aug 13, 2019
1 parent 6f2e77b commit 7f6be6e
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -323,3 +323,18 @@ publish-docs:
tags:
- linux-docker
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
16 changes: 16 additions & 0 deletions scripts/gitlab/publish-av-whitelists.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 7f6be6e

Please sign in to comment.