Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

Connection adapters with phpseclib #18

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
996a49f
Added ConnectionAdapterInterface
niels-nijens Oct 15, 2015
c07b3de
Removed DeploymentAdapterInterface in favor of ConnectionAdapterInter…
niels-nijens Oct 6, 2015
6217416
Added unit tests for connection adapters
niels-nijens Oct 15, 2015
446869a
Added LocalConnectionAdapter
niels-nijens Oct 15, 2015
d4c3c09
Replaced herzult/php-ssh with phpseclib/phpseclib in composer.json
niels-nijens Oct 15, 2015
426ee6d
Added SSHConnectionAdapter
niels-nijens Oct 15, 2015
04f7ec4
Removed PECL SSH2 installation from Travis CI configuration
niels-nijens Oct 15, 2015
195d5ce
Added SSH key generation to Travis CI configuration
niels-nijens Oct 12, 2015
1c663ab
Implemented replacing the ~ for the user 'home' directory in SSHConne…
niels-nijens Oct 15, 2015
623aefd
Fixed implementation for replacing the ~ for the user 'home' director…
niels-nijens Oct 16, 2015
a9966a6
Fixed loading private keys in SSHConnectionAdapter
niels-nijens Oct 16, 2015
51bcfbf
Fixed test cleanup in ConnectionAdapterTestCase
niels-nijens Oct 16, 2015
53149e2
Improved tests in ConnectionAdapterTestCase
niels-nijens Oct 18, 2015
f6a84fb
Added ConnectedConnectionAdapterTestCase to test methods when not con…
niels-nijens Oct 18, 2015
ba42b92
Extended SSHConnectionAdapterTest from ConnectedConnectionAdapterTest…
niels-nijens Oct 18, 2015
f031418
Improved SSHConnectionAdapter
niels-nijens Oct 18, 2015
b57abcf
Added tests for the various SSHConnectionAdapter authentication types
niels-nijens Oct 18, 2015
622c0ca
Added configuration to test the different SSH authentication types
niels-nijens Oct 18, 2015
d5eb712
Improved authentication type tests in SSHConnectionAdapterTest
niels-nijens Oct 18, 2015
7488867
Renamed deployment.adapters to deployment.connection in JSON schema
niels-nijens Oct 9, 2015
8e39560
Added connection options and adapter implementation to Host
niels-nijens Oct 18, 2015
4b9e222
Fixed accompli-defaults.json to match the schema and added the SSH co…
niels-nijens Oct 18, 2015
19615cf
Implemented ObjectFactory in Configuration::getHosts to fill the conn…
niels-nijens Oct 18, 2015
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ language: php

sudo: false

addons:
apt:
packages: libssh2-1-dev

matrix:
include:
- php: 5.4
Expand All @@ -18,11 +14,14 @@ matrix:

before_install: composer self-update

install:
- pecl install ssh2-beta < ./tests/.non-interactive
- composer install
install: composer install

before_script: mkdir -p build/logs
before_script:
- ssh-keygen -q -f ~/.ssh/id_rsa -N ""
- cat ~/.ssh/id_rsa.pub > ~/.ssh/authorized_keys
- eval $(ssh-agent)
- ssh-add ~/.ssh/id_rsa
- mkdir -p build/logs

script: vendor/bin/phpunit --coverage-clover build/logs/clover.xml

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
],
"require": {
"php": ">=5.4.0",
"herzult/php-ssh": "^1.1",
"justinrainbow/json-schema": "^1.3",
"niels-nijens/utilities": "^3.2",
"phpseclib/phpseclib": "^2.0",
"seld/jsonlint": "^1.3",
"symfony/console": "^2.7",
"symfony/event-dispatcher": "^2.7",
Expand Down
Loading