You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+54-11Lines changed: 54 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,24 +7,67 @@ This repository provides the functionality to deploy the github actions runner o
7
7
| Variable | Type | Default value | Description |
8
8
|----------|------|---------------|-------------|
9
9
|`hcloud_token`| string | "" | Defines the authentication token with which new machines are registered with the [hetzner cloud](https://www.hetzner.com/cloud). |
10
-
|`hetzner_machine_type`| string | "cx11" | Define the machine type to be used. |
10
+
|`ssh_private_key`| string | "~/.ssh/id_rsa" | Defines the path to the location of the private key. The private key is used together with the public key to connect to the machine. |
11
+
|`ssh_public_key`| string | "~/.ssh/id_rsa.pub" | Defines the path to the location of the public key. The public key is used together with the private key to connect to the machine. |
12
+
|`ssh_key_name`| string |`admin_ssh_key`| Defines the name for the ssh key added to the hetzner cloud. |
13
+
|`hetzner_machine_type`| string | "cx11" | Sets the machine type to use. |
11
14
|`hetzner_machine_os`| string | "debian-10" | Defines the machine operating system to be installed. |
12
-
|`github_actions_provision_url`| string | "" | Specifies the location to use for registering new devices. Can be a repository or a company. Example: `https://github.com/programmfabrik/terraform-hetzner-github-actions`. |
13
-
|`github_actions_provision_token`| string | "" | Defines the authentication token used to register new Github action runners. |
14
-
|`github_actions_runner_replace_existing`| bool | false | Specifies whether to replace existing Github action runners with the same name. |
15
+
|`hetzner_additional_public_key_ids`|[]string |[]| Adds public keys to the server that are already registered with hetzner |
16
+
|`github_owner`| string || Defines the organisation name or repository owner. |
17
+
|`github_repository_name`| string || Sets the name of the repository. This option is only used if you use self-hosted Github runners at the repository level. |
18
+
|`github_authentication_user`| string || Sets the user used for issuing new registration tokens. Ensure that the user has the appropriate permissions. |
19
+
|`github_authentication_token`| string || Sets the personal access token for the configured user in the variable `github_authentication_user`. |
20
+
|`hetzner_machine_additional_packages`| string | "" | Defines additional packages that must be installed on the machine. Each package name must be separated by a space ``. |
21
+
|`github_actions_runner_count`| number | 1 | Defines the number of runners to be provided. This option is equal to Machines at hetzner. |
15
22
|`github_actions_runner_labels`| string | "" | Defines a list of labels used to identify the runners. The list is divided by separating the individual entries with `,`. |
23
+
|`github_actions_runner_replace_existing`| bool | false | Specifies whether to replace existing Github action runners with the same name. |
24
+
|`github_owner`| string | "" | Defines the organisation name or repository owner. |
25
+
|`github_repository_name`| string | "" | Sets the name of the repository. This option is only used if you use self-hosted Github runners at the repository level. |
26
+
|`github_authentication_user`| string || Sets the user used for issuing new registration tokens. Ensure that the user has the appropriate permissions. |
27
+
|`github_authentication_token`| string || Sets the personal access token for the configured user in the variable github_authentication_user. |
28
+
|`github_runner_type`| string | "repo" | Defines the github runner type. Available values are: repo, org |
16
29
17
-
## Example terraform.tfvars
30
+
## Example terraform.tfvars, which provides the runners at repository level
0 commit comments