ariatosca-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From emblempar...@apache.org
Subject incubator-ariatosca git commit: Fix for SSH [Forced Update!]
Date Thu, 07 Sep 2017 19:06:49 GMT
Repository: incubator-ariatosca
Updated Branches:
  refs/heads/ARIA-321-clearwater 52b5a07e5 -> 7f1c76f06 (forced update)


Fix for SSH


Project: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/commit/7f1c76f0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/tree/7f1c76f0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/diff/7f1c76f0

Branch: refs/heads/ARIA-321-clearwater
Commit: 7f1c76f06d6f6c4d7ac8992845fdaeff5a142924
Parents: 431f40f
Author: Tal Liron <tal.liron@gmail.com>
Authored: Thu Sep 7 11:35:39 2017 -0500
Committer: Tal Liron <tal.liron@gmail.com>
Committed: Thu Sep 7 14:06:44 2017 -0500

----------------------------------------------------------------------
 .travis.yml                                     | 25 ++++++++++----------
 tests/orchestrator/execution_plugin/test_ssh.py |  2 +-
 2 files changed, 14 insertions(+), 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/blob/7f1c76f0/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 2858bc3..33f47f8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -10,9 +10,9 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-sudo: false
-
+# See: https://docs.travis-ci.com/user/reference/overview/#Virtualization-environments
 dist: trusty
+sudo: false
 
 language: python
 
@@ -20,15 +20,15 @@ python:
   - '2.7'
 
 env:
-  - TOX_ENV=pylint_code
-  - TOX_ENV=pylint_tests
-  - TOX_ENV=py27
-  - TOX_ENV=py26
-  - TOX_ENV=py27e2e
-  - TOX_ENV=py26e2e
+#  - TOX_ENV=pylint_code
+#  - TOX_ENV=pylint_tests
+#  - TOX_ENV=py27
+#  - TOX_ENV=py26
+#  - TOX_ENV=py27e2e
+#  - TOX_ENV=py26e2e
   - TOX_ENV=py27ssh
-  - TOX_ENV=py26ssh
-  - TOX_ENV=docs
+#  - TOX_ENV=py26ssh
+#  - TOX_ENV=docs
 
 addons:
   apt:
@@ -39,13 +39,14 @@ addons:
       - python2.6-dev
 
 before_install:
+  - ssh-keygen -f $HOME/.ssh/id_rsa -t rsa -N ''
+  - cat $HOME/.ssh/id_rsa.pub >> $HOME/.ssh/authorized_keys
+  - cat /etc/hosts
   - pip install --upgrade pip
   - pip install --upgrade setuptools
   - pip install tox
 
 script:
-  - uname -a
-  - nproc
   - tox --version
   - PYTEST_PROCESSES=1 tox -e $TOX_ENV
 

http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/blob/7f1c76f0/tests/orchestrator/execution_plugin/test_ssh.py
----------------------------------------------------------------------
diff --git a/tests/orchestrator/execution_plugin/test_ssh.py b/tests/orchestrator/execution_plugin/test_ssh.py
index a96c91d..47131ce 100644
--- a/tests/orchestrator/execution_plugin/test_ssh.py
+++ b/tests/orchestrator/execution_plugin/test_ssh.py
@@ -45,7 +45,7 @@ _CUSTOM_BASE_DIR = '/tmp/new-aria-ctx'
 _FABRIC_ENV = {
     'host_string': 'localhost',
     'user': 'travis',
-    'password': 'travis'
+    'key_filename': '/home/travis/.ssh/id_rsa'
 }
 
 


Mime
View raw message