From acb12432146a52289321c0c838f52039223d59a4 Mon Sep 17 00:00:00 2001 From: s3krit Date: Sun, 21 Jul 2019 15:03:31 +0200 Subject: [PATCH] Avast whitelist script (#10900) * Add Avast AV whitelisting publish script * Update gitlab-ci.yml, publish-av-whitelists.sh * remove debug print --- .gitlab-ci.yml | 15 +++++++++++++++ scripts/gitlab/publish-av-whitelists.sh | 16 ++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100755 scripts/gitlab/publish-av-whitelists.sh diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2b8dc0773..430a281b0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 diff --git a/scripts/gitlab/publish-av-whitelists.sh b/scripts/gitlab/publish-av-whitelists.sh new file mode 100755 index 000000000..e5d1db1d8 --- /dev/null +++ b/scripts/gitlab/publish-av-whitelists.sh @@ -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 <