From 041eb1efc84fbb58c6281139c8d7b05f41a81903 Mon Sep 17 00:00:00 2001 From: Shay Nehmad Date: Tue, 14 Jul 2020 11:15:43 +0300 Subject: [PATCH] CR fixed: change python version and improve exporting --- deployment_scripts/config | 15 +++++++++++---- deployment_scripts/config.ps1 | 2 +- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/deployment_scripts/config b/deployment_scripts/config index 06be20b38..bda54e390 100644 --- a/deployment_scripts/config +++ b/deployment_scripts/config @@ -13,18 +13,25 @@ get_latest_release() { MONKEY_LATEST_RELEASE=$(get_latest_release "monkey/guardicore") # Monkey binaries +LINUX_32_BINARY_NAME="monkey-linux-32" LINUX_32_BINARY_URL="https://github.com/guardicore/monkey/releases/download/$($MONKEY_LATEST_RELEASE)/monkey-linux-32" export LINUX_32_BINARY_URL -export LINUX_32_BINARY_NAME="monkey-linux-32" +export LINUX_32_BINARY_NAME + +LINUX_64_BINARY_NAME="monkey-linux-64" LINUX_64_BINARY_URL="https://github.com/guardicore/monkey/releases/download/$($MONKEY_LATEST_RELEASE)/monkey-linux-64" export LINUX_64_BINARY_URL -export LINUX_64_BINARY_NAME="monkey-linux-64" +export LINUX_64_BINARY_NAME + +WINDOWS_32_BINARY_NAME="monkey-windows-32.exe" WINDOWS_32_BINARY_URL="https://github.com/guardicore/monkey/releases/download/$($MONKEY_LATEST_RELEASE)/monkey-windows-32.exe" export WINDOWS_32_BINARY_URL -export WINDOWS_32_BINARY_NAME="monkey-windows-32.exe" +export WINDOWS_32_BINARY_NAME + +WINDOWS_64_BINARY_NAME="monkey-windows-64.exe" WINDOWS_64_BINARY_URL="https://github.com/guardicore/monkey/releases/download/$($MONKEY_LATEST_RELEASE)/monkey-windows-64.exe" export WINDOWS_64_BINARY_URL -export WINDOWS_64_BINARY_NAME="monkey-windows-64.exe" +export WINDOWS_64_BINARY_NAME # Other binaries for monkey TRACEROUTE_64_BINARY_URL="https://github.com/guardicore/monkey/releases/download/$($MONKEY_LATEST_RELEASE)/traceroute64" diff --git a/deployment_scripts/config.ps1 b/deployment_scripts/config.ps1 index f12d3adf8..1282fc2fb 100644 --- a/deployment_scripts/config.ps1 +++ b/deployment_scripts/config.ps1 @@ -8,7 +8,7 @@ $MONKEY_API_RELEASES_URL = "https://api.github.com/repos/$MONKEY_REPO/releases" $MONKEY_LATEST_VERSION = (Invoke-WebRequest $MONKEY_API_RELEASES_URL | ConvertFrom-Json)[0].tag_name $MONKEY_DOWNLOAD_URL = $MONKEY_RELEASES_URL + "/download/" + $MONKEY_LATEST_VERSION + "/" # Link to the latest python download or install it manually -$PYTHON_URL = "https://www.python.org/ftp/python/3.7.6/python-3.7.6-amd64.exe" +$PYTHON_URL = "https://www.python.org/ftp/python/3.7.7/python-3.7.7-amd64.exe" # Monkey binaries