Automated Deployment Pipeline 3 of 3

Background We have previously covered a pipeline example with Jenkins calling Ansible to leverage OpenSSH configuration and Ansible inventory. We also discussed a use case with declarative pipeline. In this posting, I will provide another advanced example, built on declarative pipeline. The pipeline file will be pulled from Git repository. Also, the script is executed … Read moreAutomated Deployment Pipeline 3 of 3

Automated Deployment Pipeline 2 of 3

In this posting, we continue to discuss Jenkins’ ability to automate deployment routines. Jenkins supports freestyle project out of the box, as well as Pipeline with several plugins. Freestyle project allows user to specify multiple steps on UI. This does not scale well when your entire process involves many steps. As explained on Jenkins’ website: … Read moreAutomated Deployment Pipeline 2 of 3

Automated Deployment Pipeline 1 of 3

The business case You launched a software application. You installed it on two customer sites. You support the application mostly by SSH to customer server and run Bash commands, or slightly better, Bash scripts. The product is a hit to the market. You hired 20 support specialists in a customer service department. The dream client … Read moreAutomated Deployment Pipeline 1 of 3

Linux Admin Basics 3 of 3 – text processing, regex, sed & awk

Most of the text processing can be processed by awk and sed. Sed is non-interactive stream editor that allows you to specify all editing instructions in one place and execute them on a single pass through the file. Awk is a pattern-matching programming language. Using sed and awk requires some understanding of regular expressions. Here’s … Read moreLinux Admin Basics 3 of 3 – text processing, regex, sed & awk

Linux Admin Basics 2 of 3 – shell scripting

Bash Options You can set bash option in two ways, with shopt or with set command. For example: Here is a list of options. Also, we can use the unset command to delete the variables during program execution, or the export command to export a variable or function to the environment of all the child processes running … Read moreLinux Admin Basics 2 of 3 – shell scripting