Permalink
Switch branches/tags
Nothing to show
Commits on Apr 18, 2013
  1. Merge pull request #21 from MarkBennett/make-raw-env-available-to-plo…

    mm53bar committed Apr 18, 2013
    …w-recipes
    
    .env used during provisioning available to recipes.
  2. Source the env file from plow.sh.

    MarkBennett committed Apr 18, 2013
    Previously the contents of this file were being cat'ed into plow.sh
    which seems unneccesary.
Commits on Apr 17, 2013
  1. .env used during provisioning available to recipes.

    MarkBennett committed Apr 17, 2013
    This is useful for tools like foreman and runit which can use them when
    configuring the environment for tools on the box. Otherwise this env
    file needs to be reconstructed by recipes on the server.
  2. Merge pull request #19 from MarkBennett/collect-functions-shared-with…

    mm53bar committed Apr 17, 2013
    …-pave
    
    Collect functions shared with pave
  3. Handle longer SSH timeouts after provisioning.

    MarkBennett committed Apr 17, 2013
    As new instances can take a minute to spin up the SSH services we're a
    bit more patient with them and give them a few minutes to respond.
  4. Move functions shared with plow into rover section.

    MarkBennett committed Apr 17, 2013
    This is in preperation to more formally share these in the future. The
    function to get server IP's is also now more resilient to changes in EC2
    configurations and handles deployments to instances with and without
    subnets.
  5. Any environment variables that are passed on the command line (i.e. -…

    mm53bar committed Apr 17, 2013
    …-REF=branch_name) are now added to the plow.sh file that is pushed up to the server. This makes it possible for the user to dynamically add environment variables that can override the ones that are specified in the .env file.
Commits on Apr 16, 2013
  1. No need to prefix the 'usage' function with 'plow_' until that kind o…

    mm53bar committed Apr 16, 2013
    …f namespacing is required
  2. Reworked some of the arguments. Also added a check to make sure files…

    mm53bar committed Apr 12, 2013
    … exist in Plowfile before trying to copy them.
  3. Missed the semicolons

    mm53bar committed Apr 12, 2013
  4. Merge pull request #18 from mm53bar/ssh_user

    mm53bar committed Apr 16, 2013
    Stop overwriting $USER
Commits on Apr 15, 2013
Commits on Apr 12, 2013
  1. It's bad form to overwrite an environment variable that is set by the…

    mm53bar committed Apr 12, 2013
    … system. Plow will now use rather than mike when connecting to remote servers to preserve the mike variable that refers to the current user.
Commits on Apr 10, 2013
  1. Merge pull request #17 from jbabe/dont-clobber-existing-env-sample

    mm53bar committed Apr 10, 2013
    Don't overwrite the .env.sample file if it exists
  2. Don't overwrite the .env.sample file if it exists

    jbabe committed Apr 10, 2013
    Previously when you run install it overwrites the file that's already there. If I install this into an app directory that already has a .env.sample I lose all the sample env vars for that app.
    
    Similar to mm53bar/pave@31a0ef6
  3. Merge pull request #14 from MarkBennett/default-environment-to-staging

    mm53bar committed Apr 10, 2013
    Default environment to staging.
  4. Merge pull request #7 from MarkBennett/add-help-on-usage

    mm53bar committed Apr 10, 2013
    Display help more liberally.
  5. Update exit status to follow bash conventions.

    MarkBennett committed Apr 10, 2013
    Previously, it explicitly returned 0. As this is the default for exit it
    confusing and unconventional.
    
    Also added a note explaining the meaning and source of exit 64.
Commits on Apr 9, 2013
  1. Merge pull request #11 from MarkBennett/only-run-on-running-instances

    mm53bar committed Apr 9, 2013
    Ignore any EC2 instances that are not running
  2. Ignore any EC2 instances that are not running

    MarkBennett committed Apr 9, 2013
    Previously plow was attempting to run on terminated and stopped
    instances.
Commits on Apr 8, 2013
  1. use return code EX_USAGE (64) from sysexits.h

    MarkBennett committed Apr 8, 2013
    Similar to other commands such as mkdir
  2. exit with 0 on help

    MarkBennett committed Apr 8, 2013
  3. Merge pull request #8 from MarkBennett/handle-wget-not-installed

    mm53bar committed Apr 8, 2013
    Check to see if wget is installed.