GitHub Actions Runners
In order to run a CI pipeline, we have GitHub Actions in GitHub. To run commands, we need to use machines (servers) where our code will be executed. In these machines, we create a set up that helps us run our commands. This setup is called runners.
This setup communicates with our GitHub repo.
Two types of runners:
- publicly available
- self hosted runner
publicly available runners are provided by GitHub itself.
self-hosted runners are configured by us. The steps of which is mentioned in GitHub repo itself.
self-hosted runner for BareMetal case:
Go to the repo -> settings -> Actions -> runners -> add a new runner
In the machine which can communicate with GitHub, we need to run commands provided in add new runners' steps
Test with a sample hello world workflow.
Check for the correct labeling.
Comments
Post a Comment