Git Product home page Git Product logo

giddyup's People

Contributors

mpalmer avatar poscar avatar saj avatar thinkscape avatar unusedaccount 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  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

giddyup's Issues

How does this work with a clustered deployment

Hey,

This looks really nice. I'm just wondering how I'd go about deploying with this strategy to a clustered environment. Any ideas or is it intended for a single box?

Cheers
Daniel

not really an issue, but may help others

I'm using RVM and gemsets for each app in production and I like giddyup (without the hat even),
but my stop hook wasn't running bundler ... it couldn't find it.
I am no *nix expert but It works when I place this at the top of my hook file:

!/bin/bash

export RAILS_ENV="production"
source "/usr/local/rvm/scripts/rvm"

... the "#!/bin/bash" seemed necessary for it to do "source ..." .

The git push output even reminds me of heroku.

I just thought this might someone else from googling.
Thanks for this.

giddyup on mac os x

Hi,

the giddyup script uses readlink, which has a different synopsis as under linux
current (linux):
HOOK="$(dirname $(readlink -f $0))/update-hook"

on mac os x:
HOOK="$(dirname $(readlink $0))/update-hook"

'start' and 'stop' hooks as directories don't work as advertised

update-hook does not expand files under the start and stop directories; instead, it looks for hook files named start/* and stop/*.

Shell trace:

remote: + '[' -d /home/foo/deployment/releases/20120501-165952/config/hooks/stop ']'
remote: + for f in '"${RELEASE}/${HOOKDIR}/${hook}/*"'
remote: + exec_hook_file '/home/foo/deployment/releases/20120501-165952/config/hooks/stop/*'
remote: + local 'hook_file=/home/foo/deployment/releases/20120501-165952/config/hooks/stop/*'
remote: + '[' -x '/home/foo/deployment/releases/20120501-165952/config/hooks/stop/*' ']'
remote: + rm -f current

feature: Handling of tags and branches

Giddyup could handle checking out and working with specific branches and tags.

The rationale behind that is simply that it would be easier to work with remote locations/servers if they were attached not to the master (default) but to a specific tag, such as deploy or staging. This means pushing out staging to a production location would not result in any changes (preventing a possible disaster ;) )

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.