-

Sign up for a GitHub account Sign in All Gists colby / - Created January 22, 2015 Code Revisions 1 /.sunken-menu-group /.sunken-menu-contents Embed HTTPS SSH You can clone with HTTPS or SSH . Download Gist /.only-with-full-nav View - - Raw File suppressed. Click to show. 1 2 3 4 5 6 7 execute 'clean old revisions' do action :nothing only_if 'ls | wc -l' > 10 cwd "#{container}/releases" user 'root' command 'rm -r $(ls -t1 | tail -1)' end Sign up for free to join this conversation on GitHub . Already have an account? Sign in to comment /.discussion-timeline /.gist-content /.container Something went wrong with that request. Please try again. Status API Blog About © 2015 GitHub , Inc. Terms Privacy Security ...

Linked on 2015-01-22 22:39:18 | Similar Links