Repository: incubator-ariatosca
Updated Branches:
  refs/heads/ARIA-321-clearwater b5d8ab42e -> 52b5a07e5 (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/52b5a07e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/tree/52b5a07e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/diff/52b5a07e

Branch: refs/heads/ARIA-321-clearwater
Commit: 52b5a07e5afcaec8af2dee2d528afa815b06c1c4
Parents: 431f40f
Author: Tal Liron <tal.li...@gmail.com>
Authored: Thu Sep 7 11:35:39 2017 -0500
Committer: Tal Liron <tal.li...@gmail.com>
Committed: Thu Sep 7 14:01:21 2017 -0500

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


http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/blob/52b5a07e/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 2858bc3..fd99abd 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,13 @@ 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
   - 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/52b5a07e/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'
 }
 
 

Reply via email to