DAY-1 | Real-Time CI CD Pipeline From Scratch with Jenkins | DevOps Shack

Sdílet
Vložit
  • čas přidán 13. 09. 2024
  • DAY-1 | Real-Time CI CD Pipeline From Scratch with Jenkins | DevOps Shack
    DevSecOps & Cloud DevOps Full Course(Batch-2 Starting 20th October):
    www.devopsshac...
    30-Days-Of-DevOps Free Course:
    • 30 Days Of DevOps | Ze...
    Telegram: t.me/+9roGPjX1...
    LinkedIn: / devops-shack
    Facebook: / devopsshack
    Instagram: / devopsshack
    Source Code With Jenkinsfile: github.com/jai...
    Song: "Lakey Inspired - Blue Boi [Lofi]" is under a Creative Commons (CC BY-SA 3.0) license.
    Music promoted by BreakingCopyright: • [Non Copyrighted Music...

Komentáře • 92

  • @wzup23
    @wzup23 Před 2 měsíci

    Dude I really appreciate mentors like you who share techniques based on his real world experiences. It's been months since I subscribed your channel after watching one video, but I didn't start to follow a series since I am also creating my own project and learning things focus on fullstack, now I will start learning DevOps. Thanks man!

  • @sagar7929
    @sagar7929 Před rokem +1

    thank you so much bhai.
    i haven't seen any nodejs devops video on CZcams. finally you did awesome work and I am following it please share all the process through scratch.

  • @jag9m2640
    @jag9m2640 Před 11 měsíci +1

    need someone who actually arrived at deploying to container.
    Great job here DevOps shack.
    could not finish that last stage after hours of continuous trials

  • @CloudForce10
    @CloudForce10 Před 6 měsíci +1

    Hi bro thank so much . I finally got this done after a number of problem from trivy to workspace path and total of 22 builds , I finally figured it out. Thanks. Well appreciated. Anyone need help on this project, I am willing to help

    • @swagatasarangi6743
      @swagatasarangi6743 Před 5 měsíci

      my backend and frontend steps are not working any help will be appreciated

    • @saradalekshmipr3489
      @saradalekshmipr3489 Před 4 měsíci

      @@swagatasarangi6743 Did you get it sorted?

    • @Mrsilakiyarajkumar
      @Mrsilakiyarajkumar Před 3 měsíci

      Hi i am doing this project till sonarqube i did it came out well we have add front end port 3000 in Ubuntu virtual machine.... Actually i saw the in github dockeryml file frontend 3000 backend 3001 actually we have to add 3000 in security group

    • @bijigirisrinivas3512
      @bijigirisrinivas3512 Před 2 měsíci

      ​@@swagatasarangi6743Do you find the solution for this

    • @bijigirisrinivas3512
      @bijigirisrinivas3512 Před 2 měsíci

      I mean for frontend and backend steps

  • @vinod321us
    @vinod321us Před 6 měsíci

    Very excited to learn CI/CD pipeline

  • @vinaykpise7998
    @vinaykpise7998 Před 3 dny

    Can anyone explain, what will be the changes in cicd pipeline for building the front end and backend applications

  • @riyazbasha2420
    @riyazbasha2420 Před 10 měsíci

    Appreciate your hard working..Thanks

  • @jayakrishna936
    @jayakrishna936 Před 11 měsíci

    Hey bro. I have very little knowledge in devops. I'm just starting. But, I guess I was able to understand your concept and explanation. Thanks a lot for providing a real time example and the JenkinsFIle at the end to experiment. Looking forward to learn more from you.

    • @saiteja5574
      @saiteja5574 Před 8 měsíci

      Support experience of 2 years is sufficient to get job in Dev ops domain interview

  • @sanjaykumarbaskar5104
    @sanjaykumarbaskar5104 Před rokem +1

    Hi Adithya , Please use pipeline diagram that would be helpful for easy understanding and the video will be more eye catchy. Thanks.

  • @vidyadhardevops3997
    @vidyadhardevops3997 Před rokem

    Very informative session bro. detailed explaination. Thank you for bringing this.

  • @vimaladeshmukh4017
    @vimaladeshmukh4017 Před rokem +3

    Help us in writing groovy script.

  • @pshiva5116
    @pshiva5116 Před 7 měsíci

    Hi Bro, Such a great explanation in a recent time i heard. Thanks for your sessions. Can you please share the Notepad which you shown in the video which is contains all the details and pipeline script will be helpful much.

  • @sukanyasahu1216
    @sukanyasahu1216 Před 10 měsíci +1

    my sonarqube is not working..i was unable to run on ports 9000 . Did i have to first create my docker hub repository first then create theccontainer with sonar cube image. please explain

  • @DurgaChowdary-ve4xf
    @DurgaChowdary-ve4xf Před měsícem

    I have a doubt...after git you have not mentioned compile/unit test and package the code is it correct sir?

  • @raghava17
    @raghava17 Před rokem

    Thanks a lot Aditya for sharing the great Content 😍

  • @HMSydney190
    @HMSydney190 Před 9 měsíci

    Great Video, where the applicatiomn gets hosted?

  • @bijigirisrinivas3512
    @bijigirisrinivas3512 Před 2 měsíci

    It is getting failed near the backend and frontend process is there any solution for that

  • @dhanikonda6097
    @dhanikonda6097 Před 9 měsíci

    Your videos very helpful, please do video on jenkins CICD pipeline with kubernetes , real time project has front end and backend . Thank you

    • @devopsshack
      @devopsshack  Před 9 měsíci

      Register for masterclass for 10 tier microservice application

  • @rakeshhosagavi2092
    @rakeshhosagavi2092 Před 8 měsíci

    Hey bro, ur explanation is vry good....But i have one suggestion to u, pls don't put backgournd music in videos....that is vry irritating when we are listening videos.

  • @ravireddy270
    @ravireddy270 Před 11 měsíci

    Wow... Awesome man.

  • @ketanmorey1953
    @ketanmorey1953 Před rokem +1

    Great session aditya❤
    Q.1 I have one doubt generally can we have single pipleline for all environment or we use same pipeline for different environment like DEV, UAT, Prod
    Q.2 and also how jenkins pipeline works meaning first we build for dev environment and everything fine then do we merged the dev code into UAT branch or no such thing happens.
    Please explain it will help others as well .
    Thank you 👍🏻

    • @devopsshack
      @devopsshack  Před rokem +1

      Having the same pipeline for all env will work but its not a best practice to do so.
      And 2nd question u answered correctly already 🙃

    • @Willssucceed
      @Willssucceed Před 11 měsíci

      @@devopsshack : then we should have different pipelines? if different pipelines then how we trigger it? using tag or any other options?

  • @saiteja5574
    @saiteja5574 Před 8 měsíci

    Support experience of 2 years is sufficient to get job in Dev ops domain interview

  • @Shreferrari
    @Shreferrari Před rokem

    Hey nice video. Can you pls make video on how real time we read data from config files into our application across different Environments ? and also how we maintain different config files in Github for different environment ?

  • @singaporeindian31
    @singaporeindian31 Před 3 měsíci

    hello nice video, but can you please hare me where are you having your shell scripts? i checked the github repos and did nt find.

  • @ramesh_kumar_verma
    @ramesh_kumar_verma Před 9 měsíci

    thankyou sir

  • @umeshsamal4490
    @umeshsamal4490 Před rokem

    Thanks a lot Aditya

  • @golgappa3430
    @golgappa3430 Před rokem

    Bro ,you have received realtime feedback in comments section, consider all of them, and apply it to your next video. It will make your content top notch

  • @Laxman-ms6fx
    @Laxman-ms6fx Před 5 měsíci

    how docker image is build here, there is no stage for docker build in here

  • @arsalanansari2004
    @arsalanansari2004 Před rokem

    good knowledge sharing

  • @prasunsukai139
    @prasunsukai139 Před 4 měsíci

    The trivy command is not working for me. I created a jenkins container on my ubuntu system and wrote this pipeline inside it. I installed trivy on the ubuntu system. What am I doing wrong here ?

  • @vijaykumar.b8920
    @vijaykumar.b8920 Před rokem

    Great work

  • @sauravsingh-qn4nf
    @sauravsingh-qn4nf Před rokem

    Very helpful ❤

  • @user-lw3yw7jc2f
    @user-lw3yw7jc2f Před rokem

    Thanks a lots Aditya, I have a request could you please explain about "build with parameters" pipeline also

  • @kalpesh2009able
    @kalpesh2009able Před 3 měsíci

    can you explain docker yml file

  • @gowsalyadeviv7076
    @gowsalyadeviv7076 Před 4 měsíci

    sudo apt-get install wget apt-transport-https gnupg lsb-release (when i give this in command prompt sudo' is not recognized as an internal or external command,
    operable program or batch file.) plss solve this issue sir

  • @aniljoshi-z5m
    @aniljoshi-z5m Před rokem

    Bro your video is awesome 👌 but please next time make a video from screatch how to implement server and along with Configration beacasue configration is most in Devops for deploy project most of the viewer beginners

    • @devopsshack
      @devopsshack  Před rokem

      Buddy watch day-6 video
      I have shown how i setup servers

    • @aniljoshi-z5m
      @aniljoshi-z5m Před rokem

      @@devopsshack I am watching Day 1 from Node js application based

  • @techthatmatters2140
    @techthatmatters2140 Před rokem

    Hi Bhaiya, I am in the last stage - Running docker container. I am getting error like "Sorry, home dir outside of /home needs configuration"
    How to fix this issue

  • @akashan6811
    @akashan6811 Před rokem

    Docker image is not build Know Sir you can do this and then you can run the container through docker-compose How the latest code will be there in the docker-compose Please explain

    • @devopsshack
      @devopsshack  Před rokem

      The docker image already contains latest changes so didn’t built.

    • @abdulmuqtadeer7085
      @abdulmuqtadeer7085 Před rokem

      There is no Docker Build command used to build image. Instead, the Image is getting build in the background from docker compose itself. Please refer the docker compose yaml, where in you can see below
      version: '3.5'
      services:
      frontend:
      container_name: ng_frontend
      build: ./frontend 👆👆👆 ➡ This means it picks Dockerfile which is there in /frontend and builds image
      ports:
      - 3000:3000
      platform: linux/x86_64
      working_dir: /app-frontend
      depends_on:
      backend:
      condition: service_healthy
      environment:
      - NEXT_PUBLIC_API_URL=localhost:3001
      healthcheck:
      test: ["CMD", "lsof", "-t", "-i:3000"]
      timeout: 10s
      retries: 5
      Please google once about ("build" option in docker-compose) documentation
      Reply

  • @sakhawatali1482
    @sakhawatali1482 Před rokem

    have not mentioned how many servers we need and what tool need to install on each servers , bit hard for beginners to understand

  • @aakashsonkusare69
    @aakashsonkusare69 Před rokem

    Hey. How about a video on CICD challenges or issue in realtime scenario?

  • @sthitaprangyachhatoi4967

    Hello Brother
    I've Few doubts like
    Q. In real time if we are using EKS (for example) , we will have one one cluster for each environment? (dev/qa/uat/prod)
    Q2. And how in real time we can deploy code to different environments from one jenkins server?
    Please let me know

    • @devopsshack
      @devopsshack  Před rokem

      Yea one cluster for each env
      In jenkins we can create one job for each env

    • @sthitaprangyachhatoi4967
      @sthitaprangyachhatoi4967 Před rokem

      Could you please elaborate the 2nd question like if we have multiple kubeconfig file (for all the environment one one ) how we can deploy application to a particular environment @@devopsshack

  • @raniaelhor3894
    @raniaelhor3894 Před rokem

    DOES these tutorials require purchasing from aws or any other platforms?

    • @devopsshack
      @devopsshack  Před rokem

      VM u will need to practice these things
      That u can get from AWS

  • @amitpathak1239
    @amitpathak1239 Před 2 měsíci

    12*12= 144
    😃😜🥰

  • @aakashsonkusare69
    @aakashsonkusare69 Před rokem

    I ma finding writing pipelinea bit complicated, Can I say I haven't written any pipelines in interview being a devops engineer?

  • @mridulgosain
    @mridulgosain Před rokem

    For me pipeline is running very slow is that effect because i have taken t2.medium instance

    • @devopsshack
      @devopsshack  Před rokem

      Slowness mainly will occur due to resource limit
      Please take bigger vm

  • @chinthayadav4719
    @chinthayadav4719 Před rokem

    Hi,bro💚
    I want to know process to write docker file and docker compose file for application(like based on code we write docker file know...This process I want to know ..how to write docker file for application

    • @devopsshack
      @devopsshack  Před rokem

      U can checkout the docker full course video on my channel.
      And we just finished this topic last weekend in our paid course 🙃

    • @chinthayadav4719
      @chinthayadav4719 Před rokem

      @@devopsshack k bro
      Bro Naku Depedency-check failure vastundi bro

    • @devopsshack
      @devopsshack  Před rokem

      @@chinthayadav4719 english pls

    • @chinthayadav4719
      @chinthayadav4719 Před rokem

      @@devopsshack while I am trying to complete dependency-check.i am getting error in owasp dependency-check . Plz look into it

  • @shahebazkazi1434
    @shahebazkazi1434 Před rokem

    Sir can you make on video bitbucket - jenkins pipeline integration ❤

  • @ItsGigishan
    @ItsGigishan Před 11 měsíci +1

    Everything is good except you always say "OK OK" please dont say that word everytime its hard to listen to and it makes me feel like leave the video!! Good Job Buddy!!

  • @amardeepyadav9511
    @amardeepyadav9511 Před 11 měsíci

    while running the last step that is to deploy I am getting the following error please answer it:
    The Compose file './docker-compose.yml' is invalid because:
    Unsupported config option for services.backend: 'platform'
    Unsupported config option for services.db: 'platform'
    Unsupported config option for services.frontend: 'platform'
    services.frontend.depends_on contains an invalid type, it should be an array
    services.backend.depends_on contains an invalid type, it should be an array

    • @devopsshack
      @devopsshack  Před 11 měsíci

      Change the version to 3 or 3.5

    • @amardeepyadav9511
      @amardeepyadav9511 Před 11 měsíci

      @@devopsshack also the application is not open on the browser, I am using IP address:3000

    • @amardeepyadav9511
      @amardeepyadav9511 Před 11 měsíci

      @@devopsshack also I have enabled all the ports and ip addresses to access it

  • @Mr.Bkkkkk
    @Mr.Bkkkkk Před rokem

    in my case dir('/var/lib/jenkins/workspace/new/app/backend') i have put this path and now it's working previously gives acess denied error.