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?
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.
😂😂😂😂
The best tutorial I've ever had.
Exactly what developers need,Thanks
Happy you liked it
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!
I really appreciate your feedback
Happy you liked it!
Your explanation is excellent, and I'm eagerly anticipating more content from you.
Keep up the good work!
Thank
More content is coming soon. Stay tuned
I hit like even before I start your videos because I know that It will always be a great content. kudos!
You're the best!
Thank you. You are on top as usual. Great content.
I appreciate that!
Thank you! Very helpful tutorial
Glad it was helpful!
Thank you for the excellent video. ❤
Happy you like it
Amazing content. All of ur videos
Glad you like them!
Great content , Thanks Ali :)
Glad you liked it!
Merci Ali super contenu j apprecie bcp.
Happy you liked it
Thanks a lot, you are a great teacher :)
Happy you liked it!
thank you, great content!
Glad you liked it!
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
Thank you so much brother. Happy you like the content.
The docker will be released soon
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.
Sure, I will share an advanced GitHub actions video showing how to create parallel jobs and deployment
Cool.
This Content is wonderful. I would like an advance concepts of creating parallel jobs. Thank you so much
Coming soon.
Already preparing the video
very interesting.Thanks
Glad you enjoyed it
Your explanation is excellent
Glad you liked it!
very useful!
Glad it was helpful!
Perfect ... 🥰
Thank you! 😃
great👏👏, the good content
Glad you think so!
Good job :)
Thanks! 😄
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!
Happy you liked it!
Nice suggestion
thank you
welcome
thanks hachem
Glad you liked it!
thx u🤩
my pleasure
goood
How can we add deployment job which autmatically deploy app to AWS EC2 ?
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?
Already done
waiting for the advanced one (gitops , k8s ...) thank you
Coming soon!
for creating a pipeline do we need to learn yaml language . I am a beginner can you guide me
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?
I really didn’t do any statistics about that. Maybe you can separate the steps and investigates the long running ones
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?
You can use docker build stages to solve this issue
Thank you, how can I deploy the spring boot jar on windows machine
coming soon
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
Yes you can!
check the latest video
can you share like this concept for gitlab actions for spring boot ci/cd pipelines?
Soon
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👌
check the latst video
icant find the repo on github. Was really looking forward to do the tutorial with you
check the description.
you can check the latest video
Do I need to have an understanding of docker in advance to follow ?
Nope, Docker will be explained in a different video in details
Thank for this tutorial i just wana know how to add slack notification.
I will make a video for that
@@BoualiAli thanks 😊
@@swerytv4342 in addition, how to deploy react app with "Github Actions CI/CD pipeline".
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.
Can you give more context?
Salut Ali est ce que nous pouvons avoir la version en français pour les personnes qui ne comprennent pas l'Anglais ? Merci
Je suis désolé, mais le nouveau contenue sera en anglais. Tu peux activer la traduction des sous titres
What if I use gradle instead of maven?
This changes nothing. Just use the gradle command to build, test, ….
@@BoualiAli thank you
What if I have to use GitLab?
You can user GitlaCI (it is almost the same)
great👏👏, the good content
I'm glad you like it