GitLab Beginner Tutorial 5 | How to install GitLab Runner on Mac OS

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 มิ.ย. 2024
  • FREE Courses - automationstepbystep.com/
    Today we will learn
    What is GitLab Runner
    How to install GitLab runner
    How to register GitLab runner
    How to start GitLab runner
    - used in GitLab CI
    - Open-source continuous integration service included with GitLab
    - used to run jobs & send results back to GitLab
    Step 1: Install GitLab Runner
    docs.gitlab.com/runner/
    docs.gitlab.com/runner/instal...
    brew install gitlab-runner
    gitlab-runner --version
    Step 2: Register GitLab Runner
    docs.gitlab.com/runner/regist...
    gitlab-runner register
    Step 3: Start GitLab Runner
    brew services start gitlab-runner
    brew services stopgitlab-runner
    Step 4: Check runner is activated in the project
    #GitLabTutorials
    GitHub - github.com/Raghav-Pal/
    Udemy - www.udemy.com/user/raghav-pal-3/
    Training by Raghav at your venue - raghav.qna@gmail.com
    Training schedule - automationstepbystep.com/trai...
    ----------- UI TESTING -----------
    Selenium Beginners - bit.ly/2MGRS8K
    Selenium Java Framework from Scratch - bit.ly/2N9xvR6
    Selenium Python - bit.ly/2oyMp5x
    Selenium Tips - bit.ly/2owxc50
    Selenium Builder - bit.ly/2MKNtlq
    Katalon Studio - bit.ly/2wARFdi
    Robot Framework with RIDE- bit.ly/2Px6Ue9
    Robot Framework with Eclipse - bit.ly/2N8DZxb
    Protractor - bit.ly/2KtqVkU
    ----------- API TESTING -----------
    Web Services (API) - bit.ly/2MGafL7
    SoapUI - bit.ly/2MGahmd
    Postman - bit.ly/2wz8LrW
    General - bit.ly/2PYdwmV
    Katalon Studio API Testing - bit.ly/2BwuCTN
    ----------- MOBILE TESTING -----------
    Appium - bit.ly/2ZHFSGX
    Mobile Playlist - bit.ly/2PxpeUv
    ----------- CI | CD | DEVOPS -----------
    Jenkins Beginner - bit.ly/2MIn8EC
    Jenkins Tips & Trick - bit.ly/2LRt6xC
    Docker - bit.ly/2MInnzx
    ----------- VERSION CONTROL SYSTEM -----------
    Git & GitHub - bit.ly/2Q1pagY
    ----------- PERFORMANCE TESTING -----------
    JMeter Beginner - bit.ly/2oBbtIU
    JMeter Intermediate - bit.ly/2oziNVB
    JMeter Advanced - bit.ly/2Q22Y6a
    JMeter Tips & Tricks - bit.ly/2NOfWD2
    Performance Testing - bit.ly/2wEXbLS
    ----------- PROGRAMMING -----------
    Java Beginners - bit.ly/2PVUcXs
    Java Tips & Tricks - bit.ly/2CdcDnJ
    GROOVY - bit.ly/2FvWV5C
    JAVASCRIPT - bit.ly/2KJDZ8o
    ----------- IDE -----------
    Visual Studio Code - bit.ly/2V15yvt
    ----------- MAVEN -----------
    Maven - bit.ly/2NJdDRS
    ----------- OTHERS -----------
    Redis- bit.ly/2N9jyCG
    Misc - bit.ly/2Q2q5xQ
    Tools & Tips - bit.ly/2oBfwoR
    QnA Friday- bit.ly/2NgwGpw
    Sunday Special - bit.ly/2wB23BO
    Ask Raghav - bit.ly/2CoJGWf
    Interviews - bit.ly/2NIPPxk
    All Playlists - bit.ly/2LSiezA
    Keep Learning,
    Raghav
    Udemy Courses - www.udemy.com/user/raghav-pal-3/
    TH-cam - / automationstepbystep
    You can support my mission for education by sharing this knowledge and helping as many people as you can.

ความคิดเห็น • 122

  • @mansipathak9294
    @mansipathak9294 2 ปีที่แล้ว

    The best thing about your videos are- they are crisp and give what we are looking about. Thank you Raghav!

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      Most welcome Mansi

  • @tusharpatil3593
    @tusharpatil3593 3 ปีที่แล้ว +1

    Hi Raghav, Excellent way of teaching. Highly appreciate the easy way to explain the basic concepts. Thank you. Will look forward to learning more and more from you.

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      You are most welcome Tushar

  • @dedpossum66
    @dedpossum66 2 ปีที่แล้ว +1

    Thank you, very helpful! I like how organized your presentation is.

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      You're very welcome!

  • @victorregoz
    @victorregoz 4 ปีที่แล้ว +2

    Thank you, looking forward to more CI tutorials with GitLab, I need to learn how to setup devOps CI/CD to my projects so I can work more efficiently with my team.

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Sure Victor, I will keep uploading more videos

  • @cruepprich
    @cruepprich 3 ปีที่แล้ว

    Very well organized and informative. Thanks!

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      Glad it was helpful!

  • @suryaguetta
    @suryaguetta 4 ปีที่แล้ว +1

    Thanks Raghav for the content you have provided.

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว +1

      You're welcome Surya

  • @Subodhhyd
    @Subodhhyd 4 ปีที่แล้ว

    Good learning video. This step by step. It demonstrate the steps very clearly.

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Thanks for watching Subodh

  • @namlevan2929
    @namlevan2929 2 ปีที่แล้ว

    thank you so much for your fantastic playlist. I got a building pipeline task for my company's project, this help me a lot

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      Glad it helped Nam

  • @meetbrahmbhatt480
    @meetbrahmbhatt480 3 ปีที่แล้ว

    That was really really helpful.

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      Glad it was helpful!

  • @awnotalan817
    @awnotalan817 3 ปีที่แล้ว

    Simple & Easy to Understand... Thanks

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      Most welcome Anjar

  • @allantumuhimbise3438
    @allantumuhimbise3438 3 ปีที่แล้ว

    Thanks a lot, your videos are so helpful

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      You are welcome Allan

  • @sarthak1317
    @sarthak1317 3 ปีที่แล้ว

    Thank you so much, this helped a lot.

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      Most welcome Sarthak

  • @manojkalisetty936
    @manojkalisetty936 4 ปีที่แล้ว

    Thanks a lot very helpful tutorial

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      You're welcome Manoj

  • @AnilTad
    @AnilTad 3 ปีที่แล้ว

    You are awesome...very nicely explanation about each point.

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว +1

      Most welcome Anil

  • @amanueltesfu6071
    @amanueltesfu6071 2 ปีที่แล้ว

    Thank you so much. I am enjoying your lectures!

  • @shanth4all
    @shanth4all 2 ปีที่แล้ว

    Awesome Raghav, This was much useful.

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      Most welcome Shanth

  • @36191727
    @36191727 ปีที่แล้ว

    Thnaks for the quick tutorial was very usefull

    • @RaghavPal
      @RaghavPal  ปีที่แล้ว

      You're welcome!

  • @rd3389
    @rd3389 2 ปีที่แล้ว

    great video! Thank you

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      You are welcome!

  • @amitpawar1677
    @amitpawar1677 2 ปีที่แล้ว

    Nice video sir. Very well explained.

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      Most welcome Amit

  • @DonCachuela22
    @DonCachuela22 3 ปีที่แล้ว

    thank you for this tutorial bro

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว +1

      Most welcome Don

    • @DonCachuela22
      @DonCachuela22 3 ปีที่แล้ว

      @@RaghavPal we are shifting to gitlab from svn, your videos are very helpful.

  • @sivarasana3641
    @sivarasana3641 2 ปีที่แล้ว

    Excellent explanation

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      Thanks Sivarasan

  • @Bharathkumar-zs3zb
    @Bharathkumar-zs3zb 2 ปีที่แล้ว

    superb bro thanks !!!

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      You're welcome Bharath

  • @jamemamjame
    @jamemamjame 3 ปีที่แล้ว

    Thanks 🙏🏼

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      Most welcome

  • @ayeshawaheed1706
    @ayeshawaheed1706 3 ปีที่แล้ว

    Can you please make a video of the deployment process to automate processes (build, test and deliver) through fastlane?

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      I will plan Ayesha

  • @alexgochenour8740
    @alexgochenour8740 2 ปีที่แล้ว

    This was really good. Thank you!
    But is it possible to run an entire pipeline (with artifacts) locally? I am able to run individual CI/CD jobs using gitlab-runner, but nothing for the entire pipeline.

    • @RaghavPal
      @RaghavPal  ปีที่แล้ว

      You can Alex, will need to setup on the local machine with all required tools and apps

  • @majailic2166
    @majailic2166 4 ปีที่แล้ว +1

    Could you make videos about Gatling tool?

  • @MaheswaraReddyY
    @MaheswaraReddyY 4 ปีที่แล้ว +1

    Hi Please create a video how to install gitlab runner as a docker service and how it will work. This is the crucial part in the Gitlab

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      I will check on this Maheswara

  • @mielushe2lheureux939
    @mielushe2lheureux939 8 หลายเดือนก่อน

    Thank you so much for your videos. Please could you update the present video? Thank you.

    • @RaghavPal
      @RaghavPal  8 หลายเดือนก่อน

      Sure, please let me know the specific part or step that needs update

  • @tamilselvan8343
    @tamilselvan8343 4 ปีที่แล้ว

    Hi Raghav I need one request could you make videos on integrate gitlab with sonarqube

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว +1

      I will check on this Tamil

  • @ncaidin
    @ncaidin 3 ปีที่แล้ว

    Hi Raghav, for MacOS the gitlab documents say to install Docker.app before registering a runner under macOS. Do you know anything about that? Is it a recommendation or a requirement?

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      Hi Neal, I will check on this, You can follow the documentation

  • @aloybackbanerjeeup7634
    @aloybackbanerjeeup7634 2 ปีที่แล้ว

    Hi, thanks for the nice tutorial, but I am facing some issue while mapping two gitlab runner against a single project. Always second runner remains in "New runner.Has not connected yet" status.I have tried many things but could not solve it. Can you kindly help

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      Hi Aloy, I am not sure why is this happening, will need to do some troubleshooting online

  • @kansairobot2015
    @kansairobot2015 4 ปีที่แล้ว

    Can you do a video on how to install gitlab runner on a container?

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว +1

      I will check and plan for this

  • @roudyh.
    @roudyh. ปีที่แล้ว

    what if there's no "settings" on the sidebar, and thus no CI/CD option... Is personal access tokens a good alternative?

    • @RaghavPal
      @RaghavPal  ปีที่แล้ว

      If you don't see the "Settings" option on the sidebar in GitLab, it's possible that you don't have the necessary permissions to access that feature. In that case, you could try contacting your GitLab administrator to request access or permissions.
      If you can't access the CI/CD options in GitLab, you could use personal access tokens (PATs) as an alternative to authenticate your CI/CD pipeline. A PAT is a type of access token that you can create in GitLab, which allows you to authenticate and authorize access to GitLab APIs and services.
      To use a PAT for your CI/CD pipeline in GitLab, you would need to create a new PAT in your GitLab account with the necessary permissions to access your repositories, and then configure your CI/CD pipeline to use that token for authentication. You can find more information on how to create and use PATs in the GitLab documentation.

  • @sayanghosh3748
    @sayanghosh3748 11 หลายเดือนก่อน

    Later if I want to run any project in docker, then what I have to do ? Because you are only specifying the shell . Can you pls elaborate this thing

    • @RaghavPal
      @RaghavPal  11 หลายเดือนก่อน

      Hi Sayan
      To run a project in Docker on GitLab, you will need to create a Dockerfile. The Dockerfile is a text file that specifies the steps that Docker needs to take to build and run the image.
      The following is an example of a Dockerfile that you can use to run a Java project in Docker:
      ```
      FROM openjdk:11-jdk
      RUN mkdir /app
      COPY . /app
      WORKDIR /app
      CMD ["java", "-jar", "my-app.jar"]
      ```
      This Dockerfile will create an image that has Java 11 installed and the project code copied into the `/app` directory. The `CMD` instruction specifies that the `java` command will be used to run the `my-app.jar` file.
      Once you have created the Dockerfile, you can build the image by running the following command:
      ```
      docker build -t my-app .
      ```
      This will build the image and tag it with the name `my-app`.
      To run the image, you can use the following command:
      ```
      docker run -it my-app
      ```
      This will run the image in a container. The `-it` option tells Docker to interactively run the container, so you will be able to see the output of the `java` command.
      Once the container is running, you can access the project code by using the `/app` directory.
      I hope this helps!

  • @tamilselvan8343
    @tamilselvan8343 4 ปีที่แล้ว

    Hi Raghav my another question is for installing gitlab runner in VM is this mandatory to install gitlab

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      No Tamil, anyways we do not install GitLab, its web application.

  • @kashifaliuk
    @kashifaliuk 2 ปีที่แล้ว

    which text editor you are using on your mac for notes ??

  • @ankittiwari8831
    @ankittiwari8831 4 ปีที่แล้ว

    Hi Raghav,
    As the limitation of gitlab runner as we cannot install on windows where we have gitlab running? could you guide where i can install, as i have to perform task from my personal laptop itself.
    /Ankit

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      It can be run on windows Ankit, Check the next video

  • @minimalismore
    @minimalismore 2 ปีที่แล้ว

    🙏🏼

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      Thanks for watching

  • @pavankumar5419
    @pavankumar5419 4 ปีที่แล้ว

    Can we start ci cd pipe line without git lab runner

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Hi Pavan, you will need gitlab runner

  • @UmeshKumar-zv1eg
    @UmeshKumar-zv1eg 3 ปีที่แล้ว

    I am unable to start the runner which is already registered. As a temporary solution I ran "gitlab-runner run" but when I am closing the terminal it is stopping all the runners again. Could you please help me in fixing this issue permanently.
    Hoping reply in a trice.
    Thanks in advance :)

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      Hi Umesh, I will need to check the setup and logs if any. Can try the process again

  • @someshgupta2369
    @someshgupta2369 4 ปีที่แล้ว

    Hello Raghav, I followed your instructions as in the video and my gitlab runner was unable to register and gave me the following error:
    ERROR: Registering runner... forbidden (check registration token) runner=bw5wEWZy
    PANIC: Failed to register this runner. Perhaps you are having network problems
    Can you please let me know what the problem is?

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Hi Somesh, do you have a limited network or proxy

    • @someshgupta2369
      @someshgupta2369 4 ปีที่แล้ว

      I use my University provided Network (eduroam). What should I do to resolve it? Does it mean that if I use personal network it will work?

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      May be because of that, There may be some restrictions or firewall. Can try on your personal network

  • @brainlessgenerationgopi5092
    @brainlessgenerationgopi5092 2 ปีที่แล้ว

    Hi Raghav , I am getting access Denied from empty server and I don’t see any where you explained about tokens?

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      Hi,
      While connecting/pushing to github from any external platform/tool, you will NOW need to provide ACCESS TOKEN in place of password
      To generate Access Token
      1. Login to your GitHub account
      2. Verify your email address, if it hasn't been verified yet.
      3. In the upper-right corner of any page, click your profile photo, then click Settings.
      4. In the left sidebar, click Developer settings.
      5. In the left sidebar, click Personal access tokens.
      6. Click Generate new token.
      7. Give your token a descriptive name.
      8. To give your token an expiration, select the Expiration drop-down menu, then click a default or use the calendar picker
      9. Select the scopes, or permissions, you'd like to grant this token. To use your token to access repositories from the command line, select repo.
      10. Click Generate token

    • @brainlessgenerationgopi5092
      @brainlessgenerationgopi5092 2 ปีที่แล้ว

      @@RaghavPal thanks 🙏 Raghav for quick reply really appreciated

  • @EnglishDevOps
    @EnglishDevOps 2 ปีที่แล้ว

    in 1 project only one runner can be created or we can create many runner ? how to start 2nd runner if it's possible to create 2nd runner ?

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว +1

      Hi Nishant, Yes, we can have multiple runners, can check this forum.gitlab.com/t/can-we-have-multiple-runners-with-a-single-job/37231

    • @EnglishDevOps
      @EnglishDevOps 2 ปีที่แล้ว

      @@RaghavPal thanks 😊

  • @sanya4189
    @sanya4189 3 ปีที่แล้ว

    Hey there ...I am trying to download gitlab but it asks for a password on the terminal window and there's a key icon in front of it and I am unable to type ....can you please tell me what can I do about it

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      Hi Sanya, it actually adds what you type but is not visible, Just type your password and hit enter

  • @vinaykumar7
    @vinaykumar7 4 ปีที่แล้ว

    Hi, I am trying to install for mac os it's asking for password I tried Gitlab password and also ssh password but it says wrong password.

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Hi Vinay, are you facing something like this - stackoverflow.com/questions/41608206/gitlab-ci-cant-fetch-repo-because-keep-asking-for-keychain-password

  • @WaseemAhmad-ng3vz
    @WaseemAhmad-ng3vz 3 ปีที่แล้ว

    Where to find the notes you made for git lab?

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว +1

      Hi Waseem, all notes are added in Description below the video

    • @WaseemAhmad-ng3vz
      @WaseemAhmad-ng3vz 3 ปีที่แล้ว

      @@RaghavPal Thanks :)

  • @ranjeetmishra2375
    @ranjeetmishra2375 4 ปีที่แล้ว +1

    sir what about linux? at least give some idea ...

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      I will do a session on Linux Ranjeet, For now pls try online help

  • @samozturk8276
    @samozturk8276 2 ปีที่แล้ว

    What does gitlab runner do?

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      this will help forum.gitlab.com/t/can-we-have-multiple-runners-with-a-single-job/37231

  • @lifeisajourney8898
    @lifeisajourney8898 2 ปีที่แล้ว

    For windows how we are going to install

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      See the next video here th-cam.com/play/PLhW3qG5bs-L8YSnCiyQ-jD8XfHC2W1NL_.html

  • @blerman13
    @blerman13 ปีที่แล้ว

    how can I install it in Windows??

    • @RaghavPal
      @RaghavPal  ปีที่แล้ว

      Hi, pls check this docs.gitlab.com/runner/install/windows.html

  • @NorakRottanak
    @NorakRottanak 3 ปีที่แล้ว

    After watched 3 times, I still dun know what is GitLab Runner, and why installed it?

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      Hi Norak, I will check again and will add if missed, GitLab Runner is an application that works with GitLab CI/CD to run jobs in a pipeline.

  • @saahilkambale
    @saahilkambale 2 ปีที่แล้ว

    Kitna add hai bhai????

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      will try to keep it low

  • @siddharthdedhia11
    @siddharthdedhia11 3 ปีที่แล้ว

    what is gitlab runnner :/

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      Hi Siddharth, can get full info here - docs.gitlab.com/runner/

  • @adamfekete9230
    @adamfekete9230 4 ปีที่แล้ว

    Good tutorial but a bit too much detail at times, no need to explain what homebrew is etc.. Some assumed knowledge should be assumed :)

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Sure Adam, was just taking care of complete beginners. I will take care

    • @gill194
      @gill194 4 ปีที่แล้ว +2

      @@RaghavPal Explaining what Homebrew is was perfect for me! Provided me the clarity other videos do not have :)