GitHub Actions - Self-hosted runners - Installation & Calling

preview_player
Показать описание
When using GitHub Actions, you have the option to use GitHub hosted runners, or to run your own runners, called self-hosted runners. In this video, you will learn about self-hosted runners, how to install them, and how to use them in your GitHub Action workflows.

Find Me:
Рекомендации по теме
Комментарии
Автор

The instructions on GitHub are quite straight-forward but I found this video useful to get a sense for how they would work before I commit to them

BlueyMcPhluey
Автор

FYI
If you're installing the GitHub self-hosted runner on a Windows machine, and you want to create it as a Windows service, then you must run the CLI as Administrator. I didn't do that, because I didn't know, until I got to the question where it asks if I wanted to run the GitHub self-hosted runner as a service. At that point, it bombed. Thanks, GitHub, for leaving out important details like that.

rodfalanga
Автор

Sir, thanks for the crystal clear explanation.

mertakbulut
Автор

Great video on Self-hosted runners, got me going in no-time

rmikeable
Автор

Loved it.. Beautifully explained.Good job!

swapnilverma
Автор

Appreciate ths.. i learned.

Subscribed!










Thanks Mickey Mousset! 😻

uaena
Автор

thank you so much for this ! really helped ease my workflow!

TheMightyWolve
Автор

hello, thanks for the video, could you create the same insctruction but for installing and use runner in docker, please?

strazhnyk
Автор

thank Mickey, it's a great course !

febdx
Автор

Oh hold on, I need to put my headset on my forehead, give me a sec. xD

TR_CV_DRM
Автор

I couldn't able to connect to the SonarQube server which locally hosted and I'm trying to use the self-hosted runner for the first time and I couldn't able to address why the sonar-scanner couldn't able to connect to the sonarqube server( I tried this stunt thinking about the security). please help me, the connection is established when I expose the server to internet and the github actions in running on a cloud. the repo I'm currently working at is private and the mentioned connection is established when I worked in a public repo.
P.S: I don't have any knowledge about the docker stuffs ... I'm new to this 🙂
please help me !!!

-SANJAIMI
Автор

Mickey, this is an excellent video. It answers an important question I've been wondering about GitHub self-hosted runners.

But I've got a question about ports. A few years ago, I tried doing the same thing using Azure Pipeline, with what they call self-hosted agents. The thing that we never got to work was opening the ports necessary for the Azure Pipeline self-hosted agent to communicate back to Azure DevOps. There must be a comparable situation here with GitHub self-hosted runners. Is there a list of ports that the security team must open for the self-hosted running to communicate back to GitHub?

rodfalanga
Автор

thanks for sharing, is runner can install for 2 repository/project on 1 host? frontend repo and backed repo

bl_int
Автор

Hi Mickey Gousset, Its a good session and thanks for that. I think you have configured it in the HOME directory, which will be accessible to you only. How to install it at some common place in a common Linux machine/VM so that all who have access to that machine/VM can access the runner? GitHub runner does not allow SUDO due to security reasons.

manas
Автор

Very interesting. Please If I want to run python script for my local machine from GitHub action will hosted runner be useful in this situation? Thank you

mehdicherifi
Автор

if my deployment via docker-compose and i need to restart the docker-compose located in /opt/<MY PROJECT> how can that be made ?

yousifmobark
Автор

How do I refresh the token when it expires?

ylohnitram
Автор

I only hear the spoken audio out of my left earphone while watching this video, yet the music comes out of both. You might consider tweaking your mic setup if you haven't done so so that the voice recording comes out as stereo sound

Eriddoch
Автор

Can you please explain how to refresh token? TBH - I would like to be the runner available ALL the time. So whenever there is a push to my master branch, I want to trigger an action and deploy new version. Now I cant do it - token gets expired after only 1h.

I have an idea to write a script in a VM to call github API for the token, restart the runner with the new token, do it each hour. But does it really needs to be so overhelming? Thinking about moving off to jenkins

krzysiek
Автор

even though runners are available at organization, getting the message "Waiting for a runner to pick up this job..." . Runners are available and they are active/idle . FYI, used correct labels.

saisrujanpasupuleti