Giter VIP home page Giter VIP logo

rollback's Introduction

rollback's People

Contributors

boutetnico avatar carlosbuenosvinos avatar claretcrab avatar javierbeaumont avatar magi2c avatar oliboy50 avatar ricardclau avatar tonyo 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

rollback's Issues

ansistrano_shared_path is not defined

rollback does not define ansistrano_shared_path variable. Please make all variables available as in deploy project. An idea is to use the same setup.yml.

I think...

I think that have need added setup-task.yml like in deploy, because in event before-symlink.yml i cant to get acces to variables ansistrano*. It shows in

What are you think about it?

How to rollback to a particular release?

Using Ansistrano rollback, we can rollback to the last release and with the subsequent rollback we can rollback to the n-1 release. But I want know how to rollback to any specific release directly?

Latest version with ansible-galaxy

ansible-galaxy install don't install the latest version (master 1.1.1)

ansible-galaxy install carlosbuenosvinos.ansistrano-rollback
....
- downloading role 'ansistrano-rollback', owned by carlosbuenosvinos
- downloading role from https://github.com/ansistrano/rollback/archive/1.1.0.tar.gz
- extracting carlosbuenosvinos.ansistrano-rollback to roles/external/carlosbuenosvinos.ansistrano-rollback
- carlosbuenosvinos.ansistrano-rollback was installed successfully

I think ansistrano-deploy is the same

deploy variables when executing rollback role when set in group vars

When using group variables and in the same group are variables for ansistrano.deploy and ansistrano.rollback and we execute ansistrano.rollback role, the role also takes into account the variables of ansistrano.deploy.

For example, we have two variable files for a inventory group:
deploy.yml that has ansistrano_before_symlink_tasks_file and ansistrano_after_symlink_tasks_file variables set
rollback.yml that has ansistrano_rollback_after_symlink_tasks_file set

Why when executing ansistrano.rollback it includes the ansistrano_before_symlink_tasks_file and ansistrano_after_symlink_tasks_file files if are set? It shuldn't be including only the files set in the rollback variables like ansistrano_rollback_after_symlink_tasks_file?

This is causing a deploy when trying a rollback because there is the ansistrano_before_symlink_tasks_file and ansistrano_after_symlink_tasks_file are defined.

Of course we can set the variables directly in the rollback playbook, but it would be interesting to know if there is a way to mantain our variable structure defined by groups.

Thanks a lot!

Rollback without deleting

Can I rollback to previous version without deleting the "bad" release directory? It is useful to keep the directory around in order to further analyse the reason which determined the rollback.

is there a variable that gives me the name of the rollbacked version?

I have a drupal site that I am working on deploying with ansistrano. Drupal is very dependent on the database. I have a deployment that backs up the db the shared directory using the ansistrano_release_version with a -1 appended to the end of the file name.

This will be the name of the release that I want to rollback to and after the rollback I would want to source that database.

Is there an ansistano variable that I can use to get the name of the release that I am rolling back to? Is there a better way of doing this?

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.