diff --git a/.travis.yml b/.travis.yml index a432e754..7e4205d5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,15 +13,6 @@ before_script: - export GIT_BRANCH=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo $TRAVIS_BRANCH; else echo $TRAVIS_PULL_REQUEST_BRANCH; fi) script: - - echo "about to try to echo a key onto known hosts..." - - echo "nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8" >> ${TRAVIS_HOME}/.ssh/known_hosts - - cat ${TRAVIS_HOME}/.ssh/known_hosts - - echo "getting ziti-ci" - - get-ziti-ci.bat - - echo "ziti-ci has been retrieved. running\:ziti-ci version" - - ziti-ci version - - ziti-ci configure-git - - ssh -vT -i github_deploy_key github.com - - export GIT_TRACE=1; service/test-push.bat + - cmon_travis.bat diff --git a/cmon_travis.bat b/cmon_travis.bat new file mode 100644 index 00000000..75c5a2b1 --- /dev/null +++ b/cmon_travis.bat @@ -0,0 +1,10 @@ +echo "about to try to echo a key onto known hosts..." +echo "nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8" >> %USERPROFILE%/.ssh/known_hosts +type %USERPROFILE%/.ssh/known_hosts +echo "getting ziti-ci" +call get-ziti-ci.bat +echo "ziti-ci has been retrieved. running\:ziti-ci version" +ziti-ci version +ziti-ci configure-git +C:\Program Files\OpenSSH-Win64\ssh.exe -vT -i github_deploy_key github.com +ssh -vT -i github_deploy_key github.com \ No newline at end of file diff --git a/service/test-push.bat b/service/test-push.bat index e00b90c8..027af639 100644 --- a/service/test-push.bat +++ b/service/test-push.bat @@ -15,7 +15,7 @@ echo fetching ziti-ci 2>&1 call %SVC_ROOT_DIR%/../get-ziti-ci.bat echo ziti-ci has been retrieved. running: ziti-ci version 2>&1 ziti-ci version 2>&1 -ziti-ci configure-git +ziti-ci configure-git 2>&1 set KEY=github_deploy_key