Thursday, March 16, 2017

What is DevOps?

What is DevOps?

Devops = Development + Operations

DevOps is a framwork which integrates the Development team, QA and Operations. It's a collaboration effort to make the software delivery smooth.

Values of Devops
Following are the values of DevOps, that make it a success.

- Culture
- Automation
- Measurement
- Shairing

Devops Methodology

First Methodology - People over Process then selecting Tools
Second Methodology - Continues Devlivery
Third Methodology - Lean Management
Fourth Methodology - Change Control
Fifth Methodology - Infrastructure as Code

10 Pratices that drives DevOps to success
Following ten practices helps the DevOps to success in your organization.

1. Chaos Monkey
2. Blue/Green Deployment
3. Dependency Injection
4. Andon Cards
5. The Cloud
6. Embedded teams
7. Blameless postmortems
8.Status pages
9.Developers on call
10.Incidents

Six practices that are important for CI

1.Build should pass the coffee test (<5 min)
2.Commit really small bits
3.Don't leave the build broken
4.Use  a trunk-based development flow
5.Don't allow flaky tests. Fix them!
6.The build should return a status, a log, and an artifact.



Friday, March 10, 2017

/usr/bin/env: ‘node’: No such file or directory

I got this error when I tried to install Hubot

Error:

/usr/bin/env: ‘node’: No such file or directory

Fix:

ln -s /usr/bin/nodejs /usr/bin/node

root@mybot:/opt/hubot# ./bin/hubot
/usr/bin/env: ‘node’: No such file or directory
root@mybot:/opt/hubot# ln -s /usr/bin/nodejs /usr/bin/node
root@mybot:/opt/hubot# ./bin/hubot
Hubot>