🧡 Complete GitLab CI/CD Course with Kubernetes, Microservices, Multi-Stage & more: bit.ly/3MqmVlr 💙 Follow me on Instagram for behind-the-scenes content: 😊instagram.com/techworld_with_nana/ 💚 Become a DevOps Engineer - 6-month program: bit.ly/3BQ6j1v ▬▬▬▬▬▬ Course Pre-Requisites ▬▬▬▬▬▬ 💡 Docker - learn here: ► kzbin.info/www/bejne/aZSQmnWkbJiXeqc 💡 YAML - learn here: ► kzbin.info/www/bejne/Z6aph6Vnat13fck 💡 Basics of Git ▬▬▬▬▬▬ T I M E S T A M P S ⏰ ▬▬▬▬▬▬ 00:00 - Intro and Course Overview 01:25 - What is GitLab CI/CD? 01:59 - What is CI/CD in simple words 03:11 - GitLab in comparison to other CI/CD platforms 04:28 - GitLab Architecture - How GitLab works 06:16 - Overview of the demo app (run locally) 12:47 - Pipeline Configuration File (.gitlab-ci.yml) 14:09 - Run Tests 26:27 - Build and Push Docker Image 27:43 - Variables for Login Credentials 32:33 - Write Pipeline Configuration 38:56 - Docker in Docker 43:23 - Execute Pipeline 44:20 - Define Stages 47:19 - Prepare Deployment Server 47:44 - Create Ubuntu server on DigitalOcean 54:44 - Deploy Application 1:06:22 - Validate Application Runs Successfully 1:07:30 - Delete server on DO 1:07:49 - Dive Deeper into GitLab CI/CD ▬▬▬▬▬▬ What you’ll learn in 1 Hour ✅ ▬▬▬▬▬▬ ► What GitLab CI/CD is ► GitLab compared to other CI/CD platforms ► Overview of GitLab Architecture ► Build a full GitLab CI/CD pipeline for a python app that - executes tests, - builds a Docker image, - pushes to a private Docker repository and - deploys the app to a remote server on DigitalOcean ► Learn GitLab Basic Concepts on the way: - Pipeline, Jobs, - Stages - GitLab Runners and Executors - Variables (Variable and File Type) - Docker in Docker
@TheOliop2 жыл бұрын
Amazing... Thank you!
@hamidoubalde2517 Жыл бұрын
This is awesome Nana.
@JohnHayes-p3q10 ай бұрын
Seriously, Nana, this is absolutely incredible. This is how it's done. This is a crash course not just in CI/CD but in how to make S-tier useful KZbin content.
@arunrai80 Жыл бұрын
You not only know the material, but you are exceptionally great in structuring and explaining them concisely but in details, as a developer learning CI/CD pipelines I have no more words to express my gratitude! Thank you so much for your efforts.
@TechWorldwithNana Жыл бұрын
Thank you, really happy to hear such feedback! :)
@es77292 ай бұрын
You know what's interesting? The first time you watch videos like this, everything feels like, "Huh? Why is this so difficult?" But as time goes on and you gain more experience, you return to these kinds of videos and suddenly everything makes sense - it doesn't seem that difficult anymore. Those moments let you know you've improved and the feeling is indescribable. Keep going, guys! Nana, thank you so much! Your content is truly exceptional!
@fabianpetersen24522 ай бұрын
I hear you, felt like that with kubernetes. Then i did a course with nana and everything made sense 😂
@psychomonk244313 күн бұрын
That's really crazy, and just a indicator that we start at the wrong point. Somewhere in the middle (Frontend) probably.
@SLones_boy Жыл бұрын
You are actually one of the best DevOps teacher that I have ever seen. I already used so many of your free videos in KZbin when I was in another country which I couldn't pay for your products. Now that I am working as a Senior DevOps Expert in a German based company I happily be able to use your premium materials as well. Regards.
@nbensa2 жыл бұрын
I have two decades of Linux/Bash over my shoulders, and I just discovered that you can mix pipe and conditional execution on the same line: `cmd1 && cmd2 | cmd3 && cmd4`. Everyday I learn something new. Thanks Nana!!! You're the best teacher in the world!
@docteurplacebo5888 Жыл бұрын
I'm very new to CI/CD but my project desperately needed it. I'm very thanksful for this course. No loud music, no annoying and flashy things. Just the informations i need to understand. Great job !
@alvaurah Жыл бұрын
For those who might have import error when running make test... this maybe could help add this in the requirements.txt pytest==6.2.5 Werkzeug==2.2.2
@thewarrior9827 Жыл бұрын
Genius man 👍
@Guesswhat923711 ай бұрын
thanks bro
@Rosalind19817 ай бұрын
thank you! I'd just got stuck on this part, appreciate it
@romadmike15 ай бұрын
Thank you!!
@antonisstellas7413 ай бұрын
thanks!
@kennedybacelar79592 жыл бұрын
If someone is having the error "TypeError: required field "lineno" missing from alias" you can change the pytest version in the file src/requirements.txt - From pytest==6.2.2 to pytest==6.2.5 for example.
@mishadsl9848 Жыл бұрын
Thanksman
@tomstagnaro2 жыл бұрын
For anyone who ran into error " "docker stop" requires at least 1 argument." or similar, you must remove the yaml script line "docker ps -aq | xargs docker stop | xargs docker rm &&" the very first time you run this. Because the remote server (in this case DigitalOcean) is looking for the result of the "docker ps" command which don't exist yet. After running it the first time you can add it back in and it will work from then on.
@benschoen30352 жыл бұрын
Hi, I had the same error, but I believe there is an easier way. The xargs command takes an option '-r' or '--no-run-if-empty' which skips the command following it. So, I changed it to "docker ps -aq | xargs -r docker stop | xargs -r docker rm"
@CoreyMinter2 жыл бұрын
@@benschoen3035 aha. I wish I knew that for past 15 years. Thanks
@mvs69 Жыл бұрын
@@benschoen3035 Thanks
@nicolas515910 ай бұрын
@@benschoen3035 Amazing, thank you very much
@tyronmbiachare7 ай бұрын
Useful info. Thanks
@hassaanqureshi64792 жыл бұрын
Hands down the best intro walkthrough on GitLab CI/CD there is. Simply brilliant.
@allisonmachado2 жыл бұрын
I'm amazed just how WELL EXPLAINED were all the concepts in this video! Amazing, thank you !
@duncanyu454810 ай бұрын
Tried locally running the test and run on Macbook Air M1 (Jan 31, 2024). Changed a few things in the requirements.txt file: Flask==3.0.1 py-cpuinfo==9.0.0 pytest==6.2.5 Issue was Jinja2, markupsafe, and some other apps deprecated some named exports. But some Google results say that getting newer versions of those 3 above is sufficient.
@Joselson1410 ай бұрын
Appreciate it
@adamgardner727910 ай бұрын
Thank you!
@morrison40048 ай бұрын
Thank you very much, kind sir!
@elchinefa95247 ай бұрын
Thanks a lot. I saved my day.
@Cookie-sb4sl7 ай бұрын
Thanks a lot!!
@uninconformemas Жыл бұрын
It's absurd how easy you can explain things, you are simply the best teacher
@samvelsiradeghyan55102 жыл бұрын
If you are creating everything from scratch, most probably for deploy stage job will fail and you will see this error in the logs: "docker stop" requires at least 1 argument. See 'docker stop --help'. Usage: docker stop [OPTIONS] CONTAINER [CONTAINER...] Stop one or more running containers "docker rm" requires at least 1 argument. See 'docker rm --help'. Usage: docker rm [OPTIONS] CONTAINER [CONTAINER...] Remove one or more containers Just use -r with xargs like this: docker ps -aq | xargs -r docker stop | xargs -r docker rm It will fix job fail.
@Cookie-sb4sl7 ай бұрын
Thank you!
@chandurdissanayake95442 жыл бұрын
This is so awesome, your the best DevOps teacher out there. And I think we all appreciate you giving us free lessons like this and I hope you keep doing what you love for the free open source community ! :)
@kgottsman2 жыл бұрын
She explains things plainly and is a great reference.
@TechWorldwithNana2 жыл бұрын
Thank you Chandur, really glad to hear! 🤗
@ashimov19702 жыл бұрын
absolutely agree! Long live Ukraine and free Georgia!
@metaphormachines Жыл бұрын
i am really good at explaining somethings so how can i be like you? i will create an youtube channel but dont know how to visuliaze what you want to tell people@@TechWorldwithNana
@mvs69 Жыл бұрын
If you are starting this project fresh today. You will need to change the requirements.txt file to the following: "Flask=2.1.0" Once you do that, the first step of completing "make test" should work(2)
@profskett Жыл бұрын
I had this problem too - turns out it's because I cloned the repo from the original GitHub page. Nana actually fixed this already in her own fork on GitLab! 😂
@aydinahmadli70052 жыл бұрын
I am impressed with level of simplicity yet straightforwardness in your explanations. Great job! Super fun & educative to watch your tutorials. Thank you.
@juliocardenas44852 жыл бұрын
Nana, Your videos will take my career as a data scientist to the next level. I have now a common language with my DevOps colleagues. Thank you for sharing your gifts with the world. I’m grateful and inspired.
@ILuvBilli2 жыл бұрын
Generally I don't comment on KZbin videos, but this tutorial is ultimate on GitLab CI CD, hats off to you
@dyabmo2 жыл бұрын
Thank you so much for the clear explanation! You saved me hours of searching online!
@TechWorldwithNana2 жыл бұрын
You're welcome, thanks for your support Mohamed!
@RochafiAlvin Жыл бұрын
Stop at minute 22:07 just to write this comment. You explained this topic very well. Very sequential and detailed. i should buy the full course
@zeliwong2 жыл бұрын
This is the first time I really enjoy a lesson from KZbin! Very detailed explanation, in "human" words. Must of the times, I fall into lessons where the person explaining is very technical and for people like me, that is their first contact to any of those concepts, it can be terrifying. Thank you very much, I will deffinitely continue learning from you.
@jondoe792 жыл бұрын
Nana won't let you down, never doubt, no second thoughts when it comes to proper dedicated content.
@Senrr2 жыл бұрын
Thanks for the clear explanation with diagram & hands-on demo 👍🏼. Super Easy to follow and well-worth the time to watch and learn. Keep up the good work 😎 🙏🏼
@TechWorldwithNana2 жыл бұрын
Thank you Senthil for your support!
@LetWorkTogether Жыл бұрын
This is a perfect anatomy of CI/CD implementation! Thank you.
@shafiqayon4 ай бұрын
Im a full stack dev from bangladesh, I was running behind on CI/CD pipelines as I worked my entire 9+yrs career on baremetal server, your well explained demo helped me to understand easily this terms. thanks a lot Happy Coding, Cheerio
@khjomaa2 жыл бұрын
Thank you Nana and as always you rock!
@TechWorldwithNana2 жыл бұрын
Thank you Khalil, appreciate your feedback and support :)
@keeganbantom29992 жыл бұрын
Brilliant crash course! I am already working on a CI/CD pipeline just by going through this video! Thank you!!
@siphiwemthembu8720 Жыл бұрын
As an SQL DBA, I can confidently embark on DevOps learning with you at any time and begin applying the knowledge in practice. Your approach to learning is highly efficient. By focusing on teaching 20% of the most important material, you enable learners to comprehend 80% of the subject matter, truly exemplifying the 80/20 rule.
@aditya_mishra44622 жыл бұрын
Nana thanks to you, i was able to switch my career to Devops from system administrator. You rock...
@TechWorldwithNana2 жыл бұрын
Wow, that's amazing to hear. Congrats on that! and thanks for sharing 😊💙 Always love to read such success stories of my viewers 🚀
@anikbarua48342 жыл бұрын
Finally, I understood the CI/CD in GitLab. Thanks a lot for the complete real tutorial.
@kyabaatsharmaji2 жыл бұрын
Your tutorials are truly blessings for any s/w or devops engineers. Thank you so much ❤️
@andrewwild41312 жыл бұрын
You’ve helped me understand so many complex topics now. You’re a hero of the modern world, Nana. You should be very proud of what you’re accomplishing.
@TechWorldwithNana2 жыл бұрын
Thank you Andrew, really appreciate your feedback and support! 🙏
@lukasz44324 күн бұрын
Awesome! Your tutorial is incredible, all clear, all perfectly explained. You are the best teacher ever!
@jsathyanarayana77822 жыл бұрын
Thanks for the video.I would recommend everyone to buy full course for this topic I have become addicted to watching and learning new topics on Nana's channel Thank you for being my teacher.
@TechWorldwithNana2 жыл бұрын
Thank you Jayanth, really happy to hear! 💙
@gyda21003 ай бұрын
Thank you! I've watched many videos on GitLab CI/CD, and yours is by far the best explanation I've come across.
@maverickvasu2 жыл бұрын
i have not seen a better teacher than you in recent years . you are tech savior for human kind. This is not my job, but still love learning the tech stuff . I thoroughly understood and enjoyed the tutorial
@hollisross356111 ай бұрын
Your guide is the absolute best guide for me. It has just the right level of detail, tricks and overview of the technology. I'm a fan for life. Thanks!
@EpicKillstreak2 жыл бұрын
Awesome video, literally one of the best tutorials I've ever seen and I've been a developer for over 6 years. I appreciate all the visualisations and edge cases. Thanks a lot! : 3
@TechWorldwithNana2 жыл бұрын
Thank you, so great to hear :)
@MGralka Жыл бұрын
Very helpful! Thank you!
@TechWorldwithNana Жыл бұрын
Thanks so much for your support! :)
@kmkumar02043 ай бұрын
Great help and work by Nana, those who got the error : Cannot perform an interactive login from a non TTY device , I resolved it by making the Docker variables non-protected when creating them in GUI, those who are using a protected branch dont need to change to unprotected, you can continue with protected variable option. hope this helps for people whoever ran into this issue.
@StubbsUkraine2 жыл бұрын
Thank you so much for your work, you are just an awesome human being ! For anyone else who works on new Apple chips and experienced 'py-cpuinfo currently only works on X86 and some ARM/PPC/S390X CPUs' just update py-cpuinfo to the latest version, I used 8.0.0 and everything worked fine
@Peterenjoy2 жыл бұрын
Thank you!
@victors9585 Жыл бұрын
Контент - в кайф!!! 👍👍👍👍👍 Самый доходчивый пример!!! 👍👍👍👍👍 Не останавливайся и БОЛЬШОЕ спасибо за твой труд!!! 🙏🙏🙏🙏🙏
@HafidLAADIMI-m2w8 күн бұрын
this is amazing , I have just discovered this channel and I fell in love with it
@amadoudiop663411 ай бұрын
I wanted to express my sincere gratitude Nana🥰 for your GitLab CI/CD tutorial. It has been immensely helpful as I prepare for my final internship project in the coming month. Although I couldn't deploy due to the lack of a subscription, I want to assure you that understanding the process was the most important for me. May God bless you for sharing your knowledge.
@KirschblutenTsunami10 ай бұрын
Thank you so much for this video. I just finished my apprenticeship at my company and after 2 1/2 I am still so confused with the whole devops part. Now I finally understand the pipeline part and feel so relieved 😊❤️ thank you so much. The video is very easy to understand but still rich in information and very interesting 🙏
@javierrenteria31952 жыл бұрын
My first statement is not related what you were teaching us. 1 - your voice is amazing and I enjoy it every time I watch any video from you 2 - I understood perfectly everything what you explained us here. I have a couple of knowledge about GitHub Actions (don't know if they are the same) gosh. I learnt everything what I needed!!! Thanks a lot for take your time to make this video ❤️❤️❤️❤️ Oh, almost I forget it... You are the best. 😊😊😊
@mubbarikali2 жыл бұрын
Your way of teaching is very open, simple and authentic. I learnt many things from your tutorials. Thank you so much for delivering very important concepts so easily, with open mind and heart with real intention of teaching others. 🙂🙏
@TechWorldwithNana2 жыл бұрын
Thanks so much Mubbarik, what an amazing feedback 😊
@RarelyMediocre2 жыл бұрын
Hello Nana, thanks to you and your tutorials, I have managed to land what maybe is my dream job as a DevOps engineer! Im using this opportunity to thank you, and maybe to suggest a Bitbucket tutorial as well, as some of us have to adept to the company internal rules and standards. Love and respect from Serbia!!!
@TechWorldwithNana2 жыл бұрын
Wow that's so great to hear, really appreciate your comment and sharing with me! 💙 Also thanks for your suggestion, will definitely consider it!
@modvoip68362 жыл бұрын
That is one hell of a tutorial, thank you very much! You have a talent to explain it easy!
@st751e Жыл бұрын
Very nice explanation of GitLab. I used a GitLab Server and implemented everything on AWS. I ran into some issues, but I eventually got everything to work.
@嘉然今天吃战斧牛-u1h Жыл бұрын
I am now preparing for my job interview, and some companies require candidates be farmiliar with GitLab CI/CD skills, Docker etc. Your video is so valuable, hats off for your effort.
@haneulkk26 күн бұрын
Thank you . This video answered the questions I had while working with CI/CD yaml file. Now I felt like I have a better understanding on the configuration.
@KushalKumar-u1w10 ай бұрын
This video is incredibly helpful for understanding how to create a CI/CD pipeline. Nana, your presentation is amazing and straight to the point. Thank you so much for providing such valuable insights!
@arunkarthik73892 жыл бұрын
I really would like to say, Nana you are the best. I'm working employee and learning the things from your channel in effective and in a simple way. A BIG SHOUT OUT FROM YOUR FAN "ARUN"
@TechWorldwithNana2 жыл бұрын
Really happy to hear Arun 😊
@DeployCode Жыл бұрын
If you are starting this project fresh today. You will need to change the requirements.txt file to the following: "Flask=2.1.0" Once you do that, the first step of completing "make test" should work
@mvs69 Жыл бұрын
Thank You So much !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
@purvakmistry2128 Жыл бұрын
JUST EXCELLENT! TOO GOOD Nana and team!
@Veyselk721 Жыл бұрын
I fell in love with the description. Really perfect course. No boring, no wasting time. She is answering immediately all questions on my mind when watching.
@indiansouls83572 жыл бұрын
From my 2 decades of software experience, wholeheartedly I can say that you have clear, precise and exceptional art of teaching skills. Simply Outstanding ! Thanks for all your efforts. You deserve at least 10 million subscribers :)
@Nico_Dubapest Жыл бұрын
Excellent tutorial!! Thanks a lot for the time spent! You have gained a new subscriber because of this!!
@AbhishekYadav-od9ik Жыл бұрын
I must say that you know a learner's mind very well. The next explanation from you is always the first question that comes in a learner's mind. This might sound a simple thing but a very very rare quality.
@VictorPeraltaGomezАй бұрын
¡Gracias!
@ashishsahoo990110 ай бұрын
one of the best precise videos on CI/CD on gitlab.
@mohammedkaram86062 жыл бұрын
Nana, you can't imagine how happy I felt when I found this tutorial You are amazing, every tutorial I watch from you makes me very excited to work in this field more and more Thank you so much for all what you are providing for us 😍😍😍
@purvakmistry2128 Жыл бұрын
Hats off to Nana and team for creating such awesome, valuable content! Too good!
@TheMUxambazi9 ай бұрын
Nana, we Georgian Devs are proud of you as the symbol of the Georgian woman's power(especially from Samargalo
@technicalilm8999 Жыл бұрын
This is the most complete tutorial I have ever seen. Thank you so much Nana.
@siomarapantarotto Жыл бұрын
Fantastic! Great tutorial by an awesome instructor. Thanks, Nana! Love it! ❤
@HungNguyen-si2xe2 жыл бұрын
Totally appreciate the effort of sharing and love learning everything from you Nana. You made everything possible for all beginners. Best wishes to you and your family.
@ayoubdahir55068 ай бұрын
This lady called Nana is the best teacher I've ever seen. thanks nana
@SebileTarar Жыл бұрын
Elaborately given the fundamental concepts for Gitlab, thank you! And plus the tone of her voice is amazing as a tutor. After watching a couple of different tutorials with a voice triggering my misophonia, this video record saved me 💚
@TuNguyen-ox5lt3 ай бұрын
fantastic, how amazing is your video, after this 1 hour tutorial now i confidently understand the basic step of what actually is CICD
@markjones78229 ай бұрын
This is the first time I have watched any of your videos and I want to say great work, I have finally got round to fully watching this video and it really helped me understand pipelines. Keep up the good work.
@FirstLast-fc9cu Жыл бұрын
Nana I am thoroughly enjoying all your devops related videos and when I can afford to will do your bootcamp course. I love how clearly and simply you explain the tools and concepts.
@brave.circassian773 ай бұрын
Nana you're best teacher. Thanks for tutorials. Love from country Circassia. (Caucasian mountains). Welcome always you're.
@evaveegee64 Жыл бұрын
Awesome tutorial! Learning so much and I love the tempo and how well explained! Makes me less afraid of devops 😅
@weiwu3622 ай бұрын
This video is a lifesaver for a beginner SDE. Thank you so much Nana!
@htetaung0411 ай бұрын
Great tutorial! Exceptional explanations.
@dannggg Жыл бұрын
This video is x10000000 better than that whack sorry gitlab tutorial video from gitlab themselves. The animations the pictures help you really understand how it runs. Thank you for this video. ❤
@huseynismayilzada15942 жыл бұрын
This video best tutorial about Gitlab CI/CD in KZbin.Thanks 👍🏻
@rastostana2 жыл бұрын
This was truly helpful as an intro into GitLab CI CD. Thank you Nana!
@KingoOoVideos2 жыл бұрын
Because of this awesome video I enrolled in your course on GitLab and I will be glad to join your other courses without any doubt thank you for your awesome contents
@TechWorldwithNana2 жыл бұрын
I'm very happy to hear such positive feedback. Appreciate your comment 💙💙
@chenioq Жыл бұрын
I followed this course but finished it with EC2. Now I feel safer to work with devops. Thank you very much Nana.
@suryar63182 жыл бұрын
This is very useful for devops engineer. I have watched this video today. I have learned lot from this video. Thanks for your teaching
@milansingh32222 жыл бұрын
These are all precious materials I can say we will not find nowhere . So so happy and now I have basic idea and confident to move ahead. Thanks Nana as always.
@Rosepoision2 жыл бұрын
WOW the best , crisp and to the point video i have never seen, all concept cleared , NANA some need to containaries you so that we can have more NANA like you
@TechWorldwithNana2 жыл бұрын
Thank you Muhammad, appreciate your comment :)
@davidwbowlby8 ай бұрын
This is an excellent breakdown of the overall process. Thank you for providing this content!
@awsomegamer-1007 ай бұрын
Thank you! Currently working to get an IaC scanner integrated into GitLab. This was immensely helpful!
@joseardilag2 жыл бұрын
Amazing, clear and useful as usual ... great job done!! Thank you so much for keep on sharing your vast knowledge in DevOps
@mohamedlellah83184 ай бұрын
Thank you, Nana. This is truly an excellent introduction to CI/CD with GitLab
@RCL892 жыл бұрын
Big flaw with the deploy stage: there is no explicit pull. So the server will only pull the image the first time, but is never updated by pipelines for new software versions. You'll either need a `docker pull $IMAGE_NAME:$IMAGE_TAG` command or need to add `--pull=always` to the docker run command. Another issue: there's no concurrency synchronization, so the docker push of an older pipeline might run AFTER the docker push of the newer pipeline, therefore deploying an outdated version.
@ankitostwal17 ай бұрын
Great Crash Course Nana... Very detailed explanation of each step. I am gonna write my first pipeline, and try out this demo. Thank you so much.
@TheHandOfKwll2 жыл бұрын
Awesome english pronounce, clear, understandable, lot of thanks to you, lady!
@halobolah3240 Жыл бұрын
I think it is one of the best tutorial about cicd, Simple but very good 😊thank you a lot!!!
@mantrax3142 жыл бұрын
Thanks!
@TechWorldwithNana2 жыл бұрын
Thanks for your support Daniel!
@pain1737_62 жыл бұрын
I am your big fan, thanks for every lesson. Thank you very much for sharing your knowlogment. I'm new to Gitlab CI/CD, but I think deleting all running containers before deploying is not the right way. I would just say that it is correct to remove the desired container. And this is a great video. I hope you will continue to share your knowledge with us. Best wishes to you and your family!
@ByebyeJr3 ай бұрын
This is a first class demo! Thank you for the information
@nlarralde8 ай бұрын
This was a massively helpful introduction to GitLab cicd, thank you so much!
@toml29513 ай бұрын
Liked before watching (and, watched in its entirety). Great content as always! 👐
@TechWorldwithNana3 ай бұрын
Really happy to hear Tom, thanks for the feedback!