Though the 3 previous parts, we practiced our Continuos Integration. We built and test (and did some kind of monitoring) to a central repository after “automated” builds tests are run.
“Continuous Integration doesn’t get rid of bugs, but it does make them dramatically easier to find and remove.”
Martin Fowler, another guru of software as Kent Beck
So I learned that DevOps is helpful for finding errors quicker than waiting until the end. Sometimes you don’t know the failures that might happen outside the local environment.
Cheating a bit with Jenkins
Jenkins is a good option if you want to build at a bigger scale. This is an open source automatization server written in Java, advantages of using it:
Continuous integration an delivery
“Easy” installation and configuration
Has hundreds of plugins
Extensible and Distributed.
I know that a lot of companies use Jenkins because it makes the DevOps practices a lot easier, since it has a lot of flexibility.
But not everything is color pink. One of its advantages can be a double edge sword, the fact that is OpenSource. Therefore some issues might take longer to fix. Also the migration from an old instance to the newest is a big pain (real work-life situation).
By this day, I had this question twice in my Testing course exam, “What’s the deal with excise
Welcome back to a series of blogposts about how to set up a little server in a Linux Virtual Machine, in this post we will lean about Github and SSH
if you are not familiar to the topic you can go to the first or second part of the series
Ensure that you have your GitHub account.
Before you start you should have a Github account.
Ensure that you have a repository created for testing.
If you followed the last part we had a web server created in node, we will use this. This will be our root.
Setup your GitHub two-factor authentication.
This part is a step forward process and Github explain it 100 times better than me, but I’ll explain it anyways in case you don’t want to move to another site. It’s really nothing from the other world, is more just following a series of steps:
Go tho the git setting and click in the security tab
Click the enable two factor button
Follow the steps in the site
DONT FORGET TO SAVE YOUR RECOVERY CODES
They send you a mai anyways
You are ready
Github SSH keys Setup
This is a little bit harder than the last step, the Github team explain it as well (though some commands don’t work the same for ubuntu)
Welcome to a series of blogposts about how to set up a little server in a Linux Virtual Machine, if you are not familiar to the topic you can a little more about in here (which is the first part of the series)
Install a Linux distribution
For this task, I chose the Ubuntu 18.04.1 LTS which runs in Virtual Box. This is the same I use for other courses (maybe this is not a good idea). If you would like to download the same Linux distribution, you can install this “old” mini iso from ubuntu.
Other Linux distributions (thanks to @ken_bauer for the links) :