iron-io / issues

For Iron.io services issue tracking. Public facing issue tracking for behind the scenes issues.
5 stars 0 forks source link

Rollback Button for iron_worker #80

Open uberbrady opened 10 years ago

uberbrady commented 10 years ago

Sometimes when things are busted, it's hard to figure out what changed and when and why and how it affected things - the smart move can be to just rollback to the last known good version, and then take your time to sort stuff out.

That's what I just did, but I had to go into chat to figure out how to do it. It'd be great if you guys had a nice big 'rollback to this version' button (Heroku has something similar) in iron_worker.

The basic logic flow was:

client = IronWorkerNG::Client.new(:token => 'here_is_my_token', :project_id => 'here_is_my_projid')
client.api.codes_create("my_task_name", "path_to_the_zipfile.zip", "sh", "__runner__.sh",{})

So since you have access to the old zipfiles and whatnot you could make this dead-simple for us users who tend to blow ourselves up on occasion.

Thanks for listening, and thanks for making a great product.

treeder commented 10 years ago

@uberbrady thanks for the feedback, it's a good idea. We're working on it and will let you know when it's ready.