
Lets try to understand the Continuous Integration in Devops.
Install Ubuntu on VirtualBox
How to set static IP for the VM where Jenkins will be running.
Jenkins installation on Ubuntu20 VM
Will look into a Jenkins plugin which will help us purge build history.
Pyenv lets us run multiple Python in same OS. In this video session, lets look into why we need Pyenv. Installing and configure Pyenv in Linux-OS as Jenkins user. Also see about install and removing new Python 3.10 in the Linux OS which is within Pyenv.
Run Python Unittest freestyle job, by pulling code from GitHub
Code coverage for Python projects with Cobertura
Creating a Declarative Pipeline Job and about Global Variables in Jenkins
Here we will build a pipeline job for Checkout, Unit-tests, and Reports(Test Reports, Coverage Reports). Also we will see how to run a shell script from a pipeline job.
Dockerize Python project- Build Image, Run Dockerized python code.
Docker Installation on Linux VM
Build docker image from Jenkins pipeline, and run the image from same pipeline.
Configure Jenkins to connect to DockerHub
Pipeline Job to Build Docker Image and push image to DockerHub
usually we don't run all jobs in the same jenkins master now. Jenkins agent node is required to run our jobs on another machine. Lets look into installation of Jenkins agent/slave on a Linux machine.
Also we'll see how to run jobs on the agent nodes.
Python Pytest API Tests in Pycharm
Pipeline for Continuous Testing: uses Pytest and Allure reporting. Pull down code from Github, run a bash script to setup Python and execute tests. Use junit plugin to report test results, and also Allure plugin to publish the HTML test reports in a nice graphs/charts view.
Continuous Testing with Running Automated tests after build process
We will see how to Trigger a Parameterized job from another job. Both the Jenkins job are Pipeline type jobs.
Configuring Gmail to send mails from Jenkins. Also configuration of Jenkins is done in this session.
Look into how to copy(fork/import) a project into your own GitHub repository. Fork project, clone to local system, make changes and push back to your own repository.
Lets understand the On-Demand Agents with Docker containers
Lets look into the Dockerfile and the Image, which will be used as Jenkins build agents
Configure Docker Host where the Agent Image containers will be run
Configure Jenkins to use the Docker Host
Lets look into a Demo, where we build a Java Maven project with Docker Cloud Agent
Demo, where we build a Java Maven project with Docker Cloud Agent but with caching dependencies
Another variant of on-demand agent, i.e. Using Docker Image as agent for our Pipelines. Lets understand that in this session.
Lets configure Jenkins to specify where the Docker containers are run for Docker Images Agents.
Lets see 3 diff varieties of using docker image as agents.
For more customized execution environment, Pipeline supports using Dockerfile as agent. More power for us. Interesting idea!!
CI/CD Pipeline which will Deploy the build, and run tests and generate reports. We use multiple agents, actually docker image agents here.
Update Jenkins job on top of the previous Pipeline-4, and make it parameterized. So this pipeline should be triggered based on a successful Upstream Job of Build & Release only.
Learn about Static code analysis(Flake8) and reporting in Jenkins.
Understand the Pipeline code
Jenkins is the most popular tool now a days to do Continuous Integration, Continuous Delivery & Continuous Testing of software:
It’s free and open source
It has thousands of plugins you can use
Jenkins is easy to start with CI/CD
It is used to automate almost anything now a days
In this course you will learn about - Jenkins jobs, pipelines and host of other configurations & integrations that will help build practical real world CI/CD pipelines. Each chapter or session will work out on the configurations to help us build a working Continuous Integration and Continuous Delivery pipeline with Jenkins. Learn with multiple examples and different types of projects related to Java, Python, Testing, etc). And they are more than examples i.e. you can use it in real projects.
Not only CI/CD but also learn by doing Continuous Testing with Jenkins. How you can use Jenkins for QA/Test Automation.
We will see about integrate Jenkins Pipelines with other popular tools, like:
Docker
GitHub / Bitbucket
DockerHub
Linux
Python
Pyenv
This course is designed for all levels of Jenkins DevOps practitioners, starting from absolute beginner level to advanced users. Anyone can follow along from top, by understanding each of the lessons and replicating it on their own servers. No worries if you are in any level of expertise, you can directly go to the session that you want to learn.
Some of the topics you'll learn thru this course:
Understand what CI/CD is
Install, Configure And Operationalize Jenkins
Build Python Projects with Docker
Run Unit tests by pulling code from GitHub
Push Docker Images to DockerHub registry
Run Jenkins jobs in different agents
By the end of the course, you should be able to:
Install and Run CI/CD server(jenkins) in a Linux OS
Use Jenkins with different agents
Build docker images and run them with Jenkins
Build awesome CI/CD pipelines for you team
And finally impress your manager/lead :)
Join now and take your devops career to the next level!
Tags:
Python Jenkins, CI/CD Pipeline, Python DevOps, Java DevOps, Docker, DockerHub, Git, GitHub, VirtualBox, Linux