Тёмный

GitLab CI CD Tutorial For Beginners | Continuous Deployment of Node JS app with GitLab CI 

Thetips4you
Подписаться 108 тыс.
Просмотров 30 тыс.
50% 1

Welcome to another interesting GitLab tutorial for beginners. In this video we are going to learn how to set up CI/CD Pipeline for a node.js app with GitLab CI. We will create NodeJs GitLab CICD pipeline and will show you the completed process of deploying a Node JS application as docker container.
We will have 4 stages:
1. Build
2. Test
3. Release
4. Deploy
------------------------------------------------------------------------------
How to build image and push to container registry:
• GitLab Tutorial For Be...
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
GitLab maven pipeline:
• GitLab CI CD Tutorial ...
---------------------------------------------------------------------------
----------------------------------------------------------------------------
Check out the github link for the node js application and .gitlab-ci.yml file:
github.com/sha...
---------------------------------------------------------------------------
======================================
Follow me @:
/ thetips4you
/ @thetips4you
/ thetipsforyou
www.thetips4you...
=======================================
Music credit: "Royalty Free Music from Bensound"

Опубликовано:

 

29 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 60   
@holyindian
@holyindian 4 месяца назад
Thanks this is a great tutoral, do you by any chance have the project files to download for this?
@Thetips4you
@Thetips4you 4 месяца назад
Thank you. All details check the GitHub link in video description.
@holyindian
@holyindian 4 месяца назад
@@Thetips4you Amazing thank you this helps a lot. Again hats off for you to check your older videos and add comments when someone is in need
@Thetips4you
@Thetips4you 4 месяца назад
@@holyindian Appreciate your feedback. Thanks
@nicolasduclos-hindie9030
@nicolasduclos-hindie9030 Год назад
Thanks, great tutorial (thanks a lot). Encountered two glitches with self hosted docker gitlab-runners: Using "docker" executor gitlab-runners (themselves as docker containers), needed to "modify" the gitlab-runners config.toml "volumes" to: volumes = ["/var/run/docker.sock:/var/run/docker.sock","/cache"] and "npm test" was hanging until "modified" the "test" in package.json to add "--exit" to mocha: "test": "./node_modules/.bin/mocha --exit ./test/test.js"
@Thetips4you
@Thetips4you Год назад
Thank you.
@mohamadwahyudin3318
@mohamadwahyudin3318 2 года назад
does it use vps?
@Thetips4you
@Thetips4you 2 года назад
I believe you meant vps as virtual private server in cloud , no we are not deploying to cloud.
@chandramouli8972
@chandramouli8972 2 года назад
Hi this is vedio is very help full for me,could you please create vedion on Gitlab CICD Setup with kubernetes.
@Thetips4you
@Thetips4you 2 года назад
Thank you for your feedback, I will consider it for future video's.
@GregorGonzalez
@GregorGonzalez 2 года назад
I finally get it, I didn't know what that was for. I have never had to work with CI/CD or docker but now I need it for a project. Thank you very much, you have opened my vision
@Thetips4you
@Thetips4you 2 года назад
That is great to hear. Wishing you all the best for your learning.
@axellindholm7109
@axellindholm7109 2 года назад
Great video! Would be awesome with a video showing the CI/CD flow of a containerized app being deployed to a Kubernetes cluster. Preferably using one of the more commonly used templating tools like Helm or Kustomize. Perhaps even to multiple namespaces according to a CD process
@Thetips4you
@Thetips4you 2 года назад
Thank you for your feedback. Will consider it for future video's.
@bhaskardixit1564
@bhaskardixit1564 2 года назад
Thanks I recently came across this channel and feels like lots of useful videos here. Thanks again for taking effort and creating videos. Keep posting.
@Thetips4you
@Thetips4you 2 года назад
Thank you for your feedback.
@mounag4322
@mounag4322 2 года назад
very good video thanks a lot i really enjoy watching it .I will be thankful if you talk about continous deployment of node js app with gitlab ci and ssh
@Thetips4you
@Thetips4you 2 года назад
This video is for nodejs app with gitlab ci. Can you explain more about the requirement.
@mounag4322
@mounag4322 2 года назад
@@Thetips4you I mean Gitlab CI deploy to VPS using ssh and thanks for your response :)
@Thetips4you
@Thetips4you 2 года назад
Sure. Will look in to this.
@haemse
@haemse Год назад
all that building and testing for me seems to run on the docker runner. Hwr, where does the production image run???
@Thetips4you
@Thetips4you Год назад
You can use the runner on your production system which is a docker or kubernetes system.
@donghuuhieu137
@donghuuhieu137 2 года назад
can you make a video about cicd with k8s ? thank you so much
@Thetips4you
@Thetips4you 2 года назад
Yes, that's in plan.
@mikedrake5153
@mikedrake5153 2 года назад
great video, would like to see this with Kubernetes
@Thetips4you
@Thetips4you 2 года назад
Thank you, I do have video for deploying to kubernetes however using Jenkins pipeline.
@fkbey5756
@fkbey5756 Год назад
thank you for the video. I have a question. I dont understand, why you push the docker image to the hub? i think it will increase the deploy time. Can we do the same thing without uploading the docker image to hub. Just build the docker image locally and start the container in docker?
@Thetips4you
@Thetips4you Год назад
If you just want to use a local image that should be fine. That is not a good process, you need to keep your images in a repository for use in all machines, for versioning and having the same environment.
@fkbey5756
@fkbey5756 Год назад
@@Thetips4you yes. thank you. i didnt think that aspect.
@tuananhle7704
@tuananhle7704 2 года назад
Thank you sir!
@Thetips4you
@Thetips4you 2 года назад
You are welcome
@gurkanaydin1919
@gurkanaydin1919 2 года назад
Can i see your variables
@Thetips4you
@Thetips4you 2 года назад
These are default gitlab variables and you don't need to set anything seperate.
@ayoubjamouhi6890
@ayoubjamouhi6890 Год назад
Thank you it's my first time using CI/CD with you
@Thetips4you
@Thetips4you Год назад
You are welcome.
@ayoubjamouhi6890
@ayoubjamouhi6890 Год назад
@@Thetips4you thanks, I have a problem now, how can I reuse port 3000 with another pipeline ( build job with docker run stuck)
@Thetips4you
@Thetips4you Год назад
@@ayoubjamouhi6890 You need to kill the previous running containers. Otherwise you can't as the port is already in use. Change the port to a different port number.
@ayoubjamouhi6890
@ayoubjamouhi6890 Год назад
@@Thetips4you thanks, in the build I’m running docker rm name , then run with this name
@ajayshastri737
@ajayshastri737 Год назад
Great video! That was so insightful. How do we deploy the code to a server running on AWS cloud? Do you have any resources for that?
@Thetips4you
@Thetips4you Год назад
Sorry.. Not at this point. Maybe later I will add them.
@ajayshastri737
@ajayshastri737 Год назад
@@Thetips4you Thanks for the reply. Good luck
@jamallmahmoudi9481
@jamallmahmoudi9481 2 года назад
Hi perfect & cool
@Thetips4you
@Thetips4you 2 года назад
Thank you
@CloudNativeAquatic
@CloudNativeAquatic 2 года назад
Where can we find the code repo including the ci.yml file?
@Thetips4you
@Thetips4you 2 года назад
Please check the video description for github link.
@sonnx-
@sonnx- 2 года назад
Cool, thank
@Thetips4you
@Thetips4you 2 года назад
Thanks
@mmu99
@mmu99 2 года назад
thank you sir!
@Thetips4you
@Thetips4you 2 года назад
You are welcome.
@rahulnetawat227
@rahulnetawat227 2 года назад
Perfect Video
@Thetips4you
@Thetips4you 2 года назад
Thank you
@CarenNina-e8k
@CarenNina-e8k 9 месяцев назад
why does the build fail?
@Thetips4you
@Thetips4you 9 месяцев назад
With what error?
@CarenNina-e8k
@CarenNina-e8k 9 месяцев назад
in this section : The command '/bin/sh -c npm install' returned a non-zero code: 134 looks like it's inside Dockerfile @@Thetips4you
@abinayanivya4206
@abinayanivya4206 5 месяцев назад
@@CarenNina-e8k yeah same issue
@abinayanivya4206
@abinayanivya4206 5 месяцев назад
@@Thetips4you plz check
@sereose
@sereose 2 года назад
Cool!
@Thetips4you
@Thetips4you 2 года назад
Thank you.
@sobankhan7517
@sobankhan7517 2 года назад
more interactive content
@Thetips4you
@Thetips4you 2 года назад
Do you mean about this video or it's a suggestion?
Далее
pumpkins #shorts
00:39
Просмотров 12 млн
Шоколадная девочка
00:23
Просмотров 84 тыс.
Редакция. News: 136-я неделя
45:09
Просмотров 984 тыс.
GitLab CI CD Pipeline Tutorial | Introduction | 2022
34:43
GitLab CI/CD: Build a Complete Pipeline from Scratch!
23:04
GitLab CI/CD Pipeline Tutorial for Beginners (2024)
19:33