GitLab CI/CD | GitLab Runner Introduction | 2022

  Рет қаралды 134,559

Tech and Beyond With Moss

Tech and Beyond With Moss

Күн бұрын

Пікірлер
@tech_with_moss
@tech_with_moss 2 жыл бұрын
TOC: Introduction: 00:00 What Is GitLab Runner and How Does it Work?: 00:27 Install GitLab Runner: 07:12 Register GitLab Runner: 12:50 Run a GitLab pipeline: 16:47 Conclusion: 22:34
@timothyjuma767
@timothyjuma767 Жыл бұрын
Thanks for the great video. I can't seem to find the link to the Gitlab Project in the video description though!
@shavis4811
@shavis4811 10 ай бұрын
Very clear explanation, this helped me to understand what a git lab runner is and how it works. Superb !!
@aysesemerci6024
@aysesemerci6024 Жыл бұрын
It was clear, organized, and well informative! Thank you for your precious effort and for making this video!
@jackdoe1312
@jackdoe1312 2 жыл бұрын
Moss, your videos are very helpful, please continue the GitLab series
@ledzappelin1179
@ledzappelin1179 2 жыл бұрын
Understanding the fundamentals of these was very important to me and finally after watching several videos about this on YT i can say: your channel rocks! Perhaps you can do runner configuration videos on k8s and terraform ?, that would be great...
@tech_with_moss
@tech_with_moss 2 жыл бұрын
Thank you so much for the feedback! And I appreciate the suggestion on doing runner's on k8s and terraform. This will definitely be put into consideration for a future video.
@Nand_Snowwhite
@Nand_Snowwhite Жыл бұрын
Saved my day ! Thank you so much for making the video. Keep going.
@43694
@43694 2 жыл бұрын
Thank you , could you make a video for the same project but inside Kubernetes?
@romred2547
@romred2547 2 жыл бұрын
+1
@tech_with_moss
@tech_with_moss 2 жыл бұрын
Hello! Do you mean have the GitLab Runner run inside of a Kubernetes cluster instead of on a VM?
@43694
@43694 2 жыл бұрын
@@tech_with_moss yes yes please, and thanks for replying
@johnkebabification
@johnkebabification Жыл бұрын
i was struggling af not knowing why my runner doesnt work when the configuraition looks fine and then i saw your tutorial that you disabled shared runner and it worked :) thanks bro, subscribed
@johnkebabification
@johnkebabification Жыл бұрын
these are the details that chatgpt wouldnt know ;)
@tech_with_moss
@tech_with_moss Жыл бұрын
😂
@tech_with_moss
@tech_with_moss Жыл бұрын
I'm glad it helped!
@sankaranand503
@sankaranand503 10 ай бұрын
You can also change the executor by re-registering the runner again, and mentioning a different executor.
@Freedom-kissan_1947
@Freedom-kissan_1947 Жыл бұрын
Thanks for your session. Really it helped me and I am looking on kubernetes cluster for setting up gitlab-runner.
@jeremyreese4940
@jeremyreese4940 Жыл бұрын
Please make a video for Kubernetes gitlab runner
@FullMe7alJacke7
@FullMe7alJacke7 Жыл бұрын
Clear and concise. Well done.
@luckbychance3179
@luckbychance3179 Жыл бұрын
@Tech and Beyond With Moss Thanks for the great video, Can you please do the same for kubernetees. Like running a pipeline jobs by connecting to an own created kuberneetes cluster
@jeremyreese4940
@jeremyreese4940 Жыл бұрын
I would also like to see an example using kubernetes
@sean_reyes
@sean_reyes 2 жыл бұрын
Hi, Is it possible for you to explain how vercel was able to run a deploy pipeline with a Job that links to the Vercel Project Deployment Dashboard?? How can I replicate the same behavior?
@stephanehenry5057
@stephanehenry5057 2 жыл бұрын
great, yes I would like to see another tutorial with a different runner: Kubernetes.
@uutt1000
@uutt1000 Жыл бұрын
Thank you so much , your videos helped me to understand the basics
@tech_with_moss
@tech_with_moss Жыл бұрын
Thanks! I'm glad you found the video valuable!
@leorotondano
@leorotondano 2 жыл бұрын
Awesome video, Moss. Learned a lot with it.
@tech_with_moss
@tech_with_moss 2 жыл бұрын
Thank you! I'm glad to hear it!
@refatalsakka6740
@refatalsakka6740 Жыл бұрын
Cool. I am just not sure, how will be the new commits pulled into Server? Does runner pull the new changes automatic?
@mykolayatcenko9839
@mykolayatcenko9839 5 күн бұрын
Very clear explanation. Thank u @tech_with_moss Would you please explain how to organize CI / CD with docker compose I was wondering about blue-green deployment
@saeed90411
@saeed90411 2 жыл бұрын
thanks for this good video, please keep up the good work . if it is possible please make a video about run git-lab runner in docker and also deploying a project with docker and git lab ci/cd
@katiemata8109
@katiemata8109 2 жыл бұрын
would love to see a video with kubernetes as the executor
@ngtechltd3568
@ngtechltd3568 2 жыл бұрын
I do not see any link to the project repo, maybe on github/gitlab?
@yenerazis5159
@yenerazis5159 Ай бұрын
One question (also to the viewers of this tutorial): If the gitlab runner executor is Docker and in the gitlab-ci.yaml the image is python, where are the 'echo' commands ran? I would expect in the python container started by the gitlab runner but the python image does not have a shell, it is just python. Or my understanding is not correct? Are the 'echo' commands ran on the gitlab-runner VM's shell? Thank you.
@RamKumar-tk2cb
@RamKumar-tk2cb 2 жыл бұрын
Cool. What a wonderful presentation here. 100 likes 👌
@GM-qv1ql
@GM-qv1ql 2 жыл бұрын
very good articulation! thanks
@tech_with_moss
@tech_with_moss 2 жыл бұрын
Thank you for the feedback!
@HappinessLifestyle
@HappinessLifestyle 2 жыл бұрын
Appreciate your sharing with us 😍😍
@modernceltic168
@modernceltic168 2 жыл бұрын
Great vid. Nice work.
@PlayingLifeOneGameAtATime
@PlayingLifeOneGameAtATime 7 ай бұрын
Can't see the project in the description. Can you please share the link
@pengfeitian910
@pengfeitian910 2 жыл бұрын
Thanks for the video, this tutorial very matches with my learning path.
@Sky-Walker6676
@Sky-Walker6676 2 жыл бұрын
Great Tutorial. Much Appreciated
@joyyoung3288
@joyyoung3288 2 жыл бұрын
what terminal did you use? would like to see the configuration and execution with kubernetes. thanks
@ashokdewan3512
@ashokdewan3512 8 ай бұрын
Thanks for this video. It is helpful to understand correctly.
@tech_with_moss
@tech_with_moss 7 ай бұрын
Thanks! I'm glad to hear it!
@amitpawar1677
@amitpawar1677 2 жыл бұрын
Nice Video Moss
@sooryaj1270
@sooryaj1270 2 жыл бұрын
Awesome video, Thanks for that, I have a doubt that, If my manager registers a specific runner on his machine, will that runner be available for me when I push the code even when his system is shutdown ?
@tech_with_moss
@tech_with_moss 2 жыл бұрын
The machine the runner is installed on must be online so that jobs can be scheduled on it as far as I know. So it would not work if their computer was shutdown or put to sleep.
@raghupathym25
@raghupathym25 2 жыл бұрын
Thanks for the video. How to deploy via cicd if machine is behind the windows bastion host. My aws instance is behind windows bastion. Is this task possible. Currently my cicd is deploying to dev environment(public IP), the requirement is to deploy to prod environment
@jackli1924
@jackli1924 7 ай бұрын
Cool!It is really an amazing video!
@ReminiscewithJohn
@ReminiscewithJohn 9 ай бұрын
I'm also using the external runner (Windows OS), it was working fine but once restarted the runner it throwing an error: could not like lock the /sampleproj.tmp/config file: No file or dir exists. But config is present in the respective location. I have reinstalled runner also still showing an same error. Could you pls gimme a solution?
@blees123
@blees123 2 жыл бұрын
Great content, keep it up.
@gauravguha2613
@gauravguha2613 2 жыл бұрын
can the gitlab runner be used to run parallel jobs from same git repo. Please advise.
@gkarthikraja1890
@gkarthikraja1890 10 ай бұрын
Very nice tutorial thank you
@ice7mayu
@ice7mayu 2 жыл бұрын
Thank you. Your vid helps a lot.
@bleedgreen43
@bleedgreen43 2 жыл бұрын
Very nice video! Hope you can do it for Kubernetes. Thanks
@Raicall
@Raicall Жыл бұрын
Maybe a quick question if you see this by any chance and respond. I would like to run a gitlab runner on AWS, set with running from shell/powershell. Question - I can see that this is running in the background however I would like to see it running in foreground - are there any ways of doing this? (can't find this info anywhere - yet)?
@maheshthaalla9049
@maheshthaalla9049 2 жыл бұрын
Hi Moss, This is one of the best YT channels 👏 🙌 Keep rocking! What happens when I specify under a job two different tags for two different runners? 🤔
@tech_with_moss
@tech_with_moss 2 жыл бұрын
Hi Mahesh! Thank you so much for your feedback! I appreciate it. So I believe this will result in a pipeline syntax error if I remember correctly. I don't think it is possible to declare two tags under a single job definition in a pipeline. I'm not 100% certain so this would need to be verified but that's my initial thought.
@maheshthaalla9049
@maheshthaalla9049 2 жыл бұрын
@@tech_with_moss Thank you for sharing your thoughts on it, Moss! 👍
@ahmedamer4885
@ahmedamer4885 2 жыл бұрын
This is really helpful, thanks a lot for your effort
@Jossnaz
@Jossnaz 2 жыл бұрын
Does something comparable to gitlab runner exist in github? circle ci? what I feel like is.... wouldn't it be possible to debug the pipeline with gitlab runner better? I read in circle ci you can actually debug what you do, but not sure if true
@sabinaback2723
@sabinaback2723 2 жыл бұрын
Hi and thank you for your video! It was very helpful and I better understand runners now. Can I do all the steps for free or does the pipeline cost money?
@tech_with_moss
@tech_with_moss 2 жыл бұрын
I'm glad you liked it! You can utilize shared runners hosted by GitLab for free, but they do limit the amount of time that you can utilize shared runners under the "free plan". If you want to use more time, you would need to purchase a higher plan. However, when you utilize your own runners (like I did in this video), I don't think you have to pay anything, since you're utilizing your own infrastructure and not infrastructure hosted by GitLab.
@sabinaback2723
@sabinaback2723 2 жыл бұрын
@@tech_with_moss thank you for your fast answer! One more question, if I only want to use a container that I am running locally on my computer is that possible to do in the same way as you did in this video? I'm trying, but the runner keeps telling me that it cannot log in. I would preferably not want to use dind.
@Southpaw07
@Southpaw07 9 ай бұрын
@@sabinaback2723 i believe you would need a shell executor .
@tomasmolina2463
@tomasmolina2463 Жыл бұрын
Good content. Thanks.
@uhN0id
@uhN0id 7 ай бұрын
Incredibly clear explanation. Appreciate the info I'll give you a like and subscribe as thanks!
@tech_with_moss
@tech_with_moss 7 ай бұрын
Thank you! I'm glad you found the video valuable!
@michalaugustyniak6449
@michalaugustyniak6449 Жыл бұрын
Thank you. My goal is to deploy a python application to multiple servers ( runners I think in this case ). But the trick is that every server needs to have a different application configuration file ( config.json ) deployed. How would you handle it?
@shrikanttekade926
@shrikanttekade926 2 жыл бұрын
Great video moss... I have one question that how can we create and update any file in gitlab repository using python script inside gitlab
@karimkhalid938
@karimkhalid938 2 жыл бұрын
really very helpful , thanks a lot
@vingorius
@vingorius 10 ай бұрын
It's very helpful. tks moss.
@antoniosa
@antoniosa 2 жыл бұрын
Hi Moss.. amazing introduction. Congrats. What difference between image and service and can you set a default image and change int in other stage ? Thanks
@mikeshilovski1512
@mikeshilovski1512 2 жыл бұрын
Subscribed!
@IsaacCallison
@IsaacCallison 2 жыл бұрын
Life saving shiz right here!
@sushaingarg9750
@sushaingarg9750 2 жыл бұрын
Hey moss how do you suggest I go about building a pipeline scheduled to run once a day with multiple scripts written in TCL , java and python with each script triggered to run right after the previous finishes execution
@aleksanderfrese7024
@aleksanderfrese7024 2 жыл бұрын
I don’t fully understand the purpose of the runner tags. Why do you need to filter runners based on tags? And why do you need to make sure that a runner has the required dependencies if you use a docker image for the job that has the required dependencies?
@tech_with_moss
@tech_with_moss 2 жыл бұрын
The purpose of the tags is to categorize runners based on some attribute (which you select). If I had GitLab Runner installed on several Linux machines, as well as several Windows machines, I might want to add a 'windows' tag to the Runners installed on Windows machines and a 'linux' tag to the Runners installed on Linux machines. That way if I have a pipeline that needs to be executed in a windows environment, I can add the 'windows' tag to the pipeline and only those runners installed on windows will be executing the pipeline jobs. In the video, I used the python tag to indicate that the runner has python available in its execution environment (which is a docker image). It might have been better if I used the operating system example instead of python in the video.
@francksebbah
@francksebbah 2 жыл бұрын
why install gitlab-runner on a machine if we dont watch the way to run the app on the local machine ???
@ajaytaneja111
@ajaytaneja111 2 жыл бұрын
Excellent video! In my case, my Python script will be calling several other applications that are installed on my machine. Does that mean that my Gitlab Runner Executor should be "Shell"?
@mhamzarajput
@mhamzarajput 2 жыл бұрын
where is the repo link?
@jeffersonaizen
@jeffersonaizen Жыл бұрын
help me a lot, thanks
@АндрейСелезнев-ш7т
@АндрейСелезнев-ш7т 3 ай бұрын
BEST
@MsPrettyg00d
@MsPrettyg00d Ай бұрын
👍
@riashaw3841
@riashaw3841 2 жыл бұрын
Hello sir...I'm a freshers...can u tell me which segment is better ? Java devops with cloud or Salesforce?
@adilmuhammad6078
@adilmuhammad6078 Жыл бұрын
I don't understand the part you explain Docker and Tags
GitLab CI CD | Install and Configure GitLab Runner on Kubernetes with Helm
29:42
Tech and Beyond With Moss
Рет қаралды 48 М.
GitLab CI CD Pipeline Tutorial | Introduction | 2022
34:43
Tech and Beyond With Moss
Рет қаралды 245 М.
진짜✅ 아님 가짜❌???
0:21
승비니 Seungbini
Рет қаралды 10 МЛН
I'VE MADE A CUTE FLYING LOLLIPOP FOR MY KID #SHORTS
0:48
A Plus School
Рет қаралды 20 МЛН
GitLab CI/CD Pipeline Tutorial for Beginners (2024)
19:33
Valentin Despa
Рет қаралды 62 М.
Пишем реальный CI/CD пайплайн | GITLAB CI/CD на практике
19:10
GitLab Runners
55:05
GitLab Unfiltered
Рет қаралды 15 М.
So You Think You Know Git - FOSDEM 2024
47:00
GitButler
Рет қаралды 1,3 МЛН
GitLab CI CD Tutorial for Beginners [Crash Course]
1:09:00
TechWorld with Nana
Рет қаралды 1,3 МЛН
Git for GitLab (Beginner's FULL COURSE)
1:33:28
Valentin Despa
Рет қаралды 207 М.
The IDEAL & Practical CI / CD Pipeline - Concepts Overview
22:36
Be A Better Dev
Рет қаралды 494 М.
GitHub Actions Tutorial - Basic Concepts and CI/CD Pipeline with Docker
32:31
TechWorld with Nana
Рет қаралды 1,6 МЛН
Learn Complete GitLab CI/CD in 1 hour | GitLab CI CD Tutorial
1:10:14