DevOps(Day-32) : Complete Jenkins CI/CD Project

  • TASK-1 : Django-todo-app

We are going to set up a pipeline for a Django application.

  1. Create a new item and choose a free-style project.

  2. In the General setting provide the project description.

  3. Now, go to Source code management to configure GitHub to Jenkins. Provide the GitHub URL where the code exists. Use the secret text option to provide credentials to Jenkins.

  4. Now, go to Build Steps and choose the execute shell build option.

    Guess, you have already written the docker file to containerize the application.

    Provide the docker commands to build an image from the docker file and build the container.

  5. Finally, click on build now to execute the project.

  6. Navigate to the URL now.

 

Let's document the process of building the CI/CD pipeline that we did yesterday as a part of the  task.

  1. Navigate to GitHub repository of the project.

    Let's create a README.md file on GitHub.

    2 . Commit the changes in the GitHub repository.

3. Check after committing.

Comments

Popular posts from this blog

DevOps(Day-97): Meta-Arguments in Terraform

DevOps(Day-95): Auto Scaling with Terraform

DevOps (Day-1) Introduction