Code Monkey home page Code Monkey logo

strider's People

Contributors

jsmartin avatar mpdehaan avatar

Stargazers

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

Watchers

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

strider's Issues

Multiple rsync paths in shell provisioner

copy_from and copy_to is a nice shortcut and we don't want to break existing users in a change, but perhaps we can make it just be a friendly syntactic-sugar version of an insert into something like this:

commands = [
    { type: rsync, from: foo, to: bar },
    "cat this_is_shell_command"
 ]

(And any raw string is just a command).

This would trivially allow multiple rsyncs, and makes way for other command types, like a scp/exec of an inline script or something similar.

Add a --auto-teardown complementary flag --save-on-failure

--auto-teardown will remove the instance if successfully baked and only works with --bake.

We should add a flag --teardown-requires-success which only tears down the baking machine if it was successful, for debugging (which would also be used with the above flag).

Or maybe rename the flags to make this more clear, or give the flag a string mode, like --teardown-mode=on-success|on-failure|always or something

Shell provisioner: Rsync/SSH availability checking

Occasionally I notice that even though we sleep a bit after SSH so it can start, we occasionally get rsync protocol errors - I imagine this is because SSH hasn't completely started yet. We should check for SSH starting by running some sort of SSH echo command in a retry loop for a bit prior to going for an rsync.

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.