From ed3e31f9e2c1e3aab562e52c2ec04ff638147d2a Mon Sep 17 00:00:00 2001 From: noamwegner Date: Sun, 26 Nov 2017 14:55:55 +0200 Subject: [PATCH] upgraded cloudshell-shell-core which supports https. --- .travis.yml | 5 +++-- drivers/customscript_shell/requirements.txt | 2 +- kill_python.bat | 4 ++++ package/requirements.txt | 4 ++-- 4 files changed, 10 insertions(+), 5 deletions(-) create mode 100644 kill_python.bat diff --git a/.travis.yml b/.travis.yml index c2d2cf6..1fe9cb6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,8 +5,8 @@ python: install: - pip install -r external_requirements.txt --extra-index-url https://pypi.python.org/simple - pip install -r test_requirements.txt --extra-index-url https://pypi.python.org/simple - - pip install "cloudshell-shell-core>=2.2.0,<2.3.0" --extra-index-url https://testpypi.python.org/simple - - pip install "cloudshell-automation-api>=8.0.0.0,<8.1.0.0" --extra-index-url https://testpypi.python.org/simple + - pip install "cloudshell-shell-core>=3.1.0,<3.2.0" --extra-index-url https://testpypi.python.org/simple + - pip install "cloudshell-automation-api>=8.2.0.0,<8.3.0.0" --extra-index-url https://testpypi.python.org/simple script: - pushd package @@ -21,3 +21,4 @@ notifications: email: false #notifications: # webhools: https://qualisystems.getbadges.io/api/app/webhook/{will be added later} + diff --git a/drivers/customscript_shell/requirements.txt b/drivers/customscript_shell/requirements.txt index f71fe6b..c63c7bf 100644 --- a/drivers/customscript_shell/requirements.txt +++ b/drivers/customscript_shell/requirements.txt @@ -1,2 +1,2 @@ -cloudshell-shell-core>=2.2.0,<2.3.0 +cloudshell-shell-core>=3.1.0,<3.2.0 cloudshell-cm-customscript>=1.2.0,<1.3.0 diff --git a/kill_python.bat b/kill_python.bat new file mode 100644 index 0000000..49acd5d --- /dev/null +++ b/kill_python.bat @@ -0,0 +1,4 @@ +@echo off +::taskkill /im python.exe /f +wmic Path win32_process Where "CommandLine Like '%%\\ExecutionServer\\%%python.exe%%'" Call Terminate +wmic Path win32_process Where "CommandLine Like '%%\\ProgramData\\QualiSystems\\%%python.exe%%'" Call Terminate \ No newline at end of file diff --git a/package/requirements.txt b/package/requirements.txt index 0e38305..42bbab9 100644 --- a/package/requirements.txt +++ b/package/requirements.txt @@ -1,5 +1,5 @@ -cloudshell-automation-api>=8.0.0.0,<8.1.0.0 -cloudshell-shell-core>=2.2.0,<2.3.0 +cloudshell-automation-api>=8.2.0.0,<8.3.0.0 +cloudshell-shell-core>=3.1.0,<3.2.0 pywinrm>=0.2.2 paramiko>=2.1.1 scpclient>=0.7 \ No newline at end of file