Giter VIP home page Giter VIP logo

github-runner's Introduction

github-runner

Source Code General Workflow Readme Workflow Galaxy Workflow License: Apache-2.0 Ansible Role

Ansible role to install and configure a GitHub self-hosted runner.

Sponsor

Building and improving this Ansible role have been sponsored by my current and previous employers like Cloudpunks GmbH and Proact Deutschland GmbH.

Table of content


Requirements

  • Minimum Ansible version: 2.10

Default Variables

github_runner_api

API URL to access GitHub

Default value

github_runner_api: https://api.github.com

github_runner_arch

Architecture of the system

Default value

github_runner_arch: "{{ 'arm64' if ansible_architecture == 'aarch64' else 'x64' }}"

github_runner_args

Optional arguments for the runner

Default value

github_runner_args:

github_runner_as_root

Install service as root

Default value

github_runner_as_root: false

github_runner_dir

Home and working path

Default value

github_runner_dir: /home/runner

github_runner_download

URL to download the runner from

Default value

github_runner_download: https://github.com/actions/runner/releases/download/v{{ github_runner_version
  }}/actions-runner-{{ github_runner_system }}-{{ github_runner_arch }}-{{ github_runner_version
  }}.tar.gz

github_runner_enterprise

Enterprise to register the runner

Default value

github_runner_enterprise:

github_runner_envvars

Additional env variables injected into .env

Default value

github_runner_envvars:

github_runner_group

Group user for the runner processes

Default value

github_runner_group: runner

github_runner_groups

Additional groups for the runner

Default value

github_runner_groups:
  - sudo
  - docker

github_runner_hide_sensitive_logs

Hide potentially sensitive logs

Default value

github_runner_hide_sensitive_logs: false

github_runner_labels

Labels for the runner

Default value

github_runner_labels:
  - self-hosted

github_runner_name

Name of the runner

Default value

github_runner_name: '{{ ansible_hostname }}'

github_runner_org

Organization to register the runner

Default value

github_runner_org:

github_runner_reinstall

Always reinstall the service

Default value

github_runner_reinstall: false

github_runner_repo

Repo to register the runner

Default value

github_runner_repo:

github_runner_state

State of the runner service

Default value

github_runner_state: started

github_runner_system

Operating system for the runner

Default value

github_runner_system: "{{ 'osx' if ansible_system == 'Darwin' else 'linux' }}"

github_runner_token

Personal access token for runner registration token retrieval

Default value

github_runner_token:

github_runner_url

General URL to access GitHub

Default value

github_runner_url: https://github.com

github_runner_user

User used for the runner processes

Default value

github_runner_user: runner

github_runner_version

Version fo the runner

Default value

github_runner_version: 2.311.0

runner_runner_grouping

Optional group name for the runner

Default value

runner_runner_grouping:

Discovered Tags

github-runner

Dependencies

  • None

License

Apache-2.0

Author

Thomas Boerger

github-runner's People

Contributors

tboerger avatar semantic-release-bot avatar renovate[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.