Category Archives: BASH scripts

Bash is a Unix shell and command language written by Brian Fox for the GNU Project as a free software replacement for the Bourne shell.

BASH: using functions, with examples

15 January 2023

 This a translation of a post from 2013 with some edits, but still relevant for learning BASH. In fact, a function in bash is a regular variable, but with more features. The main use is when the same code needs to be used several times and/or in different related scripts. Declaring and calling a function The… Read More »

Jenkins: Docker Compose deployment from Ansible with ECR authentication

26 September 2019

 In addition to the AWS: create an Elastic Container Registry and Jenkins deploy job post – the next part, where we will create a new Jenkins job to deploy a Docker Compose file to run our Docker image. Docker Compose file will be updated by an Ansible role called docker-deploy, which will set the desired… Read More »