-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update links in index.md * Update quick-start.md Reformat a note Capitalise Juju where appropriate Add a semicolon * Capitalise Juju in managing-resource-usage.md * Replace comma with semicolon in add-custom-labels.md * Update language change-path.md Change "organization" to British spelling * Update reference link in change-token.md * Update comply-security.md Reformat link in the first sentence Link repo-policy-compliance README Format workplace_dispatch, push, and schedule as code Rewording * Update configure-runner-storage.md Capitalise Juju where appropriate Add "the" in the first sentence * Prerequisites --> Requirements * Update deploy-on-arm64.md Prerequisites --> Requirements Update the header levels * Update integrate-with-cos.md Prerequisites --> Requirements Update header levels Capitalisation Update broken link Reformat a note * Update openstack-runner.md Capitalisation Update spelling to British English Add commas * Update run-on-lxd.md Capitalise Juju Reformat a note * Capitalise Juju in arm64.md * Update list in external-access.md Change last item to match the others in the list * Update arm64.md Update to British English Add "be" * Update charm-architecture.md Capitalise Juju where appropriate Update last item in "GitHub API usage" list to be consistent with the other items * Setup --> set up * change a note to a warning
- Loading branch information
Showing
18 changed files
with
62 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
# How to change repository or organization | ||
# How to change repository or organisation | ||
|
||
This charm supports changing the GitHub repository or GitHub organization the self-hosted runners are connected to. | ||
This charm supports changing the GitHub repository or GitHub organisation the self-hosted runners are connected to. | ||
|
||
By using [`juju config`](https://juju.is/docs/juju/juju-config) to change the [charm configuration path](https://charmhub.io/github-runner/configure#path) to another repository or organization, the charm unregisters and removes the old self-hosted runners and instantiates new ones for the new configuration. | ||
By using [`juju config`](https://juju.is/docs/juju/juju-config) to change the [charm configuration path](https://charmhub.io/github-runner/configure#path) to another repository or organisation, the charm unregisters and removes the old self-hosted runners and instantiates new ones for the new configuration. | ||
|
||
```shell | ||
juju config <APP_NAME> path=<PATH> | ||
``` | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,32 @@ | ||
# How to configure runner storage | ||
|
||
To prevent GitHub Action job from exhausting the disk IO of the juju machine hosting the charm, the charm provides two storage options to be configured as the LXD instance root disk: | ||
To prevent the GitHub Action job from exhausting the disk IO of the Juju machine hosting the charm, the charm provides two storage options to be configured as the LXD instance root disk: | ||
|
||
- Random access memory as disk | ||
- Storage provided by juju | ||
- Storage provided by Juju | ||
|
||
This is configured with the [`runner-storage`](https://charmhub.io/github-runner/configure#runner-storage) option. The configuration should be set during deployment and cannot be changed. | ||
|
||
## Random access memory as disk | ||
|
||
The random access memory of the juju machine is configured as LXD storage and used as the root disk for the LXD instances. | ||
The random access memory of the Juju machine is configured as LXD storage and used as the root disk for the LXD instances. | ||
|
||
The `runner-storage` configuration needs to be set to `memory` during deployment, and the juju machine constraints should have enough memory for the virtual machine memory and disk. See [Managing resource usage](https://charmhub.io/github-runner/docs/managing-resource-usage). | ||
The `runner-storage` configuration needs to be set to `memory` during deployment, and the Juju machine constraints should have enough memory for the virtual machine memory and disk. See [Managing resource usage](https://charmhub.io/github-runner/docs/managing-resource-usage). | ||
|
||
An example deployment: | ||
|
||
```shell | ||
juju deploy github-runner --constraints="cores=4 mem=16G root-disk=20G virt-type=virtual-machine" --config token=<TOKEN> --config path=<OWNER/REPO> --config runner-storage=memory --config vm-memory=2GiB --config vm-disk=10GiB | ||
``` | ||
|
||
## Storage provided by juju | ||
## Storage provided by Juju | ||
|
||
The juju storage needs to be mounted during deployment, and the `runner-storage` configuration should be set to `juju-storage` during deployment. | ||
The Juju storage needs to be mounted during deployment, and the `runner-storage` configuration should be set to `juju-storage` during deployment. | ||
|
||
An example deployment: | ||
|
||
```shell | ||
juju deploy github-runner --constraints="cores=4 mem=6G root-disk=30G virt-type=virtual-machine" --config token=<TOKEN> --config path=<OWNER/REPO> --config runner-storage=juju-storage --config vm-memory=2GiB --config vm-memory=10GiB --storage runner=rootfs | ||
``` | ||
|
||
The above example uses `rootfs`, which is using the root disk of the juju machine. Hence the root-disk size was increase to 30G. | ||
The above example uses `rootfs`, which is using the root disk of the Juju machine. Hence the root-disk size was increase to 30G. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.