Difference between revisions of "GitHub self hosted runner"
Jump to navigation
Jump to search
↑ https://docs.github.com/en/actions/hosting-your-own-runners/about-self-hosted-runners#supported-architectures-and-operating-systems-for-self-hosted-runners
(Created page with "* https://docs.github.com/en/actions/hosting-your-own-runners/adding-self-hosted-runners#adding-a-self-hosted-runner-to-a-repository == See also == * {{GitHub}} Category:...") |
|||
(32 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
* https://docs.github.com/en/actions/hosting-your-own-runners/adding-self-hosted-runners#adding-a-self-hosted-runner-to-a-repository | * https://docs.github.com/en/actions/hosting-your-own-runners/adding-self-hosted-runners#adding-a-self-hosted-runner-to-a-repository | ||
+ | <code>Settings -> Actions -> [[Runners]]</code> | ||
+ | == Supported architectures == | ||
+ | <ref>https://docs.github.com/en/actions/hosting-your-own-runners/about-self-hosted-runners#supported-architectures-and-operating-systems-for-self-hosted-runners</ref> | ||
+ | * [[Red Hat Enterprise Linux]] 7 or later | ||
+ | * [[CentOS 7]] or later | ||
+ | * [[Oracle Linux]] 7 or later | ||
+ | * [[Fedora]] 29 or later | ||
+ | * [[Debian 9]] or later | ||
+ | * [[Ubuntu]] 16.04 or later | ||
+ | * [[Linux Mint]] 18 or later | ||
+ | * [[openSUSE]] 15 or later | ||
+ | * [[SUSE Enterprise Linux]] (SLES) 12 SP2 or later | ||
+ | |||
+ | |||
+ | == macOS == | ||
+ | === Download === | ||
+ | # Create a folder | ||
+ | $ mkdir actions-runner && cd actions-runner# Download the latest runner package | ||
+ | $ [[curl -o]] actions-runner-osx-x64-2.283.1.tar.gz -L https://github.com/actions/runner/releases/download/v2.283.1/actions-runner-osx-x64-2.283.1.tar.gz# Optional: Validate the hash | ||
+ | $ echo "c6f04c7c2c0f1706810fa15e5c0cd773310acbfe60dd4cd88459cbefa9a4bb75 actions-runner-osx-x64-2.283.1.tar.gz" | [[shasum]] -a 256 -c# Extract the installer | ||
+ | $ tar xzf ./actions-runner-osx-x64-2.283.1.tar.gz | ||
+ | |||
+ | === Configure: [[config.sh]] === | ||
+ | #Create the runner and start the configuration experience | ||
+ | ./[[config.sh]] --url https://github.com/XXXX/YYYY --token ZTBZJMYCKIKZOCGL8WMT7ILBL3S9I # Last step, run it! | ||
+ | ./[[run.sh]] | ||
+ | |||
+ | === Using === | ||
+ | # Use this YAML in your workflow file for each job | ||
+ | [[runs-on:]] self-hosted | ||
+ | |||
+ | == Related == | ||
+ | * https://docs.github.com/en/actions/hosting-your-own-runners/configuring-the-self-hosted-runner-application-as-a-service | ||
+ | * [[GitHub Actions Runner]] | ||
+ | * <code>[[~/actions-runner/runsvc.sh]]</code> | ||
+ | * <code>[[~/actions-runner/run.sh]]</code> | ||
+ | * <code>[[~/actions-runner/svc.sh]]</code> | ||
+ | * [[github/runner2/_diag/]] | ||
+ | * [[GitHub self hosted runner logs]] | ||
+ | * [[Dependabot]] | ||
== See also == | == See also == | ||
− | * {{GitHub}} | + | * {{GitHub Actions}} |
[[Category:GitHub]] | [[Category:GitHub]] |
Latest revision as of 09:20, 13 July 2024
Settings -> Actions -> Runners
Contents
Supported architectures[edit]
- Red Hat Enterprise Linux 7 or later
- CentOS 7 or later
- Oracle Linux 7 or later
- Fedora 29 or later
- Debian 9 or later
- Ubuntu 16.04 or later
- Linux Mint 18 or later
- openSUSE 15 or later
- SUSE Enterprise Linux (SLES) 12 SP2 or later
macOS[edit]
Download[edit]
# Create a folder $ mkdir actions-runner && cd actions-runner# Download the latest runner package $ curl -o actions-runner-osx-x64-2.283.1.tar.gz -L https://github.com/actions/runner/releases/download/v2.283.1/actions-runner-osx-x64-2.283.1.tar.gz# Optional: Validate the hash $ echo "c6f04c7c2c0f1706810fa15e5c0cd773310acbfe60dd4cd88459cbefa9a4bb75 actions-runner-osx-x64-2.283.1.tar.gz" | shasum -a 256 -c# Extract the installer $ tar xzf ./actions-runner-osx-x64-2.283.1.tar.gz
Configure: config.sh[edit]
#Create the runner and start the configuration experience ./config.sh --url https://github.com/XXXX/YYYY --token ZTBZJMYCKIKZOCGL8WMT7ILBL3S9I # Last step, run it! ./run.sh
Using[edit]
# Use this YAML in your workflow file for each job runs-on: self-hosted
Related[edit]
- https://docs.github.com/en/actions/hosting-your-own-runners/configuring-the-self-hosted-runner-application-as-a-service
- GitHub Actions Runner
~/actions-runner/runsvc.sh
~/actions-runner/run.sh
~/actions-runner/svc.sh
- github/runner2/_diag/
- GitHub self hosted runner logs
- Dependabot
See also[edit]
- GitHub Actions,
act, .github/workflows/
,~/actions-runner/
,svc.sh
,deploy:, run:, runs-on:
,uses:
,steps:
,jobs:
,on:, env:, uses:, script:, continue-on-error:, template:, aws-actions, inputs:
,GITHUB_ENV, needs:, github.
, GitHub runner, my-docker-publish.yml, GitHub Actions variables, GitHub Actions contexts, GitHub Actions Importer, If:, SLSA, Actions Runner Controller (ARC),$GITHUB OUTPUT
,notify:
, Marketplace,GITHUB_TOKEN
Advertising: