GitLab CI CD Tutorial for Beginners [Crash Course]

Sdílet
Vložit
  • čas přidán 16. 05. 2024
  • 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

Komentáře • 738

  • @TechWorldwithNana
    @TechWorldwithNana  Před rokem +50

    🧡 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: ► czcams.com/video/3c-iBn73dDE/video.html
    💡 YAML - learn here: ► czcams.com/video/1uFVr15xDGg/video.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

  • @user-lh6st6wo1g
    @user-lh6st6wo1g Před 3 měsíci +32

    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 CZcams content.

  • @arunrai80
    @arunrai80 Před 5 měsíci +45

    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.

  • @kyabaatsharmaji
    @kyabaatsharmaji Před rokem +21

    Your tutorials are truly blessings for any s/w or devops engineers. Thank you so much ❤️

  • @allisonmachado
    @allisonmachado Před rokem +28

    I'm amazed just how WELL EXPLAINED were all the concepts in this video! Amazing, thank you !

  • @fb6868
    @fb6868 Před rokem +5

    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!

  • @HungNguyen-si2xe
    @HungNguyen-si2xe Před rokem +8

    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.

  • @zeliwong
    @zeliwong Před rokem +12

    This is the first time I really enjoy a lesson from CZcams! 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.

  • @hassaanqureshi6479
    @hassaanqureshi6479 Před rokem +4

    Hands down the best intro walkthrough on GitLab CI/CD there is. Simply brilliant.

  • @aydinahmadli7005
    @aydinahmadli7005 Před rokem +12

    I am impressed with level of simplicity yet straightforwardness in your explanations. Great job! Super fun & educative to watch your tutorials. Thank you.

  • @uninconformemas
    @uninconformemas Před 10 měsíci +7

    It's absurd how easy you can explain things, you are simply the best teacher

  • @mtaghadosi
    @mtaghadosi Před 9 měsíci +8

    You are actually one of the best DevOps teacher that I have ever seen. I already used so many of your free videos in CZcams 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.

  • @TheMUxambazi
    @TheMUxambazi Před 2 měsíci +5

    Nana, we Georgian Devs are proud of you as the symbol of the Georgian woman's power(especially from Samargalo

  • @mohammedkaram8606
    @mohammedkaram8606 Před rokem +6

    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 😍😍😍

  • @jondoe79
    @jondoe79 Před rokem +5

    Nana won't let you down, never doubt, no second thoughts when it comes to proper dedicated content.

  • @docteurplacebo5888
    @docteurplacebo5888 Před 4 měsíci +1

    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 !

  • @FirstLast-fc9cu
    @FirstLast-fc9cu Před 9 měsíci +1

    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.

  • @keeganbantom2999
    @keeganbantom2999 Před rokem +4

    Brilliant crash course! I am already working on a CI/CD pipeline just by going through this video!
    Thank you!!

  • @anikbarua4834
    @anikbarua4834 Před rokem +4

    Finally, I understood the CI/CD in GitLab. Thanks a lot for the complete real tutorial.

  • @technicalilm8999
    @technicalilm8999 Před rokem +1

    This is the most complete tutorial I have ever seen. Thank you so much Nana.

  • @LetWorkTogether
    @LetWorkTogether Před 7 měsíci +6

    This is a perfect anatomy of CI/CD implementation! Thank you.

  • @chandurdissanayake9544
    @chandurdissanayake9544 Před rokem +190

    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
      @kgottsman Před rokem +8

      She explains things plainly and is a great reference.

    • @TechWorldwithNana
      @TechWorldwithNana  Před rokem +7

      Thank you Chandur, really glad to hear! 🤗

    • @ashimov1970
      @ashimov1970 Před rokem +1

      absolutely agree! Long live Ukraine and free Georgia!

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

      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

  • @purvakmistry2128
    @purvakmistry2128 Před rokem +5

    Hats off to Nana and team for creating such awesome, valuable content! Too good!

  • @siphiwemthembu8720
    @siphiwemthembu8720 Před rokem +2

    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.

  • @maverickvasu
    @maverickvasu Před rokem

    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

  • @rastostana
    @rastostana Před rokem +2

    This was truly helpful as an intro into GitLab CI CD. Thank you Nana!

  • @hollisross3561
    @hollisross3561 Před 3 měsíci +1

    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!

  • @modvoip6836
    @modvoip6836 Před rokem +5

    That is one hell of a tutorial, thank you very much! You have a talent to explain it easy!

  • @evaveegee64
    @evaveegee64 Před 7 měsíci +7

    Awesome tutorial! Learning so much and I love the tempo and how well explained! Makes me less afraid of devops 😅

  • @EpicKillstreak
    @EpicKillstreak Před rokem +26

    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

  • @juliocardenas4485
    @juliocardenas4485 Před rokem +20

    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.

  • @BryanDike-vh2fj
    @BryanDike-vh2fj Před rokem +1

    You are amazing Nana. Thank you so much! I find your videos incredibly helpful. You make the most complex concept easy to understand.

  • @siomarapantarotto
    @siomarapantarotto Před 11 měsíci +3

    Fantastic! Great tutorial by an awesome instructor. Thanks, Nana! Love it! ❤

  • @milansingh3222
    @milansingh3222 Před rokem

    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.

  • @brunomadeira5236
    @brunomadeira5236 Před rokem +1

    I really appreciate the amount of effort you put into the presentation. Definitely, the best tutorial I could find on the topic

  • @habrazilay
    @habrazilay Před rokem +1

    As always your explanations and teaching way is clear, simple and understandable! Thank you so much Nana!

  • @nbensa
    @nbensa Před rokem +4

    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!

  • @renends7615
    @renends7615 Před rokem

    Your channel is spectacular!
    The didactics used transforms something complicated into something very simple.
    Grateful!

  • @joseardilag
    @joseardilag Před rokem +2

    Amazing, clear and useful as usual ... great job done!! Thank you so much for keep on sharing your vast knowledge in DevOps

  • @victors9585
    @victors9585 Před rokem +2

    Контент - в кайф!!! 👍👍👍👍👍 Самый доходчивый пример!!! 👍👍👍👍👍 Не останавливайся и БОЛЬШОЕ спасибо за твой труд!!! 🙏🙏🙏🙏🙏

  • @Veyselk721
    @Veyselk721 Před 11 měsíci +4

    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.

  • @princeogabi4397
    @princeogabi4397 Před rokem

    This was a bit daunting yet simple to understand. Thank you Nana. God bless you mightily!

  • @ILuvBilli
    @ILuvBilli Před rokem +1

    Generally I don't comment on CZcams videos, but this tutorial is ultimate on GitLab CI CD, hats off to you

  • @barushmendez2767
    @barushmendez2767 Před rokem

    You are literally the best DevOps teacher out there, I love your content!

  • @ravisinghatia5885
    @ravisinghatia5885 Před rokem

    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

  • @Nico_Dubapest
    @Nico_Dubapest Před rokem +3

    Excellent tutorial!! Thanks a lot for the time spent! You have gained a new subscriber because of this!!

  • @krishnaprasad5503
    @krishnaprasad5503 Před rokem +1

    @Nana, You are really gem at your presentation, especially a person with medium knowledge also can easily understand your classes. Keep rocking always. Thanks !

  • @AbdulBasit-en2yi
    @AbdulBasit-en2yi Před rokem

    Exactly what we needed, to the point knowledge about the gitlab CI/CD pipelines. Thanks for the good content, and effort to make it.

  • @user-vs3yl3hd8r
    @user-vs3yl3hd8r Před 8 měsíci

    What a clear and simple explanation ! Thank you.

  • @stevefox1034
    @stevefox1034 Před rokem +1

    So professional, thank you for calm and comprehensive explanation ❤

  • @mubbarikali
    @mubbarikali Před rokem +11

    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. 🙂🙏

  • @ddarkodev2923
    @ddarkodev2923 Před rokem +2

    Amazing Content + an awesome teacher! Thank you so much, Nana 🤗🤩

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

    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 💚

  • @purvakmistry2128
    @purvakmistry2128 Před rokem +3

    JUST EXCELLENT! TOO GOOD Nana and team!

  • @RafaelGenovezIdalgo
    @RafaelGenovezIdalgo Před rokem +2

    Spectacular class! Congratulations 🤩👏

  • @ashishsahoo9901
    @ashishsahoo9901 Před 3 měsíci +1

    one of the best precise videos on CI/CD on gitlab.

  • @jvm-tv
    @jvm-tv Před 10 měsíci

    This was amazing! You deserve every ounce of success you are having. Respect!

  • @sonalimisra796
    @sonalimisra796 Před rokem +1

    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. 👍✌

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

    Thanks Nana. Your tutorials are wonderful!!!

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

    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.

  • @kennedybacelar7959
    @kennedybacelar7959 Před rokem +20

    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.

  • @aliir74
    @aliir74 Před rokem +2

    Thanks for explaining things very simply and straightforwardly!

  • @rasithamudugamahewage9067

    Thanks for your continuous support. It was a great lesson that anyone could understand.

  • @mihapuzelj
    @mihapuzelj Před rokem

    This is amazing! Love it, great tutorial, thank you ❤

  • @mohamedbashir8737
    @mohamedbashir8737 Před rokem +1

    Thank you! :) now I feel very confident about Docker.

  • @user-qd4oh1fh9l
    @user-qd4oh1fh9l Před 3 měsíci

    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!

  • @michaelolubode6168
    @michaelolubode6168 Před rokem

    Now I can read and understand ci-cd files. Thank you Nana!

  • @gddrew
    @gddrew Před rokem

    Thank you, this explained some very basic concepts that I was missing as I began working with gitlab.

  • @haphamdev
    @haphamdev Před rokem +1

    Thank you very much for a really detailed and comprehensive tutorial.

  • @amostsai
    @amostsai Před rokem

    thank you!
    that's my first CI/CD.
    it work

  • @husseinhassan7989
    @husseinhassan7989 Před rokem +1

    You are amaizing Nana! Thank you so much for this. It'll help in my project

  • @AbhishekYadav-od9ik
    @AbhishekYadav-od9ik Před rokem

    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.

  • @DevinCuevas
    @DevinCuevas Před rokem +1

    This tutorial was absolutely amazing, thank you!

  • @googleint6129
    @googleint6129 Před rokem

    No words are enough to thank you for this AMAZING content.

  • @mohammedkasmi3062
    @mohammedkasmi3062 Před rokem

    An excellent tuto! Thank you very much Nana for this great work, it helped me a lot to start with gitlab CI/CD

  • @davidwbowlby
    @davidwbowlby Před 28 dny +1

    This is an excellent breakdown of the overall process. Thank you for providing this content!

  • @prshendra
    @prshendra Před rokem

    I learned so much from this crash course. Thank you Nana.

  • @nlarralde
    @nlarralde Před měsícem

    This was a massively helpful introduction to GitLab cicd, thank you so much!

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

    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.

  • @robannmateja5000
    @robannmateja5000 Před rokem +2

    Awesome; thanks so much for providing this tutorial.

  • @sagarahire6531
    @sagarahire6531 Před rokem +1

    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

  • @sachinshaji5596
    @sachinshaji5596 Před rokem

    Hi Nana. Thanks for the wonderful session. Loved it. Appreciate your effort and I am fan of your sessions.

  • @JosephRuhundwa
    @JosephRuhundwa Před 9 měsíci +1

    Awesome content. Keep up the good work. Thank you very much.

  • @alvaurah
    @alvaurah Před 6 měsíci +13

    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

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

    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.

  • @thomash.8297
    @thomash.8297 Před rokem +3

    Thank you for this free tutorial 😊

  • @paradoxical_monk
    @paradoxical_monk Před měsícem

    This was so good that I can't believe it! Amazing!

  • @confused6526
    @confused6526 Před rokem +1

    What a demo! Thanks a lot Nana!

  • @smart-orange
    @smart-orange Před rokem

    Just in time. Thanks for your work!

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

    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

  • @halobolah3240
    @halobolah3240 Před rokem +1

    I think it is one of the best tutorial about cicd, Simple but very good 😊thank you a lot!!!

  • @user-zg5ts4ln1j
    @user-zg5ts4ln1j Před 9 měsíci

    Extremely helpful and easy to understand.

  • @huseynismayilzada1594
    @huseynismayilzada1594 Před rokem +1

    This video best tutorial about Gitlab CI/CD in CZcams.Thanks 👍🏻

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

    brilliantly clear explanation - thanks..

  • @atulbansode3745
    @atulbansode3745 Před rokem +1

    Nana - Amazing detailed explanation...This is what I was searching from a long time. All In one,

  • @RochafiAlvin
    @RochafiAlvin Před rokem

    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

  • @rondotexe
    @rondotexe Před rokem +1

    Excellent tutorial! Thanks for sharing!

  • @RamKumar-nm5lr
    @RamKumar-nm5lr Před 8 měsíci

    Very informative and easy to follow. Now I can really create CI/CD pipelines on gitlab. Thank you!

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

    YOU ARE GREAT NANA, THANKS A LOT

  • @cristianodias3529
    @cristianodias3529 Před rokem

    Excellent tutorial! Congratulations! I just learned a lot from this tutorial