Learn GitLab CI/CD by building a complete CICD pipeline for a python demo project | with Docker

? GitLab Course with Kubernetes, Microservices, Multi-Stage: https://bit.ly/3MqmVlr
? Become a DevOps Engineer – 6-month program: https://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”: https://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: https://gitlab.com/nanuchi/gitlab-cicd-crash-course
? Original forked python demo app: https://github.com/benc-uk/python-demoapp
? Docker in Docker Image: https://hub.docker.com/_/docker
? Docker in Docker Gitlab Docs: https://docs.gitlab.com/ee/ci/docker/using_docker_build.html#use-docker-in-docker
? Install Python and Pip: https://www.python.org/downloads/

?????? Course Pre-Requisites ??????
? Docker – learn here: ? https://youtu.be/3c-iBn73dDE
? YAML – learn here: ? https://youtu.be/1uFVr15xDGg
? 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 (https://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 ? https://bit.ly/2F3LXYJ
TWITTER ? https://bit.ly/3i54PUB
LINKEDIN ? https://bit.ly/3hWOLVT
Facebook group ? https://bit.ly/32UVSZP

Similar Posts