chhabrakaran7 / devopslearnings

This repository is dedicated for displaying the learnings achieved from training on DevOps.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DevOps learnings

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.

Development Environment

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

Docker

Install Docker and Docker compose:

  1. Setup docker repository
  2. Install yum utils
  3. Install docker
  4. Install docker compose

Install jenkins container application

  1. Install jenkins container application
  2. Setup jenkins application

Installation/Decommissioning scripts:

  1. Install docker script: Please click here to view the code
  2. Install jenkins container application: Please click here to view the docker-compose.yaml
  3. Pull any docker image: Please click here to view the code

Jenkins

Adding jenkins jobs which are created and tested over the jenkins UI created on the container.

Jenkins jobs (added so far):

  1. Create a dummy directory and a file with data on the container.

    Jenkins Job Location: Please click here to view the jenkins job

  2. 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

  3. 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

Terraform:

  1. Create your first EC2 instance using terraform

    Sample TF: Please click here for code

  2. Create a terraform CLI container on a centos host

    DockerFile: Please click here for code

  3. Create a new github repository using terraform

    Sample TF: Please click here for code

About

This repository is dedicated for displaying the learnings achieved from training on DevOps.

License:MIT License


Languages

Language:Shell 51.5%Language:Dockerfile 40.4%Language:HCL 7.2%Language:Vim Script 0.9%