Configuring Runners

3.3. Configuring Runners#

Configuring self-hosted runners is a well-documented process, with comprehensive guides for GitLab and GitHub

Important Considerations

  1. Set Up Runners with Controlled Execution Environments

    • Use a Docker Executor in GitLab.

    • In GitHub, specify Docker containers in your jobs.

    Benefits: Improved reproducibility and reduced interference between jobs

  2. Secure Your Runner Adequately

    • Control access to repositories and secrets.

    • Be cautious when granting access to sensitive data.

  3. Provide Sufficient Resources

    • Ensure adequate CPU, memory, and disk space.

    • Monitor performance to prevent bottlenecks .

  4. Consider All Resources

    • Evaluate the resources required for your automated setups.

    • Self-hosted runners can run on personal devices (laptops, workstations).