Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible enhancement: Create timestamped deploy directories & symlink "current" #243

Open
pmeinhardt opened this issue May 25, 2018 · 0 comments

Comments

@pmeinhardt
Copy link
Contributor

Upfront: I don't think this is a high-priority feature, but I thought I'd write down the idea here to maybe get the ball rolling 🙂👟⚽️

When deploying with Capistrano, you usually get timestamped release directories for every deploy and the current, used one, is just a symlink to one of them:

http://capistranorb.com/documentation/getting-started/structure/

├── current -> /var/www/my_app_name/releases/20150120114500/
├── releases
│   ├── 20150080072500
│   ├── 20150090083000
│   ├── 20150100093500
│   ├── 20150110104000
│   └── 20150120114500
├── repo
│   └── <VCS related data>
├── revisions.log
└── shared
    └── <linked_files and linked_dirs>

This could be interesting for archival purposes as a first step so you have a trail of previously deployed releases to go back to. Later on it could allow for something like a mix bootleg.rollback <env> if desired. This would be useful to allow for quickly going back to a previous version if something's wrong with the last deployed release.

The revisions.log and repo will likely look differently (or not be available at all) as the build & app server are separate and in the end we only deploy a built release (which doesn't include a revision).

Like I wrote, not a high-prio feature right now, but maybe nice as a future extension to bootleg 👋

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants