GitHub Actions CI/CD pipeline | Step by Step guide

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ก.ค. 2024
  • Buy me a coffee: ko-fi.com/boualiali #githubactions #cicd #spring #learning #springboot #springtutorial #springsecurity #developpement #java #arraylist #linkedlist #springdatajpa #querybuilder #aliboucoding #alibou #validation #mongodb #springboot_3 #oauth2 #security #reactive #springreactive
    Unlock the full potential of CI/CD pipelines and revolutionize your software development workflow with our step-by-step guide to GitHub Actions! This in-depth tutorial is designed to help you understand and implement continuous integration and continuous deployment processes, ensuring your code is consistently tested, built, and deployed.
    Don't Forget
    ===========================================
    💯 Free courses here: aliboucoding.com/courses
    💯 Subscribe to the youtube channel
    💯 Join our Discord Community - / discord
    💯 Join our Facebook Group - / 589612651142975
    💯 Join our Instagram: / alibou_coding
    💯 Join me on Linkedin: / bouali-ali-33026072
    Table of content
    00:00 Introduction
    01:20 Pipeline overview
    03:19 What is a CI/CD
    07:09 Create the first pipeline
    21:02 Test the pipeline
    24:55 Add docker build step
    27:12 Add secrets to GitHub
    29:27 Generate a Docker Hub token
    30:45 Finalize the docker build step
    33:46 Explain the Dockerfile
    35:48 Deploy to Docker Hub
    44:48 Do you want more?

ความคิดเห็น • 94

  • @skydream2884
    @skydream2884 26 วันที่ผ่านมา +1

    Great tutorial ! It's all so simple when well presented.
    You made me laugh at 39:38, good practices died a little with that commit message.

    • @BoualiAli
      @BoualiAli  26 วันที่ผ่านมา

      😂😂😂😂

  • @video4524
    @video4524 5 หลายเดือนก่อน +3

    The best tutorial I've ever had.

  • @calebmbugua745
    @calebmbugua745 ปีที่แล้ว +1

    Exactly what developers need,Thanks

    • @BoualiAli
      @BoualiAli  ปีที่แล้ว

      Happy you liked it

  • @user-ug4dn2cl7o
    @user-ug4dn2cl7o 10 หลายเดือนก่อน +1

    I just wanted to say a big thank you for your fantastic content. I've been following you for a year now, and your tutorials on Spring, Angular, Docker, Microservices and CI/CD have helped me learn and adapt quickly. I appreciate how you simplify things and stick to LTS, making my learning journey smoother.
    Thanks again for all you do!

    • @BoualiAli
      @BoualiAli  9 หลายเดือนก่อน +2

      I really appreciate your feedback
      Happy you liked it!

  • @orestdymarchuk2910
    @orestdymarchuk2910 ปีที่แล้ว

    Your explanation is excellent, and I'm eagerly anticipating more content from you.
    Keep up the good work!

    • @BoualiAli
      @BoualiAli  ปีที่แล้ว

      Thank
      More content is coming soon. Stay tuned

  • @IamKanuKingsley
    @IamKanuKingsley ปีที่แล้ว

    I hit like even before I start your videos because I know that It will always be a great content. kudos!

    • @BoualiAli
      @BoualiAli  ปีที่แล้ว +1

      You're the best!

  • @odilhonislomov8954
    @odilhonislomov8954 5 หลายเดือนก่อน

    Thank you. You are on top as usual. Great content.

    • @BoualiAli
      @BoualiAli  3 หลายเดือนก่อน

      I appreciate that!

  • @user-os1tb4rr2v
    @user-os1tb4rr2v 7 หลายเดือนก่อน

    Thank you! Very helpful tutorial

    • @BoualiAli
      @BoualiAli  6 หลายเดือนก่อน

      Glad it was helpful!

  • @AshishRohillax
    @AshishRohillax ปีที่แล้ว

    Thank you for the excellent video. ❤

    • @BoualiAli
      @BoualiAli  ปีที่แล้ว

      Happy you like it

  • @callanambulancebutnotforme5702
    @callanambulancebutnotforme5702 ปีที่แล้ว

    Amazing content. All of ur videos

    • @BoualiAli
      @BoualiAli  ปีที่แล้ว

      Glad you like them!

  • @mohamedoueslati462
    @mohamedoueslati462 ปีที่แล้ว

    Great content , Thanks Ali :)

    • @BoualiAli
      @BoualiAli  ปีที่แล้ว

      Glad you liked it!

  • @khaled.noordin
    @khaled.noordin ปีที่แล้ว

    Merci Ali super contenu j apprecie bcp.

    • @BoualiAli
      @BoualiAli  ปีที่แล้ว +1

      Happy you liked it

  • @damianwojtowicz5212
    @damianwojtowicz5212 8 หลายเดือนก่อน

    Thanks a lot, you are a great teacher :)

    • @BoualiAli
      @BoualiAli  8 หลายเดือนก่อน

      Happy you liked it!

  • @torukobyte
    @torukobyte 10 หลายเดือนก่อน

    thank you, great content!

    • @BoualiAli
      @BoualiAli  9 หลายเดือนก่อน

      Glad you liked it!

  • @abu-dukhan
    @abu-dukhan ปีที่แล้ว +3

    Maasha Allah, that's a super nice content Ali, I super really like it brother, and really can't wait for the docker video you talked about, may Allah makes it easy for you Ameen Ya Rabb. Thanks once again for the awesome content

    • @BoualiAli
      @BoualiAli  ปีที่แล้ว

      Thank you so much brother. Happy you like the content.
      The docker will be released soon

  • @IamKanuKingsley
    @IamKanuKingsley ปีที่แล้ว

    Done and as always, another beautifully done content. Please, do the video on the advance aspects and probably add the deployment with kubernetes. Best regards and thank you for this.

    • @BoualiAli
      @BoualiAli  ปีที่แล้ว +1

      Sure, I will share an advanced GitHub actions video showing how to create parallel jobs and deployment

  • @baibula
    @baibula 6 หลายเดือนก่อน

    Cool.

  • @agwaigbomaximillian5655
    @agwaigbomaximillian5655 ปีที่แล้ว +2

    This Content is wonderful. I would like an advance concepts of creating parallel jobs. Thank you so much

    • @BoualiAli
      @BoualiAli  ปีที่แล้ว +1

      Coming soon.
      Already preparing the video

  • @kevindeffo9050
    @kevindeffo9050 ปีที่แล้ว

    very interesting.Thanks

    • @BoualiAli
      @BoualiAli  ปีที่แล้ว

      Glad you enjoyed it

  • @Mohamed-uf5jh
    @Mohamed-uf5jh 4 หลายเดือนก่อน

    Your explanation is excellent

    • @BoualiAli
      @BoualiAli  3 หลายเดือนก่อน

      Glad you liked it!

  • @sergiomartino3656
    @sergiomartino3656 2 หลายเดือนก่อน

    very useful!

    • @BoualiAli
      @BoualiAli  2 หลายเดือนก่อน

      Glad it was helpful!

  • @mfarooqwasi
    @mfarooqwasi 4 หลายเดือนก่อน

    Perfect ... 🥰

    • @BoualiAli
      @BoualiAli  3 หลายเดือนก่อน

      Thank you! 😃

  • @samehjemai8335
    @samehjemai8335 ปีที่แล้ว

    great👏👏, the good content

    • @BoualiAli
      @BoualiAli  ปีที่แล้ว

      Glad you think so!

  • @ymedjalil
    @ymedjalil ปีที่แล้ว

    Good job :)

  • @QuanTran-ej3jh
    @QuanTran-ej3jh 9 หลายเดือนก่อน

    Great, Ali! I want to express my deepest gratitude to your dedication, and really good content. But could you please do CI/CD with Jenkins, and Kubernetes, such as ArgoCD, and Infrastructure as Code, such as Terraform also, because I think they are really good to learn. Thank you very much!

    • @BoualiAli
      @BoualiAli  8 หลายเดือนก่อน

      Happy you liked it!
      Nice suggestion

  • @goriagori1212
    @goriagori1212 5 หลายเดือนก่อน

    thank you

    • @BoualiAli
      @BoualiAli  3 หลายเดือนก่อน

      welcome

  • @ahmedboukhari3090
    @ahmedboukhari3090 4 หลายเดือนก่อน

    thanks hachem

    • @BoualiAli
      @BoualiAli  3 หลายเดือนก่อน

      Glad you liked it!

  • @BakaryNdiaye-fj9tm
    @BakaryNdiaye-fj9tm ปีที่แล้ว

    thx u🤩

  • @sidof8065
    @sidof8065 3 หลายเดือนก่อน

    goood

  • @rohrakaran
    @rohrakaran 2 วันที่ผ่านมา

    How can we add deployment job which autmatically deploy app to AWS EC2 ?

  • @khouloudbouazizi280
    @khouloudbouazizi280 7 หลายเดือนก่อน

    Thank you very much for this video. Could you make a video explaining how to deploy a Spring/Angular application to a VPS (such as OVH) using Docker and CI/CD?

    • @BoualiAli
      @BoualiAli  26 วันที่ผ่านมา +1

      Already done

  • @ahouzimohamed6387
    @ahouzimohamed6387 ปีที่แล้ว

    waiting for the advanced one (gitops , k8s ...) thank you

    • @BoualiAli
      @BoualiAli  ปีที่แล้ว +1

      Coming soon!

  • @solletibhavyapravallika467
    @solletibhavyapravallika467 5 วันที่ผ่านมา

    for creating a pipeline do we need to learn yaml language . I am a beginner can you guide me

  • @michajas
    @michajas ปีที่แล้ว

    Hey great video! I have one question though. How are you dealing with long term statistics for github actions workflow runs? I'd like to see if my app is building slower/faster? How often it's failing etc. It's really great tool but I'm missing this part of functionality. Or is it only me?
    Anyone has similar problem?

    • @BoualiAli
      @BoualiAli  ปีที่แล้ว

      I really didn’t do any statistics about that. Maybe you can separate the steps and investigates the long running ones

  • @drakhakami3828
    @drakhakami3828 9 หลายเดือนก่อน

    Greetings, first of all, thank you for this video. There is a part I don't understand. Is the part we wrote in the dockerfile "COPY target/HealthChecker-1.0.0.jar /app/HealthChecker.jar" trying to convert the compiled file into a docker image by taking it from the root directory? If so, isn't a jar file created under my target folder as a result of the operations we performed during CI? Is this an issue for my project? Where is the jar file created during the CI process created?

    • @BoualiAli
      @BoualiAli  8 หลายเดือนก่อน

      You can use docker build stages to solve this issue

  • @manojishere
    @manojishere 5 หลายเดือนก่อน

    Thank you, how can I deploy the spring boot jar on windows machine

    • @BoualiAli
      @BoualiAli  3 หลายเดือนก่อน

      coming soon

  • @AlmustaphaTukurUmar
    @AlmustaphaTukurUmar 4 หลายเดือนก่อน

    thanks for the awesome content it’s really educational can we go advance by creating another job that deploy to cloud service like AWS or AZURE when deploying to docker hub is successful

    • @BoualiAli
      @BoualiAli  3 หลายเดือนก่อน

      Yes you can!
      check the latest video

  • @nihatismayilzade2076
    @nihatismayilzade2076 5 หลายเดือนก่อน

    can you share like this concept for gitlab actions for spring boot ci/cd pipelines?

    • @BoualiAli
      @BoualiAli  3 หลายเดือนก่อน

      Soon

  • @surajyerramilli9255
    @surajyerramilli9255 4 หลายเดือนก่อน

    One question, when you open the code editor in the beginning where did you get the pom.xml file? Is it a downloaded file with GitHub actions? Help plz Thankyou, great video tho👌

    • @BoualiAli
      @BoualiAli  3 หลายเดือนก่อน

      check the latst video

  • @FahadMalikNorway
    @FahadMalikNorway 6 หลายเดือนก่อน

    icant find the repo on github. Was really looking forward to do the tutorial with you

    • @BoualiAli
      @BoualiAli  3 หลายเดือนก่อน

      check the description.
      you can check the latest video

  • @ziadghouzlani4220
    @ziadghouzlani4220 ปีที่แล้ว

    Do I need to have an understanding of docker in advance to follow ?

    • @BoualiAli
      @BoualiAli  ปีที่แล้ว +1

      Nope, Docker will be explained in a different video in details

  • @swerytv4342
    @swerytv4342 ปีที่แล้ว

    Thank for this tutorial i just wana know how to add slack notification.

    • @BoualiAli
      @BoualiAli  ปีที่แล้ว

      I will make a video for that

    • @swerytv4342
      @swerytv4342 ปีที่แล้ว

      @@BoualiAli thanks 😊

    • @MamadouMouctarDIALLO-uv5rq
      @MamadouMouctarDIALLO-uv5rq ปีที่แล้ว

      @@swerytv4342 in addition, how to deploy react app with "Github Actions CI/CD pipeline".

  • @kaushikbhadra5689
    @kaushikbhadra5689 ปีที่แล้ว

    Hello, Sir when I am using this file to push and check unit testing. I am always getting error. java.lang.IllegalStateException: Failed to load ApplicationContext for [WebMergedContextConfiguration@552bee2f testClass = and so on. Just Postgres database issue. when i deploy to GitHub. Could you please fix this problem, its really helpful.

    • @BoualiAli
      @BoualiAli  ปีที่แล้ว

      Can you give more context?

  • @OusmaneDiouf-cw2xr
    @OusmaneDiouf-cw2xr ปีที่แล้ว

    Salut Ali est ce que nous pouvons avoir la version en français pour les personnes qui ne comprennent pas l'Anglais ? Merci

    • @BoualiAli
      @BoualiAli  ปีที่แล้ว +1

      Je suis désolé, mais le nouveau contenue sera en anglais. Tu peux activer la traduction des sous titres

  • @ogabekhamdamov7647
    @ogabekhamdamov7647 ปีที่แล้ว

    What if I use gradle instead of maven?

    • @BoualiAli
      @BoualiAli  ปีที่แล้ว +1

      This changes nothing. Just use the gradle command to build, test, ….

    • @ogabekhamdamov7647
      @ogabekhamdamov7647 ปีที่แล้ว

      @@BoualiAli thank you

  • @idouxda
    @idouxda ปีที่แล้ว

    What if I have to use GitLab?

    • @BoualiAli
      @BoualiAli  ปีที่แล้ว

      You can user GitlaCI (it is almost the same)

  • @user-iz6dy4ir4s
    @user-iz6dy4ir4s ปีที่แล้ว

    great👏👏, the good content

    • @BoualiAli
      @BoualiAli  ปีที่แล้ว

      I'm glad you like it