Giter Club home page Giter Club logo

plesk-deployer's People

Contributors

florianmoser avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

plesk-deployer's Issues

Relax deployer dependency

First of all, let me say thanks for this recipe. It just helped me successfully deploy to Metanet.

Your deployer dependency is hardcoded to 5.1.1 though, which isn't really helpful. I've used deployer 4.3 and it worked fine with your recipe.

I suggest you relax the version requirement to something like: >=4.0 <6.0
I could imagine that it'll work with deployer v6 as well, so maybe the constraint could even be changed to >=4.0 <7.0

ssh -o StrictHostKeyChecking=accept-new does not work on metanet

Thank you for this recipe. Although I couldn't use it directly for my use case it gave me good hints where the my issues were coming from and I was able to fix them. ๐Ÿ˜Š

Apparently at least since deployer version 7.x, the GIT_SSH_COMMAND environment variable is specifically set to ssh -o StrictHostKeyChecking=accept-new (see here). Overriding this environment variable causes git fetch to use this specified command instead of the default ssh command (see here). Unfortunately it looks like this option is not supported on metanet which causes the deployment to fail. So to fix this you have to set it back to ssh:

set('git_ssh_command', 'ssh');

This option would be useful though since it would just add new hosts to the known hosts file without asking and only asks in case an existing host changes... :) So one has to make sure the repository host is already added to the known host file before doing the deployment otherwise it will most likely fail too.

I know this is not really an direct issue for this repository since it appears to be targeted more generally to plesk hosts but since it is linked from the metanet SSH support page I though I could document this as a hint in case anyone faces the same issue.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.