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
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...
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.
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
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
@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
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?
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.
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)?
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?
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
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
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
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?
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 ?
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.
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"?
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?
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.
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
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?
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.
@@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.
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
Thanks for the great video. I can't seem to find the link to the Gitlab Project in the video description though!
Moss, your videos are very helpful, please continue the GitLab series
It was clear, organized, and well informative! Thank you for your precious effort and for making this video!
Very clear explanation, this helped me to understand what a git lab runner is and how it works. Superb !!
Saved my day ! Thank you so much for making the video. Keep going.
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...
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.
Clear and concise. Well done.
Thanks for this video. It is helpful to understand correctly.
Thanks! I'm glad to hear it!
Incredibly clear explanation. Appreciate the info I'll give you a like and subscribe as thanks!
Thank you! I'm glad you found the video valuable!
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
these are the details that chatgpt wouldnt know ;)
😂
I'm glad it helped!
Thanks for your session. Really it helped me and I am looking on kubernetes cluster for setting up gitlab-runner.
Cool!It is really an amazing video!
great, yes I would like to see another tutorial with a different runner: Kubernetes.
Appreciate your sharing with us 😍😍
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
Thank you so much , your videos helped me to understand the basics
Thanks! I'm glad you found the video valuable!
It's very helpful. tks moss.
Thanks for the video, this tutorial very matches with my learning path.
very good articulation! thanks
Thank you for the feedback!
Great Tutorial.
Much Appreciated
Thank you. Your vid helps a lot.
BEST
Cool. What a wonderful presentation here. 100 likes
👌
Thanks Moss, youda man!
You can also change the executor by re-registering the runner again, and mentioning a different executor.
Very nice tutorial thank you
Awesome video, Moss. Learned a lot with it.
Thank you! I'm glad to hear it!
Great vid. Nice work.
really very helpful , thanks a lot
Good content. Thanks.
Great content, keep it up.
Life saving shiz right here!
Thank you , could you make a video for the same project but inside Kubernetes?
+1
Hello! Do you mean have the GitLab Runner run inside of a Kubernetes cluster instead of on a VM?
@@tech_with_moss yes yes please, and thanks for replying
This is really helpful, thanks a lot for your effort
help me a lot, thanks
@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
I would also like to see an example using kubernetes
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?
Very nice video! Hope you can do it for Kubernetes. Thanks
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? 🤔
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.
@@tech_with_moss Thank you for sharing your thoughts on it, Moss! 👍
would love to see a video with kubernetes as the executor
Nice Video Moss
Subscribed!
Please make a video for Kubernetes gitlab runner
Can't see the project in the description. Can you please share the link
I do not see any link to the project repo, maybe on github/gitlab?
Cool. I am just not sure, how will be the new commits pulled into Server? Does runner pull the new changes automatic?
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)?
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?
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
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
what terminal did you use? would like to see the configuration and execution with kubernetes. thanks
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
Great video moss... I have one question that how can we create and update any file in gitlab repository using python script inside gitlab
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?
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 ?
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.
can the gitlab runner be used to run parallel jobs from same git repo. Please advise.
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"?
why install gitlab-runner on a machine if we dont watch the way to run the app on the local machine ???
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?
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.
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
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?
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.
@@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.
@@sabinaback2723 i believe you would need a shell executor .
where is the repo link?
Hello sir...I'm a freshers...can u tell me which segment is better ? Java devops with cloud or Salesforce?
I don't understand the part you explain Docker and Tags