This repository is dedicated for learnings done during training for DevOps.
NOTE: This repository is a work in progress, updates will be added frequently.
NOTE: A word document will be added which will include all the steps and screenshots taken while performing the setup and any tasks involved in this effort.
Virtualization platform: VMWare Workstation 16 PRO
Number of VMs: 1
Operating System: CentOS 8 64 bit
VM configuration: 2GB Memory, 1vCPU Processor and 20GB HDD respectively
- Setup docker repository
- Install yum utils
- Install docker
- Install docker compose
- Install jenkins container application
- Setup jenkins application
- Install docker script: Please click here to view the code
- Install jenkins container application: Please click here to view the docker-compose.yaml
- Pull any docker image: Please click here to view the code
Adding jenkins jobs which are created and tested over the jenkins UI created on the container.
-
Create a dummy directory and a file with data on the container.
Jenkins Job Location: Please click here to view the jenkins job
-
Run a bash script to print full name on jenkins UI.
Script Location: Please click here to view the code
Jenkins Job Location: Please click here to view the jenkins job
-
Run a bash script to print title, full name on jenkins UI. [Using dynamic parameters (String and Choice)]
Script Location: Please click here to view the code
Jenkins Job Location: Please click here to view the jenkins job
-
Create your first EC2 instance using terraform
Sample TF: Please click here for code
-
Create a terraform CLI container on a centos host
DockerFile: Please click here for code
-
Create a new github repository using terraform
Sample TF: Please click here for code