How can we do rollback in capistrano tasks. I just checked tutorial here http://capistranorb.com/documentation/getting-started/rollbacks/. It seems missing. Please help with code examples. How can we do rollback all tasks if any task is failed?
Does anyone have previous experience in Capistrano 3.
Thanks in advance.
Good point on the missing docs. I've created a first draft of such documentation here: https://github.com/capistrano/documentation/pull/148
Feel free to read it over and provide comments.
Thanks!
Related
Is there somewhere where detailed release notes are located? I am specifically looking for what's in v8.24 and v8.24.1, as I am using 8.23.
Thanks in advance.
The full changelog between any two versions can be found on Github.
We do not publish any written release notes - personally, I think that we should get better at that.
Hej guys,
I am having a huge problem regarding heroku and github. I am new regarding github and maybe there is something I do not see at the moment but it drives me crazy.
Technically speaking, the problem is that somehow even with my code changed, the website is not updating. I can see the changes on the localhost3000, but when I do git add . , commit and push nothing is happening. I would appreciate it if someone could help me understand what is happening.
Furthermore, I factory reset my laptop and updated on windows 11. When it comes to heroku log in the git stucks after the login is successful and I do not know if it is supposed to do that. Thank you in advance.
P.S. I will upload photos and more information if someone answers to me!
Sincerely,
Nikos
Not only do you have to push your code to your repo, but you also need to push it to Heroku remote. It doesn't read directly from your repo. Run git push heroku main. This was found in the Deploying Code section of the Heroku docs which may be of help to you.
I'm going through the Capistrano flow examples because my boss wants to remove Capistrano from the deployment process, don't ask me why, so I want to replicate the process but on a manual basis 😕🤦 Anyways I'm looking for the deploy:set_shared_assets task but I can't find it within the git repo. Does anyone know where this is located?
I just want to find out what each step does under the hood.
if you're looking this https://github.com/capistrano/capistrano/blob/master/docs/documentation/getting-started/flow/index.markdown, maybe it's not up to date. Here is the last occurrence that I found https://github.com/capistrano/rails/blob/v1.1.0/lib/capistrano/tasks/assets.rake
This two-year-old BitBucket “push-to-deploy” (https://cloudplatform.googleblog.com/2014/09/using-bitbucket-for-push-to-deploy.html) option looks really useful/interesting but seems like it’s no longer functional. The link in step 8 seems to have disappeared.
Is it possible to use this general feature somehow even if it doesn’t seem to work with BitBucket anymore?
If anyone has any ideas, it would be much appreciated. Thank you.
We use Jenkins for continuous integration and continuous deployment. You could take a look on https://jenkins.io/ .
Currently I am using angular v1.2.26. When I upgraded it to v1.5.0(or v.1.4.8), the application stopped working.
What are the changes in the existing code of v1.2.26, I should not be missing, to make the application work?
There's now a guide available https://docs.angularjs.org/guide/migration - probably slightly less tedious than reading every single ChangeLog
Migration Guide - https://docs.angularjs.org/guide/migration
See the change log
https://github.com/angular/angular.js/blob/master/CHANGELOG.md
An easier way is to see where your code fails, debug a bit and hit the nail. There are no huge changes between the versions in question.
Although, your question is not a good candidate for StackOverflow questions but you should read the ChangeLog to see the breaking changes and fixes in each release after v1.2.26 to v1.5.0.
See the changes https://github.com/angular/angular.js/blob/master/CHANGELOG.md
Please take a look if this may help you:
http://www.diatomenterprises.com/migration-history-from-angularjs-1-3-to-1-5-and-then-2-0/
I can assist you in migration from 1.3/1.4 to 1.5 since did it a few times on different projects and all went smooth. Of course there're some tricks to do, but in general nothing breaking.