GitLab CI CD Tutorial for Beginners [Crash Course]
Learn GitLab CI/CD by building a complete CICD pipeline for a python demo project | with Docker
🧡 GitLab Course with Kubernetes, Microservices, Multi-Stage: bit.ly/3MqmVlr
💚 Become a DevOps Engineer - 6-month program: bit.ly/3BQ6j1v
#gitlab #gitlabcicd #techworldwithnana
► This course is sponsored by Twingate 🙌🏼, a modern alternative to VPN
► If you want to try it, check out their special offer for my viewers by using the code "NANA": lp.twingate.com/NANA
▬▬▬▬▬▬ 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
▬▬▬▬▬▬ R E F E R E N C E S 🔗▬▬▬▬▬▬
► Git repo we build the CI/CD pipeline for: gitlab.com/nanuchi/gitlab-cic...
► Original forked python demo app: github.com/benc-uk/python-dem...
► Docker in Docker Image: hub.docker.com/_/docker
► Docker in Docker Gitlab Docs: docs.gitlab.com/ee/ci/docker/...
► Install Python and Pip: www.python.org/downloads/
▬▬▬▬▬▬ Course Pre-Requisites ▬▬▬▬▬▬
💡 Docker - learn here: ► • Docker Tutorial for Be...
💡 YAML - learn here: ► • Yaml Tutorial | Learn ...
💡 Basics of Git
▬▬▬▬▬▬ Pre-Requisites if you want to follow the demo ▬▬▬▬▬▬
⌨️ GitLab Account
⌨️ DockerHub Account - we push and pull docker image from Docker Hub (hub.docker.com/)
⌨️ If you want to start the app locally: Install Python3, Pip and make
▬▬▬▬▬▬ 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
▬▬▬▬▬▬ Connect with me 👋 ▬▬▬▬▬▬
INSTAGRAM ► bit.ly/2F3LXYJ
TWITTER ► bit.ly/3i54PUB
LINKEDIN ► bit.ly/3hWOLVT
Facebook group ► bit.ly/32UVSZP
Пікірлер: 730
🧡 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: ► kzread.info/dash/bejne/ZZdhy6SnZ5bKdKg.html 💡 YAML - learn here: ► kzread.info/dash/bejne/Y6l6uNRqZduqd8o.html 💡 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
@TheOliop
Жыл бұрын
Amazing... Thank you!
@hamidoubalde2517
Жыл бұрын
This is awesome Nana.
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 KZread content.
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
5 ай бұрын
Thank you, really happy to hear such feedback! :)
Your tutorials are truly blessings for any s/w or devops engineers. Thank you so much ❤️
I'm amazed just how WELL EXPLAINED were all the concepts in this video! Amazing, thank you !
This is the first time I really enjoy a lesson from KZread! 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.
Hands down the best intro walkthrough on GitLab CI/CD there is. Simply brilliant.
I am impressed with level of simplicity yet straightforwardness in your explanations. Great job! Super fun & educative to watch your tutorials. Thank you.
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.
Many thanks Nana for this great free video❤. There are a lot of videos available here, but I really like the way you mix demo and content. Furthermore you can explain perfectly these technologies 🤟I have learned a lot in this one hour. This will definitely help me in my daily business 😊 I very much appreciate this!
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 !
You are actually one of the best DevOps teacher that I have ever seen. I already used so many of your free videos in KZread 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.
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 😍😍😍
It's absurd how easy you can explain things, you are simply the best teacher
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.
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.
Brilliant crash course! I am already working on a CI/CD pipeline just by going through this video! Thank you!!
Nana won't let you down, never doubt, no second thoughts when it comes to proper dedicated content.
Hats off to Nana and team for creating such awesome, valuable content! Too good!
Finally, I understood the CI/CD in GitLab. Thanks a lot for the complete real tutorial.
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
@TechWorldwithNana
Жыл бұрын
Thank you, so great to hear :)
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 ! :)
@kgottsman
Жыл бұрын
She explains things plainly and is a great reference.
@TechWorldwithNana
Жыл бұрын
Thank you Chandur, really glad to hear! 🤗
@ashimov1970
Жыл бұрын
absolutely agree! Long live Ukraine and free Georgia!
@metaphormachines
5 ай бұрын
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
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
This is the most complete tutorial I have ever seen. Thank you so much Nana.
This is a perfect anatomy of CI/CD implementation! Thank you.
That is one hell of a tutorial, thank you very much! You have a talent to explain it easy!
This was truly helpful as an intro into GitLab CI CD. Thank you Nana!
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!
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.
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!
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.
Fantastic! Great tutorial by an awesome instructor. Thanks, Nana! Love it! ❤
You are amazing Nana. Thank you so much! I find your videos incredibly helpful. You make the most complex concept easy to understand.
I really appreciate the amount of effort you put into the presentation. Definitely, the best tutorial I could find on the topic
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.
As always your explanations and teaching way is clear, simple and understandable! Thank you so much Nana!
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. 🙂🙏
@TechWorldwithNana
Жыл бұрын
Thanks so much Mubbarik, what an amazing feedback 😊
Your channel is spectacular! The didactics used transforms something complicated into something very simple. Grateful!
Generally I don't comment on KZread videos, but this tutorial is ultimate on GitLab CI CD, hats off to you
@Nana, You are really gem at your presentation, especially a person with medium knowledge also can easily understand your classes. Keep rocking always. Thanks !
Amazing, clear and useful as usual ... great job done!! Thank you so much for keep on sharing your vast knowledge in DevOps
You are literally the best DevOps teacher out there, I love your content!
Контент - в кайф!!! 👍👍👍👍👍 Самый доходчивый пример!!! 👍👍👍👍👍 Не останавливайся и БОЛЬШОЕ спасибо за твой труд!!! 🙏🙏🙏🙏🙏
Exactly what we needed, to the point knowledge about the gitlab CI/CD pipelines. Thanks for the good content, and effort to make it.
I have never watched such an awesome tutorial till now, great explanation and covered all the possible errors that can come. Really helpful Nana, Thanks
Nana, we Georgian Devs are proud of you as the symbol of the Georgian woman's power(especially from Samargalo
This was a bit daunting yet simple to understand. Thank you Nana. God bless you mightily!
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 💚
This was amazing! You deserve every ounce of success you are having. Respect!
Awesome tutorial! Learning so much and I love the tempo and how well explained! Makes me less afraid of devops 😅
Excellent tutorial!! Thanks a lot for the time spent! You have gained a new subscriber because of this!!
Amazing Content + an awesome teacher! Thank you so much, Nana 🤗🤩
Now I can read and understand ci-cd files. Thank you Nana!
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.
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.
An excellent tuto! Thank you very much Nana for this great work, it helped me a lot to start with gitlab CI/CD
one of the best precise videos on CI/CD on gitlab.
Thank you, this explained some very basic concepts that I was missing as I began working with gitlab.
So professional, thank you for calm and comprehensive explanation ❤
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!
JUST EXCELLENT! TOO GOOD Nana and team!
Thanks for explaining things very simply and straightforwardly!
Thanks for your continuous support. It was a great lesson that anyone could understand.
This is amazing! Love it, great tutorial, thank you ❤
Wow. ❤Thank you so much for this amazing GitLab CI/CD tutorial. You have described here each & every steps so clearly. Much appreciated for this detailed tutorial. 👍✌
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
4 ай бұрын
Genius man 👍
@chetanthakre9327
4 ай бұрын
thanks bro
@Rosalind1981
11 күн бұрын
thank you! I'd just got stuck on this part, appreciate it
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.
This tutorial was absolutely amazing, thank you!
What a demo! Thanks a lot Nana!
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.
Spectacular class! Congratulations 🤩👏
Everytime you comes with the much needed skill-set which ppl r looking for...i know i've said this several time but i really appreciate and value ur work...it takes a courage and big heart to do this stuff for free...Huge thanks @TechworldwithNana...wish u a million subscribers soon
No words are enough to thank you for this AMAZING content.
I learned so much from this crash course. Thank you Nana.
Hi Nana. Thanks for the wonderful session. Loved it. Appreciate your effort and I am fan of your sessions.
This is an excellent breakdown of the overall process. Thank you for providing this content!
Thank you! :) now I feel very confident about Docker.
A great Thank you to you. You helped me to understand the gitlab-ci's file structure and the CI/CD. Thank you very much again
Just in time. Thanks for your work!
You are amaizing Nana! Thank you so much for this. It'll help in my project
thank you! that's my first CI/CD. it work
This was a massively helpful introduction to GitLab cicd, thank you so much!
Thank you very much for a really detailed and comprehensive tutorial.
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.
@Joselson14
3 ай бұрын
Appreciate it
@adamgardner7279
2 ай бұрын
Thank you!
@morrison4004
Ай бұрын
Thank you very much, kind sir!
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
10 ай бұрын
Thanksman
That was a very clean and clear explanation of Gitlab CI/CD , thank you so much :)
Thanks Nana for providing such a simple , neat explanation in this tutorial. As always, this one also was an informative one
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 😎 🙏🏼
@TechWorldwithNana
Жыл бұрын
Thank you Senthil for your support!
Hello nana, You are wonderful ! Your way of teaching is very simple. You have an ambition of teaching others. I have learnt a lot of things from you. Thank you so much for your effort.
Thank you so much for such a well thought out and clear to understand tutorial! :)
Nana - Amazing detailed explanation...This is what I was searching from a long time. All In one,
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.
@TechWorldwithNana
Жыл бұрын
Thank you Jayanth, really happy to hear! 💙
I think it is one of the best tutorial about cicd, Simple but very good 😊thank you a lot!!!
Thank you for your awesome workshop, very well explained in a short time. Especially the SSH parts at the end are often hard to understand, I do hope everyone benefits from your explanations :-)
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 :)
Thanks Nana, this is an easy-to-understand video on Gitlab CICD.
What a clear and simple explanation ! Thank you.
Excellent tutorial! Congratulations! I just learned a lot from this tutorial
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
While very late to the party, thank you very much Nana for a great video and great introduction to pipelines outside of my Jenkins comfort zone!