cloudsnorkel.cdk-github-runners 0.14.4__tar.gz → 0.14.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cloudsnorkel.cdk-github-runners might be problematic. Click here for more details.
- {cloudsnorkel_cdk_github_runners-0.14.4/src/cloudsnorkel.cdk_github_runners.egg-info → cloudsnorkel_cdk_github_runners-0.14.6}/PKG-INFO +5 -5
- {cloudsnorkel_cdk_github_runners-0.14.4 → cloudsnorkel_cdk_github_runners-0.14.6}/README.md +1 -1
- {cloudsnorkel_cdk_github_runners-0.14.4 → cloudsnorkel_cdk_github_runners-0.14.6}/setup.py +5 -5
- {cloudsnorkel_cdk_github_runners-0.14.4 → cloudsnorkel_cdk_github_runners-0.14.6}/src/cloudsnorkel/cdk_github_runners/__init__.py +162 -1
- {cloudsnorkel_cdk_github_runners-0.14.4 → cloudsnorkel_cdk_github_runners-0.14.6}/src/cloudsnorkel/cdk_github_runners/_jsii/__init__.py +2 -2
- cloudsnorkel_cdk_github_runners-0.14.6/src/cloudsnorkel/cdk_github_runners/_jsii/cdk-github-runners@0.14.6.jsii.tgz +0 -0
- {cloudsnorkel_cdk_github_runners-0.14.4 → cloudsnorkel_cdk_github_runners-0.14.6/src/cloudsnorkel.cdk_github_runners.egg-info}/PKG-INFO +5 -5
- {cloudsnorkel_cdk_github_runners-0.14.4 → cloudsnorkel_cdk_github_runners-0.14.6}/src/cloudsnorkel.cdk_github_runners.egg-info/SOURCES.txt +1 -1
- {cloudsnorkel_cdk_github_runners-0.14.4 → cloudsnorkel_cdk_github_runners-0.14.6}/src/cloudsnorkel.cdk_github_runners.egg-info/requires.txt +2 -2
- cloudsnorkel_cdk_github_runners-0.14.4/src/cloudsnorkel/cdk_github_runners/_jsii/cdk-github-runners@0.14.4.jsii.tgz +0 -0
- {cloudsnorkel_cdk_github_runners-0.14.4 → cloudsnorkel_cdk_github_runners-0.14.6}/LICENSE +0 -0
- {cloudsnorkel_cdk_github_runners-0.14.4 → cloudsnorkel_cdk_github_runners-0.14.6}/MANIFEST.in +0 -0
- {cloudsnorkel_cdk_github_runners-0.14.4 → cloudsnorkel_cdk_github_runners-0.14.6}/pyproject.toml +0 -0
- {cloudsnorkel_cdk_github_runners-0.14.4 → cloudsnorkel_cdk_github_runners-0.14.6}/setup.cfg +0 -0
- {cloudsnorkel_cdk_github_runners-0.14.4 → cloudsnorkel_cdk_github_runners-0.14.6}/src/cloudsnorkel/cdk_github_runners/py.typed +0 -0
- {cloudsnorkel_cdk_github_runners-0.14.4 → cloudsnorkel_cdk_github_runners-0.14.6}/src/cloudsnorkel.cdk_github_runners.egg-info/dependency_links.txt +0 -0
- {cloudsnorkel_cdk_github_runners-0.14.4 → cloudsnorkel_cdk_github_runners-0.14.6}/src/cloudsnorkel.cdk_github_runners.egg-info/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: cloudsnorkel.cdk-github-runners
|
|
3
|
-
Version: 0.14.
|
|
4
|
-
Summary: CDK construct to create GitHub Actions self-hosted runners.
|
|
3
|
+
Version: 0.14.6
|
|
4
|
+
Summary: CDK construct to create GitHub Actions self-hosted runners. Creates ephemeral runners on demand. Easy to deploy and highly customizable.
|
|
5
5
|
Home-page: https://github.com/CloudSnorkel/cdk-github-runners.git
|
|
6
6
|
Author: Amir Szekely<amir@cloudsnorkel.com>
|
|
7
7
|
License: Apache-2.0
|
|
@@ -22,9 +22,9 @@ Description-Content-Type: text/markdown
|
|
|
22
22
|
License-File: LICENSE
|
|
23
23
|
Requires-Dist: aws-cdk-lib<3.0.0,>=2.155.0
|
|
24
24
|
Requires-Dist: constructs<11.0.0,>=10.0.5
|
|
25
|
-
Requires-Dist: jsii<2.0.0,>=1.
|
|
25
|
+
Requires-Dist: jsii<2.0.0,>=1.104.0
|
|
26
26
|
Requires-Dist: publication>=0.0.3
|
|
27
|
-
Requires-Dist: typeguard<
|
|
27
|
+
Requires-Dist: typeguard<4.3.0,>=2.13.3
|
|
28
28
|
|
|
29
29
|
# GitHub Self-Hosted Runners CDK Constructs
|
|
30
30
|
|
|
@@ -243,7 +243,7 @@ You can also create your own provider by implementing `IRunnerProvider`.
|
|
|
243
243
|
5. Execute the status command (you may need to specify `--profile` too) and open the resulting `status.json` file
|
|
244
244
|
6. Open the URL in `github.setup.url` from `status.json` or [manually setup GitHub](SETUP_GITHUB.md) integration as an app or with personal access token
|
|
245
245
|
7. Run status command again to confirm `github.auth.status` and `github.webhook.status` are OK
|
|
246
|
-
8. Trigger a GitHub action that has a `self-hosted` label with `runs-on: [self-hosted,
|
|
246
|
+
8. Trigger a GitHub action that has a `self-hosted` label with `runs-on: [self-hosted, codebuild]` (or non-default labels you set in step 2)
|
|
247
247
|
9. If the action is not successful, see [troubleshooting](#Troubleshooting)
|
|
248
248
|
|
|
249
249
|
[](https://youtu.be/wlyv_3V8lIw)
|
|
@@ -215,7 +215,7 @@ You can also create your own provider by implementing `IRunnerProvider`.
|
|
|
215
215
|
5. Execute the status command (you may need to specify `--profile` too) and open the resulting `status.json` file
|
|
216
216
|
6. Open the URL in `github.setup.url` from `status.json` or [manually setup GitHub](SETUP_GITHUB.md) integration as an app or with personal access token
|
|
217
217
|
7. Run status command again to confirm `github.auth.status` and `github.webhook.status` are OK
|
|
218
|
-
8. Trigger a GitHub action that has a `self-hosted` label with `runs-on: [self-hosted,
|
|
218
|
+
8. Trigger a GitHub action that has a `self-hosted` label with `runs-on: [self-hosted, codebuild]` (or non-default labels you set in step 2)
|
|
219
219
|
9. If the action is not successful, see [troubleshooting](#Troubleshooting)
|
|
220
220
|
|
|
221
221
|
[](https://youtu.be/wlyv_3V8lIw)
|
|
@@ -5,8 +5,8 @@ kwargs = json.loads(
|
|
|
5
5
|
"""
|
|
6
6
|
{
|
|
7
7
|
"name": "cloudsnorkel.cdk-github-runners",
|
|
8
|
-
"version": "0.14.
|
|
9
|
-
"description": "CDK construct to create GitHub Actions self-hosted runners.
|
|
8
|
+
"version": "0.14.6",
|
|
9
|
+
"description": "CDK construct to create GitHub Actions self-hosted runners. Creates ephemeral runners on demand. Easy to deploy and highly customizable.",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"url": "https://github.com/CloudSnorkel/cdk-github-runners.git",
|
|
12
12
|
"long_description_content_type": "text/markdown",
|
|
@@ -26,7 +26,7 @@ kwargs = json.loads(
|
|
|
26
26
|
],
|
|
27
27
|
"package_data": {
|
|
28
28
|
"cloudsnorkel.cdk_github_runners._jsii": [
|
|
29
|
-
"cdk-github-runners@0.14.
|
|
29
|
+
"cdk-github-runners@0.14.6.jsii.tgz"
|
|
30
30
|
],
|
|
31
31
|
"cloudsnorkel.cdk_github_runners": [
|
|
32
32
|
"py.typed"
|
|
@@ -36,9 +36,9 @@ kwargs = json.loads(
|
|
|
36
36
|
"install_requires": [
|
|
37
37
|
"aws-cdk-lib>=2.155.0, <3.0.0",
|
|
38
38
|
"constructs>=10.0.5, <11.0.0",
|
|
39
|
-
"jsii>=1.
|
|
39
|
+
"jsii>=1.104.0, <2.0.0",
|
|
40
40
|
"publication>=0.0.3",
|
|
41
|
-
"typeguard>=2.13.3,<
|
|
41
|
+
"typeguard>=2.13.3,<4.3.0"
|
|
42
42
|
],
|
|
43
43
|
"classifiers": [
|
|
44
44
|
"Intended Audience :: Developers",
|
|
@@ -216,7 +216,7 @@ You can also create your own provider by implementing `IRunnerProvider`.
|
|
|
216
216
|
5. Execute the status command (you may need to specify `--profile` too) and open the resulting `status.json` file
|
|
217
217
|
6. Open the URL in `github.setup.url` from `status.json` or [manually setup GitHub](SETUP_GITHUB.md) integration as an app or with personal access token
|
|
218
218
|
7. Run status command again to confirm `github.auth.status` and `github.webhook.status` are OK
|
|
219
|
-
8. Trigger a GitHub action that has a `self-hosted` label with `runs-on: [self-hosted,
|
|
219
|
+
8. Trigger a GitHub action that has a `self-hosted` label with `runs-on: [self-hosted, codebuild]` (or non-default labels you set in step 2)
|
|
220
220
|
9. If the action is not successful, see [troubleshooting](#Troubleshooting)
|
|
221
221
|
|
|
222
222
|
[](https://youtu.be/wlyv_3V8lIw)
|
|
@@ -3489,6 +3489,7 @@ class LambdaRunnerProvider(
|
|
|
3489
3489
|
id: builtins.str,
|
|
3490
3490
|
*,
|
|
3491
3491
|
ephemeral_storage_size: typing.Optional[_aws_cdk_ceddda9d.Size] = None,
|
|
3492
|
+
group: typing.Optional[builtins.str] = None,
|
|
3492
3493
|
image_builder: typing.Optional[IRunnerImageBuilder] = None,
|
|
3493
3494
|
label: typing.Optional[builtins.str] = None,
|
|
3494
3495
|
labels: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -3505,6 +3506,7 @@ class LambdaRunnerProvider(
|
|
|
3505
3506
|
:param scope: -
|
|
3506
3507
|
:param id: -
|
|
3507
3508
|
:param ephemeral_storage_size: (experimental) The size of the function’s /tmp directory in MiB. Default: 10 GiB
|
|
3509
|
+
:param group: (experimental) GitHub Actions runner group name. If specified, the runner will be registered with this group name. Setting a runner group can help managing access to self-hosted runners. It requires a paid GitHub account. The group must exist or the runner will not start. Users will still be able to trigger this runner with the correct labels. But the runner will only be able to run jobs from repos allowed to use the group. Default: undefined
|
|
3508
3510
|
:param image_builder: (experimental) Runner image builder used to build Docker images containing GitHub Runner and all requirements. The image builder must contain the {@link RunnerImageComponent.lambdaEntrypoint} component. The image builder determines the OS and architecture of the runner. Default: LambdaRunnerProvider.imageBuilder()
|
|
3509
3511
|
:param label: (deprecated) GitHub Actions label used for this provider. Default: undefined
|
|
3510
3512
|
:param labels: (experimental) GitHub Actions labels used for this provider. These labels are used to identify which provider should spawn a new on-demand runner. Every job sends a webhook with the labels it's looking for based on runs-on. We match the labels from the webhook with the labels specified here. If all the labels specified here are present in the job's labels, this provider will be chosen and spawn a new runner. Default: ['lambda']
|
|
@@ -3525,6 +3527,7 @@ class LambdaRunnerProvider(
|
|
|
3525
3527
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
3526
3528
|
props = LambdaRunnerProviderProps(
|
|
3527
3529
|
ephemeral_storage_size=ephemeral_storage_size,
|
|
3530
|
+
group=group,
|
|
3528
3531
|
image_builder=image_builder,
|
|
3529
3532
|
label=label,
|
|
3530
3533
|
labels=labels,
|
|
@@ -6619,6 +6622,7 @@ class CodeBuildRunnerProvider(
|
|
|
6619
6622
|
*,
|
|
6620
6623
|
compute_type: typing.Optional[_aws_cdk_aws_codebuild_ceddda9d.ComputeType] = None,
|
|
6621
6624
|
docker_in_docker: typing.Optional[builtins.bool] = None,
|
|
6625
|
+
group: typing.Optional[builtins.str] = None,
|
|
6622
6626
|
image_builder: typing.Optional[IRunnerImageBuilder] = None,
|
|
6623
6627
|
label: typing.Optional[builtins.str] = None,
|
|
6624
6628
|
labels: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -6635,6 +6639,7 @@ class CodeBuildRunnerProvider(
|
|
|
6635
6639
|
:param id: -
|
|
6636
6640
|
:param compute_type: (experimental) The type of compute to use for this build. See the {@link ComputeType} enum for the possible values. Default: {@link ComputeType#SMALL }
|
|
6637
6641
|
:param docker_in_docker: (experimental) Support building and running Docker images by enabling Docker-in-Docker (dind) and the required CodeBuild privileged mode. Disabling this can speed up provisioning of CodeBuild runners. If you don't intend on running or building Docker images, disable this for faster start-up times. Default: true
|
|
6642
|
+
:param group: (experimental) GitHub Actions runner group name. If specified, the runner will be registered with this group name. Setting a runner group can help managing access to self-hosted runners. It requires a paid GitHub account. The group must exist or the runner will not start. Users will still be able to trigger this runner with the correct labels. But the runner will only be able to run jobs from repos allowed to use the group. Default: undefined
|
|
6638
6643
|
:param image_builder: (experimental) Runner image builder used to build Docker images containing GitHub Runner and all requirements. The image builder must contain the {@link RunnerImageComponent.docker} component unless ``dockerInDocker`` is set to false. The image builder determines the OS and architecture of the runner. Default: CodeBuildRunnerProvider.imageBuilder()
|
|
6639
6644
|
:param label: (deprecated) GitHub Actions label used for this provider. Default: undefined
|
|
6640
6645
|
:param labels: (experimental) GitHub Actions labels used for this provider. These labels are used to identify which provider should spawn a new on-demand runner. Every job sends a webhook with the labels it's looking for based on runs-on. We match the labels from the webhook with the labels specified here. If all the labels specified here are present in the job's labels, this provider will be chosen and spawn a new runner. Default: ['codebuild']
|
|
@@ -6655,6 +6660,7 @@ class CodeBuildRunnerProvider(
|
|
|
6655
6660
|
props = CodeBuildRunnerProviderProps(
|
|
6656
6661
|
compute_type=compute_type,
|
|
6657
6662
|
docker_in_docker=docker_in_docker,
|
|
6663
|
+
group=group,
|
|
6658
6664
|
image_builder=image_builder,
|
|
6659
6665
|
label=label,
|
|
6660
6666
|
labels=labels,
|
|
@@ -6970,6 +6976,7 @@ class CodeBuildRunnerProvider(
|
|
|
6970
6976
|
"retry_options": "retryOptions",
|
|
6971
6977
|
"compute_type": "computeType",
|
|
6972
6978
|
"docker_in_docker": "dockerInDocker",
|
|
6979
|
+
"group": "group",
|
|
6973
6980
|
"image_builder": "imageBuilder",
|
|
6974
6981
|
"label": "label",
|
|
6975
6982
|
"labels": "labels",
|
|
@@ -6988,6 +6995,7 @@ class CodeBuildRunnerProviderProps(RunnerProviderProps):
|
|
|
6988
6995
|
retry_options: typing.Optional[typing.Union[ProviderRetryOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
6989
6996
|
compute_type: typing.Optional[_aws_cdk_aws_codebuild_ceddda9d.ComputeType] = None,
|
|
6990
6997
|
docker_in_docker: typing.Optional[builtins.bool] = None,
|
|
6998
|
+
group: typing.Optional[builtins.str] = None,
|
|
6991
6999
|
image_builder: typing.Optional[IRunnerImageBuilder] = None,
|
|
6992
7000
|
label: typing.Optional[builtins.str] = None,
|
|
6993
7001
|
labels: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -7002,6 +7010,7 @@ class CodeBuildRunnerProviderProps(RunnerProviderProps):
|
|
|
7002
7010
|
:param retry_options:
|
|
7003
7011
|
:param compute_type: (experimental) The type of compute to use for this build. See the {@link ComputeType} enum for the possible values. Default: {@link ComputeType#SMALL }
|
|
7004
7012
|
:param docker_in_docker: (experimental) Support building and running Docker images by enabling Docker-in-Docker (dind) and the required CodeBuild privileged mode. Disabling this can speed up provisioning of CodeBuild runners. If you don't intend on running or building Docker images, disable this for faster start-up times. Default: true
|
|
7013
|
+
:param group: (experimental) GitHub Actions runner group name. If specified, the runner will be registered with this group name. Setting a runner group can help managing access to self-hosted runners. It requires a paid GitHub account. The group must exist or the runner will not start. Users will still be able to trigger this runner with the correct labels. But the runner will only be able to run jobs from repos allowed to use the group. Default: undefined
|
|
7005
7014
|
:param image_builder: (experimental) Runner image builder used to build Docker images containing GitHub Runner and all requirements. The image builder must contain the {@link RunnerImageComponent.docker} component unless ``dockerInDocker`` is set to false. The image builder determines the OS and architecture of the runner. Default: CodeBuildRunnerProvider.imageBuilder()
|
|
7006
7015
|
:param label: (deprecated) GitHub Actions label used for this provider. Default: undefined
|
|
7007
7016
|
:param labels: (experimental) GitHub Actions labels used for this provider. These labels are used to identify which provider should spawn a new on-demand runner. Every job sends a webhook with the labels it's looking for based on runs-on. We match the labels from the webhook with the labels specified here. If all the labels specified here are present in the job's labels, this provider will be chosen and spawn a new runner. Default: ['codebuild']
|
|
@@ -7023,6 +7032,7 @@ class CodeBuildRunnerProviderProps(RunnerProviderProps):
|
|
|
7023
7032
|
check_type(argname="argument retry_options", value=retry_options, expected_type=type_hints["retry_options"])
|
|
7024
7033
|
check_type(argname="argument compute_type", value=compute_type, expected_type=type_hints["compute_type"])
|
|
7025
7034
|
check_type(argname="argument docker_in_docker", value=docker_in_docker, expected_type=type_hints["docker_in_docker"])
|
|
7035
|
+
check_type(argname="argument group", value=group, expected_type=type_hints["group"])
|
|
7026
7036
|
check_type(argname="argument image_builder", value=image_builder, expected_type=type_hints["image_builder"])
|
|
7027
7037
|
check_type(argname="argument label", value=label, expected_type=type_hints["label"])
|
|
7028
7038
|
check_type(argname="argument labels", value=labels, expected_type=type_hints["labels"])
|
|
@@ -7040,6 +7050,8 @@ class CodeBuildRunnerProviderProps(RunnerProviderProps):
|
|
|
7040
7050
|
self._values["compute_type"] = compute_type
|
|
7041
7051
|
if docker_in_docker is not None:
|
|
7042
7052
|
self._values["docker_in_docker"] = docker_in_docker
|
|
7053
|
+
if group is not None:
|
|
7054
|
+
self._values["group"] = group
|
|
7043
7055
|
if image_builder is not None:
|
|
7044
7056
|
self._values["image_builder"] = image_builder
|
|
7045
7057
|
if label is not None:
|
|
@@ -7113,6 +7125,24 @@ class CodeBuildRunnerProviderProps(RunnerProviderProps):
|
|
|
7113
7125
|
result = self._values.get("docker_in_docker")
|
|
7114
7126
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
7115
7127
|
|
|
7128
|
+
@builtins.property
|
|
7129
|
+
def group(self) -> typing.Optional[builtins.str]:
|
|
7130
|
+
'''(experimental) GitHub Actions runner group name.
|
|
7131
|
+
|
|
7132
|
+
If specified, the runner will be registered with this group name. Setting a runner group can help managing access to self-hosted runners. It
|
|
7133
|
+
requires a paid GitHub account.
|
|
7134
|
+
|
|
7135
|
+
The group must exist or the runner will not start.
|
|
7136
|
+
|
|
7137
|
+
Users will still be able to trigger this runner with the correct labels. But the runner will only be able to run jobs from repos allowed to use the group.
|
|
7138
|
+
|
|
7139
|
+
:default: undefined
|
|
7140
|
+
|
|
7141
|
+
:stability: experimental
|
|
7142
|
+
'''
|
|
7143
|
+
result = self._values.get("group")
|
|
7144
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
7145
|
+
|
|
7116
7146
|
@builtins.property
|
|
7117
7147
|
def image_builder(self) -> typing.Optional[IRunnerImageBuilder]:
|
|
7118
7148
|
'''(experimental) Runner image builder used to build Docker images containing GitHub Runner and all requirements.
|
|
@@ -7562,6 +7592,7 @@ class Ec2RunnerProvider(
|
|
|
7562
7592
|
id: builtins.str,
|
|
7563
7593
|
*,
|
|
7564
7594
|
ami_builder: typing.Optional[IRunnerImageBuilder] = None,
|
|
7595
|
+
group: typing.Optional[builtins.str] = None,
|
|
7565
7596
|
image_builder: typing.Optional[IRunnerImageBuilder] = None,
|
|
7566
7597
|
instance_type: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.InstanceType] = None,
|
|
7567
7598
|
labels: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -7581,6 +7612,7 @@ class Ec2RunnerProvider(
|
|
|
7581
7612
|
:param scope: -
|
|
7582
7613
|
:param id: -
|
|
7583
7614
|
:param ami_builder:
|
|
7615
|
+
:param group: (experimental) GitHub Actions runner group name. If specified, the runner will be registered with this group name. Setting a runner group can help managing access to self-hosted runners. It requires a paid GitHub account. The group must exist or the runner will not start. Users will still be able to trigger this runner with the correct labels. But the runner will only be able to run jobs from repos allowed to use the group. Default: undefined
|
|
7584
7616
|
:param image_builder: (experimental) Runner image builder used to build AMI containing GitHub Runner and all requirements. The image builder determines the OS and architecture of the runner. Default: Ec2RunnerProvider.imageBuilder()
|
|
7585
7617
|
:param instance_type: (experimental) Instance type for launched runner instances. Default: m6i.large
|
|
7586
7618
|
:param labels: (experimental) GitHub Actions labels used for this provider. These labels are used to identify which provider should spawn a new on-demand runner. Every job sends a webhook with the labels it's looking for based on runs-on. We match the labels from the webhook with the labels specified here. If all the labels specified here are present in the job's labels, this provider will be chosen and spawn a new runner. Default: ['ec2']
|
|
@@ -7604,6 +7636,7 @@ class Ec2RunnerProvider(
|
|
|
7604
7636
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
7605
7637
|
props = Ec2RunnerProviderProps(
|
|
7606
7638
|
ami_builder=ami_builder,
|
|
7639
|
+
group=group,
|
|
7607
7640
|
image_builder=image_builder,
|
|
7608
7641
|
instance_type=instance_type,
|
|
7609
7642
|
labels=labels,
|
|
@@ -7861,6 +7894,7 @@ class Ec2RunnerProvider(
|
|
|
7861
7894
|
"log_retention": "logRetention",
|
|
7862
7895
|
"retry_options": "retryOptions",
|
|
7863
7896
|
"ami_builder": "amiBuilder",
|
|
7897
|
+
"group": "group",
|
|
7864
7898
|
"image_builder": "imageBuilder",
|
|
7865
7899
|
"instance_type": "instanceType",
|
|
7866
7900
|
"labels": "labels",
|
|
@@ -7882,6 +7916,7 @@ class Ec2RunnerProviderProps(RunnerProviderProps):
|
|
|
7882
7916
|
log_retention: typing.Optional[_aws_cdk_aws_logs_ceddda9d.RetentionDays] = None,
|
|
7883
7917
|
retry_options: typing.Optional[typing.Union[ProviderRetryOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
7884
7918
|
ami_builder: typing.Optional[IRunnerImageBuilder] = None,
|
|
7919
|
+
group: typing.Optional[builtins.str] = None,
|
|
7885
7920
|
image_builder: typing.Optional[IRunnerImageBuilder] = None,
|
|
7886
7921
|
instance_type: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.InstanceType] = None,
|
|
7887
7922
|
labels: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -7900,6 +7935,7 @@ class Ec2RunnerProviderProps(RunnerProviderProps):
|
|
|
7900
7935
|
:param log_retention: (experimental) The number of days log events are kept in CloudWatch Logs. When updating this property, unsetting it doesn't remove the log retention policy. To remove the retention policy, set the value to ``INFINITE``. Default: logs.RetentionDays.ONE_MONTH
|
|
7901
7936
|
:param retry_options:
|
|
7902
7937
|
:param ami_builder:
|
|
7938
|
+
:param group: (experimental) GitHub Actions runner group name. If specified, the runner will be registered with this group name. Setting a runner group can help managing access to self-hosted runners. It requires a paid GitHub account. The group must exist or the runner will not start. Users will still be able to trigger this runner with the correct labels. But the runner will only be able to run jobs from repos allowed to use the group. Default: undefined
|
|
7903
7939
|
:param image_builder: (experimental) Runner image builder used to build AMI containing GitHub Runner and all requirements. The image builder determines the OS and architecture of the runner. Default: Ec2RunnerProvider.imageBuilder()
|
|
7904
7940
|
:param instance_type: (experimental) Instance type for launched runner instances. Default: m6i.large
|
|
7905
7941
|
:param labels: (experimental) GitHub Actions labels used for this provider. These labels are used to identify which provider should spawn a new on-demand runner. Every job sends a webhook with the labels it's looking for based on runs-on. We match the labels from the webhook with the labels specified here. If all the labels specified here are present in the job's labels, this provider will be chosen and spawn a new runner. Default: ['ec2']
|
|
@@ -7926,6 +7962,7 @@ class Ec2RunnerProviderProps(RunnerProviderProps):
|
|
|
7926
7962
|
check_type(argname="argument log_retention", value=log_retention, expected_type=type_hints["log_retention"])
|
|
7927
7963
|
check_type(argname="argument retry_options", value=retry_options, expected_type=type_hints["retry_options"])
|
|
7928
7964
|
check_type(argname="argument ami_builder", value=ami_builder, expected_type=type_hints["ami_builder"])
|
|
7965
|
+
check_type(argname="argument group", value=group, expected_type=type_hints["group"])
|
|
7929
7966
|
check_type(argname="argument image_builder", value=image_builder, expected_type=type_hints["image_builder"])
|
|
7930
7967
|
check_type(argname="argument instance_type", value=instance_type, expected_type=type_hints["instance_type"])
|
|
7931
7968
|
check_type(argname="argument labels", value=labels, expected_type=type_hints["labels"])
|
|
@@ -7945,6 +7982,8 @@ class Ec2RunnerProviderProps(RunnerProviderProps):
|
|
|
7945
7982
|
self._values["retry_options"] = retry_options
|
|
7946
7983
|
if ami_builder is not None:
|
|
7947
7984
|
self._values["ami_builder"] = ami_builder
|
|
7985
|
+
if group is not None:
|
|
7986
|
+
self._values["group"] = group
|
|
7948
7987
|
if image_builder is not None:
|
|
7949
7988
|
self._values["image_builder"] = image_builder
|
|
7950
7989
|
if instance_type is not None:
|
|
@@ -8007,6 +8046,24 @@ class Ec2RunnerProviderProps(RunnerProviderProps):
|
|
|
8007
8046
|
result = self._values.get("ami_builder")
|
|
8008
8047
|
return typing.cast(typing.Optional[IRunnerImageBuilder], result)
|
|
8009
8048
|
|
|
8049
|
+
@builtins.property
|
|
8050
|
+
def group(self) -> typing.Optional[builtins.str]:
|
|
8051
|
+
'''(experimental) GitHub Actions runner group name.
|
|
8052
|
+
|
|
8053
|
+
If specified, the runner will be registered with this group name. Setting a runner group can help managing access to self-hosted runners. It
|
|
8054
|
+
requires a paid GitHub account.
|
|
8055
|
+
|
|
8056
|
+
The group must exist or the runner will not start.
|
|
8057
|
+
|
|
8058
|
+
Users will still be able to trigger this runner with the correct labels. But the runner will only be able to run jobs from repos allowed to use the group.
|
|
8059
|
+
|
|
8060
|
+
:default: undefined
|
|
8061
|
+
|
|
8062
|
+
:stability: experimental
|
|
8063
|
+
'''
|
|
8064
|
+
result = self._values.get("group")
|
|
8065
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
8066
|
+
|
|
8010
8067
|
@builtins.property
|
|
8011
8068
|
def image_builder(self) -> typing.Optional[IRunnerImageBuilder]:
|
|
8012
8069
|
'''(experimental) Runner image builder used to build AMI containing GitHub Runner and all requirements.
|
|
@@ -8198,6 +8255,7 @@ class EcsRunnerProvider(
|
|
|
8198
8255
|
cluster: typing.Optional[_aws_cdk_aws_ecs_ceddda9d.Cluster] = None,
|
|
8199
8256
|
cpu: typing.Optional[jsii.Number] = None,
|
|
8200
8257
|
docker_in_docker: typing.Optional[builtins.bool] = None,
|
|
8258
|
+
group: typing.Optional[builtins.str] = None,
|
|
8201
8259
|
image_builder: typing.Optional[IRunnerImageBuilder] = None,
|
|
8202
8260
|
instance_type: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.InstanceType] = None,
|
|
8203
8261
|
labels: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -8223,6 +8281,7 @@ class EcsRunnerProvider(
|
|
|
8223
8281
|
:param cluster: (experimental) Existing ECS cluster to use. Default: a new cluster
|
|
8224
8282
|
:param cpu: (experimental) The number of cpu units used by the task. 1024 units is 1 vCPU. Fractions of a vCPU are supported. Default: 1024
|
|
8225
8283
|
:param docker_in_docker: (experimental) Support building and running Docker images by enabling Docker-in-Docker (dind) and the required CodeBuild privileged mode. Disabling this can speed up provisioning of CodeBuild runners. If you don't intend on running or building Docker images, disable this for faster start-up times. Default: true
|
|
8284
|
+
:param group: (experimental) GitHub Actions runner group name. If specified, the runner will be registered with this group name. Setting a runner group can help managing access to self-hosted runners. It requires a paid GitHub account. The group must exist or the runner will not start. Users will still be able to trigger this runner with the correct labels. But the runner will only be able to run jobs from repos allowed to use the group. Default: undefined
|
|
8226
8285
|
:param image_builder: (experimental) Runner image builder used to build Docker images containing GitHub Runner and all requirements. The image builder determines the OS and architecture of the runner. Default: EcsRunnerProvider.imageBuilder()
|
|
8227
8286
|
:param instance_type: (experimental) Instance type of ECS cluster instances. Only used when creating a new cluster. Default: m6i.large or m6g.large
|
|
8228
8287
|
:param labels: (experimental) GitHub Actions labels used for this provider. These labels are used to identify which provider should spawn a new on-demand runner. Every job sends a webhook with the labels it's looking for based on runs-on. We match the labels from the webhook with the labels specified here. If all the labels specified here are present in the job's labels, this provider will be chosen and spawn a new runner. Default: ['ecs']
|
|
@@ -8252,6 +8311,7 @@ class EcsRunnerProvider(
|
|
|
8252
8311
|
cluster=cluster,
|
|
8253
8312
|
cpu=cpu,
|
|
8254
8313
|
docker_in_docker=docker_in_docker,
|
|
8314
|
+
group=group,
|
|
8255
8315
|
image_builder=image_builder,
|
|
8256
8316
|
instance_type=instance_type,
|
|
8257
8317
|
labels=labels,
|
|
@@ -8512,6 +8572,7 @@ class EcsRunnerProvider(
|
|
|
8512
8572
|
"cluster": "cluster",
|
|
8513
8573
|
"cpu": "cpu",
|
|
8514
8574
|
"docker_in_docker": "dockerInDocker",
|
|
8575
|
+
"group": "group",
|
|
8515
8576
|
"image_builder": "imageBuilder",
|
|
8516
8577
|
"instance_type": "instanceType",
|
|
8517
8578
|
"labels": "labels",
|
|
@@ -8539,6 +8600,7 @@ class EcsRunnerProviderProps(RunnerProviderProps):
|
|
|
8539
8600
|
cluster: typing.Optional[_aws_cdk_aws_ecs_ceddda9d.Cluster] = None,
|
|
8540
8601
|
cpu: typing.Optional[jsii.Number] = None,
|
|
8541
8602
|
docker_in_docker: typing.Optional[builtins.bool] = None,
|
|
8603
|
+
group: typing.Optional[builtins.str] = None,
|
|
8542
8604
|
image_builder: typing.Optional[IRunnerImageBuilder] = None,
|
|
8543
8605
|
instance_type: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.InstanceType] = None,
|
|
8544
8606
|
labels: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -8563,6 +8625,7 @@ class EcsRunnerProviderProps(RunnerProviderProps):
|
|
|
8563
8625
|
:param cluster: (experimental) Existing ECS cluster to use. Default: a new cluster
|
|
8564
8626
|
:param cpu: (experimental) The number of cpu units used by the task. 1024 units is 1 vCPU. Fractions of a vCPU are supported. Default: 1024
|
|
8565
8627
|
:param docker_in_docker: (experimental) Support building and running Docker images by enabling Docker-in-Docker (dind) and the required CodeBuild privileged mode. Disabling this can speed up provisioning of CodeBuild runners. If you don't intend on running or building Docker images, disable this for faster start-up times. Default: true
|
|
8628
|
+
:param group: (experimental) GitHub Actions runner group name. If specified, the runner will be registered with this group name. Setting a runner group can help managing access to self-hosted runners. It requires a paid GitHub account. The group must exist or the runner will not start. Users will still be able to trigger this runner with the correct labels. But the runner will only be able to run jobs from repos allowed to use the group. Default: undefined
|
|
8566
8629
|
:param image_builder: (experimental) Runner image builder used to build Docker images containing GitHub Runner and all requirements. The image builder determines the OS and architecture of the runner. Default: EcsRunnerProvider.imageBuilder()
|
|
8567
8630
|
:param instance_type: (experimental) Instance type of ECS cluster instances. Only used when creating a new cluster. Default: m6i.large or m6g.large
|
|
8568
8631
|
:param labels: (experimental) GitHub Actions labels used for this provider. These labels are used to identify which provider should spawn a new on-demand runner. Every job sends a webhook with the labels it's looking for based on runs-on. We match the labels from the webhook with the labels specified here. If all the labels specified here are present in the job's labels, this provider will be chosen and spawn a new runner. Default: ['ecs']
|
|
@@ -8595,6 +8658,7 @@ class EcsRunnerProviderProps(RunnerProviderProps):
|
|
|
8595
8658
|
check_type(argname="argument cluster", value=cluster, expected_type=type_hints["cluster"])
|
|
8596
8659
|
check_type(argname="argument cpu", value=cpu, expected_type=type_hints["cpu"])
|
|
8597
8660
|
check_type(argname="argument docker_in_docker", value=docker_in_docker, expected_type=type_hints["docker_in_docker"])
|
|
8661
|
+
check_type(argname="argument group", value=group, expected_type=type_hints["group"])
|
|
8598
8662
|
check_type(argname="argument image_builder", value=image_builder, expected_type=type_hints["image_builder"])
|
|
8599
8663
|
check_type(argname="argument instance_type", value=instance_type, expected_type=type_hints["instance_type"])
|
|
8600
8664
|
check_type(argname="argument labels", value=labels, expected_type=type_hints["labels"])
|
|
@@ -8624,6 +8688,8 @@ class EcsRunnerProviderProps(RunnerProviderProps):
|
|
|
8624
8688
|
self._values["cpu"] = cpu
|
|
8625
8689
|
if docker_in_docker is not None:
|
|
8626
8690
|
self._values["docker_in_docker"] = docker_in_docker
|
|
8691
|
+
if group is not None:
|
|
8692
|
+
self._values["group"] = group
|
|
8627
8693
|
if image_builder is not None:
|
|
8628
8694
|
self._values["image_builder"] = image_builder
|
|
8629
8695
|
if instance_type is not None:
|
|
@@ -8746,6 +8812,24 @@ class EcsRunnerProviderProps(RunnerProviderProps):
|
|
|
8746
8812
|
result = self._values.get("docker_in_docker")
|
|
8747
8813
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
8748
8814
|
|
|
8815
|
+
@builtins.property
|
|
8816
|
+
def group(self) -> typing.Optional[builtins.str]:
|
|
8817
|
+
'''(experimental) GitHub Actions runner group name.
|
|
8818
|
+
|
|
8819
|
+
If specified, the runner will be registered with this group name. Setting a runner group can help managing access to self-hosted runners. It
|
|
8820
|
+
requires a paid GitHub account.
|
|
8821
|
+
|
|
8822
|
+
The group must exist or the runner will not start.
|
|
8823
|
+
|
|
8824
|
+
Users will still be able to trigger this runner with the correct labels. But the runner will only be able to run jobs from repos allowed to use the group.
|
|
8825
|
+
|
|
8826
|
+
:default: undefined
|
|
8827
|
+
|
|
8828
|
+
:stability: experimental
|
|
8829
|
+
'''
|
|
8830
|
+
result = self._values.get("group")
|
|
8831
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
8832
|
+
|
|
8749
8833
|
@builtins.property
|
|
8750
8834
|
def image_builder(self) -> typing.Optional[IRunnerImageBuilder]:
|
|
8751
8835
|
'''(experimental) Runner image builder used to build Docker images containing GitHub Runner and all requirements.
|
|
@@ -8952,6 +9036,7 @@ class FargateRunnerProvider(
|
|
|
8952
9036
|
cluster: typing.Optional[_aws_cdk_aws_ecs_ceddda9d.Cluster] = None,
|
|
8953
9037
|
cpu: typing.Optional[jsii.Number] = None,
|
|
8954
9038
|
ephemeral_storage_gib: typing.Optional[jsii.Number] = None,
|
|
9039
|
+
group: typing.Optional[builtins.str] = None,
|
|
8955
9040
|
image_builder: typing.Optional[IRunnerImageBuilder] = None,
|
|
8956
9041
|
label: typing.Optional[builtins.str] = None,
|
|
8957
9042
|
labels: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -8971,6 +9056,7 @@ class FargateRunnerProvider(
|
|
|
8971
9056
|
:param cluster: (experimental) Existing Fargate cluster to use. Default: a new cluster
|
|
8972
9057
|
:param cpu: (experimental) The number of cpu units used by the task. For tasks using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of valid values for the memory parameter: 256 (.25 vCPU) - Available memory values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) 512 (.5 vCPU) - Available memory values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) 1024 (1 vCPU) - Available memory values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) 2048 (2 vCPU) - Available memory values: Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) 4096 (4 vCPU) - Available memory values: Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) Default: 1024
|
|
8973
9058
|
:param ephemeral_storage_gib: (experimental) The amount (in GiB) of ephemeral storage to be allocated to the task. The maximum supported value is 200 GiB. NOTE: This parameter is only supported for tasks hosted on AWS Fargate using platform version 1.4.0 or later. Default: 20
|
|
9059
|
+
:param group: (experimental) GitHub Actions runner group name. If specified, the runner will be registered with this group name. Setting a runner group can help managing access to self-hosted runners. It requires a paid GitHub account. The group must exist or the runner will not start. Users will still be able to trigger this runner with the correct labels. But the runner will only be able to run jobs from repos allowed to use the group. Default: undefined
|
|
8974
9060
|
:param image_builder: (experimental) Runner image builder used to build Docker images containing GitHub Runner and all requirements. The image builder determines the OS and architecture of the runner. Default: FargateRunnerProvider.imageBuilder()
|
|
8975
9061
|
:param label: (deprecated) GitHub Actions label used for this provider. Default: undefined
|
|
8976
9062
|
:param labels: (experimental) GitHub Actions labels used for this provider. These labels are used to identify which provider should spawn a new on-demand runner. Every job sends a webhook with the labels it's looking for based on runs-on. We match the labels from the webhook with the labels specified here. If all the labels specified here are present in the job's labels, this provider will be chosen and spawn a new runner. Default: ['fargate']
|
|
@@ -8994,6 +9080,7 @@ class FargateRunnerProvider(
|
|
|
8994
9080
|
cluster=cluster,
|
|
8995
9081
|
cpu=cpu,
|
|
8996
9082
|
ephemeral_storage_gib=ephemeral_storage_gib,
|
|
9083
|
+
group=group,
|
|
8997
9084
|
image_builder=image_builder,
|
|
8998
9085
|
label=label,
|
|
8999
9086
|
labels=labels,
|
|
@@ -9359,6 +9446,7 @@ class FargateRunnerProvider(
|
|
|
9359
9446
|
"cluster": "cluster",
|
|
9360
9447
|
"cpu": "cpu",
|
|
9361
9448
|
"ephemeral_storage_gib": "ephemeralStorageGiB",
|
|
9449
|
+
"group": "group",
|
|
9362
9450
|
"image_builder": "imageBuilder",
|
|
9363
9451
|
"label": "label",
|
|
9364
9452
|
"labels": "labels",
|
|
@@ -9380,6 +9468,7 @@ class FargateRunnerProviderProps(RunnerProviderProps):
|
|
|
9380
9468
|
cluster: typing.Optional[_aws_cdk_aws_ecs_ceddda9d.Cluster] = None,
|
|
9381
9469
|
cpu: typing.Optional[jsii.Number] = None,
|
|
9382
9470
|
ephemeral_storage_gib: typing.Optional[jsii.Number] = None,
|
|
9471
|
+
group: typing.Optional[builtins.str] = None,
|
|
9383
9472
|
image_builder: typing.Optional[IRunnerImageBuilder] = None,
|
|
9384
9473
|
label: typing.Optional[builtins.str] = None,
|
|
9385
9474
|
labels: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -9398,6 +9487,7 @@ class FargateRunnerProviderProps(RunnerProviderProps):
|
|
|
9398
9487
|
:param cluster: (experimental) Existing Fargate cluster to use. Default: a new cluster
|
|
9399
9488
|
:param cpu: (experimental) The number of cpu units used by the task. For tasks using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of valid values for the memory parameter: 256 (.25 vCPU) - Available memory values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) 512 (.5 vCPU) - Available memory values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) 1024 (1 vCPU) - Available memory values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) 2048 (2 vCPU) - Available memory values: Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) 4096 (4 vCPU) - Available memory values: Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) Default: 1024
|
|
9400
9489
|
:param ephemeral_storage_gib: (experimental) The amount (in GiB) of ephemeral storage to be allocated to the task. The maximum supported value is 200 GiB. NOTE: This parameter is only supported for tasks hosted on AWS Fargate using platform version 1.4.0 or later. Default: 20
|
|
9490
|
+
:param group: (experimental) GitHub Actions runner group name. If specified, the runner will be registered with this group name. Setting a runner group can help managing access to self-hosted runners. It requires a paid GitHub account. The group must exist or the runner will not start. Users will still be able to trigger this runner with the correct labels. But the runner will only be able to run jobs from repos allowed to use the group. Default: undefined
|
|
9401
9491
|
:param image_builder: (experimental) Runner image builder used to build Docker images containing GitHub Runner and all requirements. The image builder determines the OS and architecture of the runner. Default: FargateRunnerProvider.imageBuilder()
|
|
9402
9492
|
:param label: (deprecated) GitHub Actions label used for this provider. Default: undefined
|
|
9403
9493
|
:param labels: (experimental) GitHub Actions labels used for this provider. These labels are used to identify which provider should spawn a new on-demand runner. Every job sends a webhook with the labels it's looking for based on runs-on. We match the labels from the webhook with the labels specified here. If all the labels specified here are present in the job's labels, this provider will be chosen and spawn a new runner. Default: ['fargate']
|
|
@@ -9422,6 +9512,7 @@ class FargateRunnerProviderProps(RunnerProviderProps):
|
|
|
9422
9512
|
check_type(argname="argument cluster", value=cluster, expected_type=type_hints["cluster"])
|
|
9423
9513
|
check_type(argname="argument cpu", value=cpu, expected_type=type_hints["cpu"])
|
|
9424
9514
|
check_type(argname="argument ephemeral_storage_gib", value=ephemeral_storage_gib, expected_type=type_hints["ephemeral_storage_gib"])
|
|
9515
|
+
check_type(argname="argument group", value=group, expected_type=type_hints["group"])
|
|
9425
9516
|
check_type(argname="argument image_builder", value=image_builder, expected_type=type_hints["image_builder"])
|
|
9426
9517
|
check_type(argname="argument label", value=label, expected_type=type_hints["label"])
|
|
9427
9518
|
check_type(argname="argument labels", value=labels, expected_type=type_hints["labels"])
|
|
@@ -9444,6 +9535,8 @@ class FargateRunnerProviderProps(RunnerProviderProps):
|
|
|
9444
9535
|
self._values["cpu"] = cpu
|
|
9445
9536
|
if ephemeral_storage_gib is not None:
|
|
9446
9537
|
self._values["ephemeral_storage_gib"] = ephemeral_storage_gib
|
|
9538
|
+
if group is not None:
|
|
9539
|
+
self._values["group"] = group
|
|
9447
9540
|
if image_builder is not None:
|
|
9448
9541
|
self._values["image_builder"] = image_builder
|
|
9449
9542
|
if label is not None:
|
|
@@ -9554,6 +9647,24 @@ class FargateRunnerProviderProps(RunnerProviderProps):
|
|
|
9554
9647
|
result = self._values.get("ephemeral_storage_gib")
|
|
9555
9648
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
9556
9649
|
|
|
9650
|
+
@builtins.property
|
|
9651
|
+
def group(self) -> typing.Optional[builtins.str]:
|
|
9652
|
+
'''(experimental) GitHub Actions runner group name.
|
|
9653
|
+
|
|
9654
|
+
If specified, the runner will be registered with this group name. Setting a runner group can help managing access to self-hosted runners. It
|
|
9655
|
+
requires a paid GitHub account.
|
|
9656
|
+
|
|
9657
|
+
The group must exist or the runner will not start.
|
|
9658
|
+
|
|
9659
|
+
Users will still be able to trigger this runner with the correct labels. But the runner will only be able to run jobs from repos allowed to use the group.
|
|
9660
|
+
|
|
9661
|
+
:default: undefined
|
|
9662
|
+
|
|
9663
|
+
:stability: experimental
|
|
9664
|
+
'''
|
|
9665
|
+
result = self._values.get("group")
|
|
9666
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
9667
|
+
|
|
9557
9668
|
@builtins.property
|
|
9558
9669
|
def image_builder(self) -> typing.Optional[IRunnerImageBuilder]:
|
|
9559
9670
|
'''(experimental) Runner image builder used to build Docker images containing GitHub Runner and all requirements.
|
|
@@ -9807,6 +9918,7 @@ class LambdaRunner(
|
|
|
9807
9918
|
id: builtins.str,
|
|
9808
9919
|
*,
|
|
9809
9920
|
ephemeral_storage_size: typing.Optional[_aws_cdk_ceddda9d.Size] = None,
|
|
9921
|
+
group: typing.Optional[builtins.str] = None,
|
|
9810
9922
|
image_builder: typing.Optional[IRunnerImageBuilder] = None,
|
|
9811
9923
|
label: typing.Optional[builtins.str] = None,
|
|
9812
9924
|
labels: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -9823,6 +9935,7 @@ class LambdaRunner(
|
|
|
9823
9935
|
:param scope: -
|
|
9824
9936
|
:param id: -
|
|
9825
9937
|
:param ephemeral_storage_size: (experimental) The size of the function’s /tmp directory in MiB. Default: 10 GiB
|
|
9938
|
+
:param group: (experimental) GitHub Actions runner group name. If specified, the runner will be registered with this group name. Setting a runner group can help managing access to self-hosted runners. It requires a paid GitHub account. The group must exist or the runner will not start. Users will still be able to trigger this runner with the correct labels. But the runner will only be able to run jobs from repos allowed to use the group. Default: undefined
|
|
9826
9939
|
:param image_builder: (experimental) Runner image builder used to build Docker images containing GitHub Runner and all requirements. The image builder must contain the {@link RunnerImageComponent.lambdaEntrypoint} component. The image builder determines the OS and architecture of the runner. Default: LambdaRunnerProvider.imageBuilder()
|
|
9827
9940
|
:param label: (deprecated) GitHub Actions label used for this provider. Default: undefined
|
|
9828
9941
|
:param labels: (experimental) GitHub Actions labels used for this provider. These labels are used to identify which provider should spawn a new on-demand runner. Every job sends a webhook with the labels it's looking for based on runs-on. We match the labels from the webhook with the labels specified here. If all the labels specified here are present in the job's labels, this provider will be chosen and spawn a new runner. Default: ['lambda']
|
|
@@ -9843,6 +9956,7 @@ class LambdaRunner(
|
|
|
9843
9956
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
9844
9957
|
props = LambdaRunnerProviderProps(
|
|
9845
9958
|
ephemeral_storage_size=ephemeral_storage_size,
|
|
9959
|
+
group=group,
|
|
9846
9960
|
image_builder=image_builder,
|
|
9847
9961
|
label=label,
|
|
9848
9962
|
labels=labels,
|
|
@@ -9866,6 +9980,7 @@ class LambdaRunner(
|
|
|
9866
9980
|
"log_retention": "logRetention",
|
|
9867
9981
|
"retry_options": "retryOptions",
|
|
9868
9982
|
"ephemeral_storage_size": "ephemeralStorageSize",
|
|
9983
|
+
"group": "group",
|
|
9869
9984
|
"image_builder": "imageBuilder",
|
|
9870
9985
|
"label": "label",
|
|
9871
9986
|
"labels": "labels",
|
|
@@ -9884,6 +9999,7 @@ class LambdaRunnerProviderProps(RunnerProviderProps):
|
|
|
9884
9999
|
log_retention: typing.Optional[_aws_cdk_aws_logs_ceddda9d.RetentionDays] = None,
|
|
9885
10000
|
retry_options: typing.Optional[typing.Union[ProviderRetryOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
9886
10001
|
ephemeral_storage_size: typing.Optional[_aws_cdk_ceddda9d.Size] = None,
|
|
10002
|
+
group: typing.Optional[builtins.str] = None,
|
|
9887
10003
|
image_builder: typing.Optional[IRunnerImageBuilder] = None,
|
|
9888
10004
|
label: typing.Optional[builtins.str] = None,
|
|
9889
10005
|
labels: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -9898,6 +10014,7 @@ class LambdaRunnerProviderProps(RunnerProviderProps):
|
|
|
9898
10014
|
:param log_retention: (experimental) The number of days log events are kept in CloudWatch Logs. When updating this property, unsetting it doesn't remove the log retention policy. To remove the retention policy, set the value to ``INFINITE``. Default: logs.RetentionDays.ONE_MONTH
|
|
9899
10015
|
:param retry_options:
|
|
9900
10016
|
:param ephemeral_storage_size: (experimental) The size of the function’s /tmp directory in MiB. Default: 10 GiB
|
|
10017
|
+
:param group: (experimental) GitHub Actions runner group name. If specified, the runner will be registered with this group name. Setting a runner group can help managing access to self-hosted runners. It requires a paid GitHub account. The group must exist or the runner will not start. Users will still be able to trigger this runner with the correct labels. But the runner will only be able to run jobs from repos allowed to use the group. Default: undefined
|
|
9901
10018
|
:param image_builder: (experimental) Runner image builder used to build Docker images containing GitHub Runner and all requirements. The image builder must contain the {@link RunnerImageComponent.lambdaEntrypoint} component. The image builder determines the OS and architecture of the runner. Default: LambdaRunnerProvider.imageBuilder()
|
|
9902
10019
|
:param label: (deprecated) GitHub Actions label used for this provider. Default: undefined
|
|
9903
10020
|
:param labels: (experimental) GitHub Actions labels used for this provider. These labels are used to identify which provider should spawn a new on-demand runner. Every job sends a webhook with the labels it's looking for based on runs-on. We match the labels from the webhook with the labels specified here. If all the labels specified here are present in the job's labels, this provider will be chosen and spawn a new runner. Default: ['lambda']
|
|
@@ -9919,6 +10036,7 @@ class LambdaRunnerProviderProps(RunnerProviderProps):
|
|
|
9919
10036
|
check_type(argname="argument log_retention", value=log_retention, expected_type=type_hints["log_retention"])
|
|
9920
10037
|
check_type(argname="argument retry_options", value=retry_options, expected_type=type_hints["retry_options"])
|
|
9921
10038
|
check_type(argname="argument ephemeral_storage_size", value=ephemeral_storage_size, expected_type=type_hints["ephemeral_storage_size"])
|
|
10039
|
+
check_type(argname="argument group", value=group, expected_type=type_hints["group"])
|
|
9922
10040
|
check_type(argname="argument image_builder", value=image_builder, expected_type=type_hints["image_builder"])
|
|
9923
10041
|
check_type(argname="argument label", value=label, expected_type=type_hints["label"])
|
|
9924
10042
|
check_type(argname="argument labels", value=labels, expected_type=type_hints["labels"])
|
|
@@ -9935,6 +10053,8 @@ class LambdaRunnerProviderProps(RunnerProviderProps):
|
|
|
9935
10053
|
self._values["retry_options"] = retry_options
|
|
9936
10054
|
if ephemeral_storage_size is not None:
|
|
9937
10055
|
self._values["ephemeral_storage_size"] = ephemeral_storage_size
|
|
10056
|
+
if group is not None:
|
|
10057
|
+
self._values["group"] = group
|
|
9938
10058
|
if image_builder is not None:
|
|
9939
10059
|
self._values["image_builder"] = image_builder
|
|
9940
10060
|
if label is not None:
|
|
@@ -9992,6 +10112,24 @@ class LambdaRunnerProviderProps(RunnerProviderProps):
|
|
|
9992
10112
|
result = self._values.get("ephemeral_storage_size")
|
|
9993
10113
|
return typing.cast(typing.Optional[_aws_cdk_ceddda9d.Size], result)
|
|
9994
10114
|
|
|
10115
|
+
@builtins.property
|
|
10116
|
+
def group(self) -> typing.Optional[builtins.str]:
|
|
10117
|
+
'''(experimental) GitHub Actions runner group name.
|
|
10118
|
+
|
|
10119
|
+
If specified, the runner will be registered with this group name. Setting a runner group can help managing access to self-hosted runners. It
|
|
10120
|
+
requires a paid GitHub account.
|
|
10121
|
+
|
|
10122
|
+
The group must exist or the runner will not start.
|
|
10123
|
+
|
|
10124
|
+
Users will still be able to trigger this runner with the correct labels. But the runner will only be able to run jobs from repos allowed to use the group.
|
|
10125
|
+
|
|
10126
|
+
:default: undefined
|
|
10127
|
+
|
|
10128
|
+
:stability: experimental
|
|
10129
|
+
'''
|
|
10130
|
+
result = self._values.get("group")
|
|
10131
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
10132
|
+
|
|
9995
10133
|
@builtins.property
|
|
9996
10134
|
def image_builder(self) -> typing.Optional[IRunnerImageBuilder]:
|
|
9997
10135
|
'''(experimental) Runner image builder used to build Docker images containing GitHub Runner and all requirements.
|
|
@@ -10453,6 +10591,7 @@ class CodeBuildRunner(
|
|
|
10453
10591
|
*,
|
|
10454
10592
|
compute_type: typing.Optional[_aws_cdk_aws_codebuild_ceddda9d.ComputeType] = None,
|
|
10455
10593
|
docker_in_docker: typing.Optional[builtins.bool] = None,
|
|
10594
|
+
group: typing.Optional[builtins.str] = None,
|
|
10456
10595
|
image_builder: typing.Optional[IRunnerImageBuilder] = None,
|
|
10457
10596
|
label: typing.Optional[builtins.str] = None,
|
|
10458
10597
|
labels: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -10469,6 +10608,7 @@ class CodeBuildRunner(
|
|
|
10469
10608
|
:param id: -
|
|
10470
10609
|
:param compute_type: (experimental) The type of compute to use for this build. See the {@link ComputeType} enum for the possible values. Default: {@link ComputeType#SMALL }
|
|
10471
10610
|
:param docker_in_docker: (experimental) Support building and running Docker images by enabling Docker-in-Docker (dind) and the required CodeBuild privileged mode. Disabling this can speed up provisioning of CodeBuild runners. If you don't intend on running or building Docker images, disable this for faster start-up times. Default: true
|
|
10611
|
+
:param group: (experimental) GitHub Actions runner group name. If specified, the runner will be registered with this group name. Setting a runner group can help managing access to self-hosted runners. It requires a paid GitHub account. The group must exist or the runner will not start. Users will still be able to trigger this runner with the correct labels. But the runner will only be able to run jobs from repos allowed to use the group. Default: undefined
|
|
10472
10612
|
:param image_builder: (experimental) Runner image builder used to build Docker images containing GitHub Runner and all requirements. The image builder must contain the {@link RunnerImageComponent.docker} component unless ``dockerInDocker`` is set to false. The image builder determines the OS and architecture of the runner. Default: CodeBuildRunnerProvider.imageBuilder()
|
|
10473
10613
|
:param label: (deprecated) GitHub Actions label used for this provider. Default: undefined
|
|
10474
10614
|
:param labels: (experimental) GitHub Actions labels used for this provider. These labels are used to identify which provider should spawn a new on-demand runner. Every job sends a webhook with the labels it's looking for based on runs-on. We match the labels from the webhook with the labels specified here. If all the labels specified here are present in the job's labels, this provider will be chosen and spawn a new runner. Default: ['codebuild']
|
|
@@ -10489,6 +10629,7 @@ class CodeBuildRunner(
|
|
|
10489
10629
|
props = CodeBuildRunnerProviderProps(
|
|
10490
10630
|
compute_type=compute_type,
|
|
10491
10631
|
docker_in_docker=docker_in_docker,
|
|
10632
|
+
group=group,
|
|
10492
10633
|
image_builder=image_builder,
|
|
10493
10634
|
label=label,
|
|
10494
10635
|
labels=labels,
|
|
@@ -10521,6 +10662,7 @@ class Ec2Runner(
|
|
|
10521
10662
|
id: builtins.str,
|
|
10522
10663
|
*,
|
|
10523
10664
|
ami_builder: typing.Optional[IRunnerImageBuilder] = None,
|
|
10665
|
+
group: typing.Optional[builtins.str] = None,
|
|
10524
10666
|
image_builder: typing.Optional[IRunnerImageBuilder] = None,
|
|
10525
10667
|
instance_type: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.InstanceType] = None,
|
|
10526
10668
|
labels: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -10540,6 +10682,7 @@ class Ec2Runner(
|
|
|
10540
10682
|
:param scope: -
|
|
10541
10683
|
:param id: -
|
|
10542
10684
|
:param ami_builder:
|
|
10685
|
+
:param group: (experimental) GitHub Actions runner group name. If specified, the runner will be registered with this group name. Setting a runner group can help managing access to self-hosted runners. It requires a paid GitHub account. The group must exist or the runner will not start. Users will still be able to trigger this runner with the correct labels. But the runner will only be able to run jobs from repos allowed to use the group. Default: undefined
|
|
10543
10686
|
:param image_builder: (experimental) Runner image builder used to build AMI containing GitHub Runner and all requirements. The image builder determines the OS and architecture of the runner. Default: Ec2RunnerProvider.imageBuilder()
|
|
10544
10687
|
:param instance_type: (experimental) Instance type for launched runner instances. Default: m6i.large
|
|
10545
10688
|
:param labels: (experimental) GitHub Actions labels used for this provider. These labels are used to identify which provider should spawn a new on-demand runner. Every job sends a webhook with the labels it's looking for based on runs-on. We match the labels from the webhook with the labels specified here. If all the labels specified here are present in the job's labels, this provider will be chosen and spawn a new runner. Default: ['ec2']
|
|
@@ -10563,6 +10706,7 @@ class Ec2Runner(
|
|
|
10563
10706
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
10564
10707
|
props = Ec2RunnerProviderProps(
|
|
10565
10708
|
ami_builder=ami_builder,
|
|
10709
|
+
group=group,
|
|
10566
10710
|
image_builder=image_builder,
|
|
10567
10711
|
instance_type=instance_type,
|
|
10568
10712
|
labels=labels,
|
|
@@ -10602,6 +10746,7 @@ class FargateRunner(
|
|
|
10602
10746
|
cluster: typing.Optional[_aws_cdk_aws_ecs_ceddda9d.Cluster] = None,
|
|
10603
10747
|
cpu: typing.Optional[jsii.Number] = None,
|
|
10604
10748
|
ephemeral_storage_gib: typing.Optional[jsii.Number] = None,
|
|
10749
|
+
group: typing.Optional[builtins.str] = None,
|
|
10605
10750
|
image_builder: typing.Optional[IRunnerImageBuilder] = None,
|
|
10606
10751
|
label: typing.Optional[builtins.str] = None,
|
|
10607
10752
|
labels: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -10621,6 +10766,7 @@ class FargateRunner(
|
|
|
10621
10766
|
:param cluster: (experimental) Existing Fargate cluster to use. Default: a new cluster
|
|
10622
10767
|
:param cpu: (experimental) The number of cpu units used by the task. For tasks using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of valid values for the memory parameter: 256 (.25 vCPU) - Available memory values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) 512 (.5 vCPU) - Available memory values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) 1024 (1 vCPU) - Available memory values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) 2048 (2 vCPU) - Available memory values: Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) 4096 (4 vCPU) - Available memory values: Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) Default: 1024
|
|
10623
10768
|
:param ephemeral_storage_gib: (experimental) The amount (in GiB) of ephemeral storage to be allocated to the task. The maximum supported value is 200 GiB. NOTE: This parameter is only supported for tasks hosted on AWS Fargate using platform version 1.4.0 or later. Default: 20
|
|
10769
|
+
:param group: (experimental) GitHub Actions runner group name. If specified, the runner will be registered with this group name. Setting a runner group can help managing access to self-hosted runners. It requires a paid GitHub account. The group must exist or the runner will not start. Users will still be able to trigger this runner with the correct labels. But the runner will only be able to run jobs from repos allowed to use the group. Default: undefined
|
|
10624
10770
|
:param image_builder: (experimental) Runner image builder used to build Docker images containing GitHub Runner and all requirements. The image builder determines the OS and architecture of the runner. Default: FargateRunnerProvider.imageBuilder()
|
|
10625
10771
|
:param label: (deprecated) GitHub Actions label used for this provider. Default: undefined
|
|
10626
10772
|
:param labels: (experimental) GitHub Actions labels used for this provider. These labels are used to identify which provider should spawn a new on-demand runner. Every job sends a webhook with the labels it's looking for based on runs-on. We match the labels from the webhook with the labels specified here. If all the labels specified here are present in the job's labels, this provider will be chosen and spawn a new runner. Default: ['fargate']
|
|
@@ -10644,6 +10790,7 @@ class FargateRunner(
|
|
|
10644
10790
|
cluster=cluster,
|
|
10645
10791
|
cpu=cpu,
|
|
10646
10792
|
ephemeral_storage_gib=ephemeral_storage_gib,
|
|
10793
|
+
group=group,
|
|
10647
10794
|
image_builder=image_builder,
|
|
10648
10795
|
label=label,
|
|
10649
10796
|
labels=labels,
|
|
@@ -10953,6 +11100,7 @@ def _typecheckingstub__637ac3a7237f114ea2a9842f95653a0d13444cd4da7a4dfe9330fdb98
|
|
|
10953
11100
|
id: builtins.str,
|
|
10954
11101
|
*,
|
|
10955
11102
|
ephemeral_storage_size: typing.Optional[_aws_cdk_ceddda9d.Size] = None,
|
|
11103
|
+
group: typing.Optional[builtins.str] = None,
|
|
10956
11104
|
image_builder: typing.Optional[IRunnerImageBuilder] = None,
|
|
10957
11105
|
label: typing.Optional[builtins.str] = None,
|
|
10958
11106
|
labels: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -11486,6 +11634,7 @@ def _typecheckingstub__bb924a0cf987a9f87f4ad0ebd952c61ebd4e02d7d83501b9600f14157
|
|
|
11486
11634
|
*,
|
|
11487
11635
|
compute_type: typing.Optional[_aws_cdk_aws_codebuild_ceddda9d.ComputeType] = None,
|
|
11488
11636
|
docker_in_docker: typing.Optional[builtins.bool] = None,
|
|
11637
|
+
group: typing.Optional[builtins.str] = None,
|
|
11489
11638
|
image_builder: typing.Optional[IRunnerImageBuilder] = None,
|
|
11490
11639
|
label: typing.Optional[builtins.str] = None,
|
|
11491
11640
|
labels: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -11551,6 +11700,7 @@ def _typecheckingstub__9377dcf4cd4dae74730635bdaf02246acb473843cea2856cf9a64295d
|
|
|
11551
11700
|
retry_options: typing.Optional[typing.Union[ProviderRetryOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
11552
11701
|
compute_type: typing.Optional[_aws_cdk_aws_codebuild_ceddda9d.ComputeType] = None,
|
|
11553
11702
|
docker_in_docker: typing.Optional[builtins.bool] = None,
|
|
11703
|
+
group: typing.Optional[builtins.str] = None,
|
|
11554
11704
|
image_builder: typing.Optional[IRunnerImageBuilder] = None,
|
|
11555
11705
|
label: typing.Optional[builtins.str] = None,
|
|
11556
11706
|
labels: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -11644,6 +11794,7 @@ def _typecheckingstub__fd3f279069067627058d9a5818aab030be5ffd71ce03962b4fd7cdd85
|
|
|
11644
11794
|
id: builtins.str,
|
|
11645
11795
|
*,
|
|
11646
11796
|
ami_builder: typing.Optional[IRunnerImageBuilder] = None,
|
|
11797
|
+
group: typing.Optional[builtins.str] = None,
|
|
11647
11798
|
image_builder: typing.Optional[IRunnerImageBuilder] = None,
|
|
11648
11799
|
instance_type: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.InstanceType] = None,
|
|
11649
11800
|
labels: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -11712,6 +11863,7 @@ def _typecheckingstub__b650c4bf7f2a31b514d6f1f9e0c1b4b2cdae8b20b6f209f5b5fc74ef4
|
|
|
11712
11863
|
log_retention: typing.Optional[_aws_cdk_aws_logs_ceddda9d.RetentionDays] = None,
|
|
11713
11864
|
retry_options: typing.Optional[typing.Union[ProviderRetryOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
11714
11865
|
ami_builder: typing.Optional[IRunnerImageBuilder] = None,
|
|
11866
|
+
group: typing.Optional[builtins.str] = None,
|
|
11715
11867
|
image_builder: typing.Optional[IRunnerImageBuilder] = None,
|
|
11716
11868
|
instance_type: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.InstanceType] = None,
|
|
11717
11869
|
labels: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -11737,6 +11889,7 @@ def _typecheckingstub__c520325dd0289bf8c6670ecdce77df4b229a0a2681957e61665818d2f
|
|
|
11737
11889
|
cluster: typing.Optional[_aws_cdk_aws_ecs_ceddda9d.Cluster] = None,
|
|
11738
11890
|
cpu: typing.Optional[jsii.Number] = None,
|
|
11739
11891
|
docker_in_docker: typing.Optional[builtins.bool] = None,
|
|
11892
|
+
group: typing.Optional[builtins.str] = None,
|
|
11740
11893
|
image_builder: typing.Optional[IRunnerImageBuilder] = None,
|
|
11741
11894
|
instance_type: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.InstanceType] = None,
|
|
11742
11895
|
labels: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -11811,6 +11964,7 @@ def _typecheckingstub__73c1978e12dcea1bd69ce0927a80bd887d7f7d1b6573831942495e9d5
|
|
|
11811
11964
|
cluster: typing.Optional[_aws_cdk_aws_ecs_ceddda9d.Cluster] = None,
|
|
11812
11965
|
cpu: typing.Optional[jsii.Number] = None,
|
|
11813
11966
|
docker_in_docker: typing.Optional[builtins.bool] = None,
|
|
11967
|
+
group: typing.Optional[builtins.str] = None,
|
|
11814
11968
|
image_builder: typing.Optional[IRunnerImageBuilder] = None,
|
|
11815
11969
|
instance_type: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.InstanceType] = None,
|
|
11816
11970
|
labels: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -11837,6 +11991,7 @@ def _typecheckingstub__f7098876c10584a4cc58e16d23fd86ffe1fc50f2b55ca60549136d051
|
|
|
11837
11991
|
cluster: typing.Optional[_aws_cdk_aws_ecs_ceddda9d.Cluster] = None,
|
|
11838
11992
|
cpu: typing.Optional[jsii.Number] = None,
|
|
11839
11993
|
ephemeral_storage_gib: typing.Optional[jsii.Number] = None,
|
|
11994
|
+
group: typing.Optional[builtins.str] = None,
|
|
11840
11995
|
image_builder: typing.Optional[IRunnerImageBuilder] = None,
|
|
11841
11996
|
label: typing.Optional[builtins.str] = None,
|
|
11842
11997
|
labels: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -11905,6 +12060,7 @@ def _typecheckingstub__26cdeb87df1adf5c49e0f9c1c061c7138af674da9af221212e1505fc1
|
|
|
11905
12060
|
cluster: typing.Optional[_aws_cdk_aws_ecs_ceddda9d.Cluster] = None,
|
|
11906
12061
|
cpu: typing.Optional[jsii.Number] = None,
|
|
11907
12062
|
ephemeral_storage_gib: typing.Optional[jsii.Number] = None,
|
|
12063
|
+
group: typing.Optional[builtins.str] = None,
|
|
11908
12064
|
image_builder: typing.Optional[IRunnerImageBuilder] = None,
|
|
11909
12065
|
label: typing.Optional[builtins.str] = None,
|
|
11910
12066
|
labels: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -11935,6 +12091,7 @@ def _typecheckingstub__80e9b84ecba02bdef856d3ee3f48a5e0a5e58ad813554fd529c0abe3a
|
|
|
11935
12091
|
id: builtins.str,
|
|
11936
12092
|
*,
|
|
11937
12093
|
ephemeral_storage_size: typing.Optional[_aws_cdk_ceddda9d.Size] = None,
|
|
12094
|
+
group: typing.Optional[builtins.str] = None,
|
|
11938
12095
|
image_builder: typing.Optional[IRunnerImageBuilder] = None,
|
|
11939
12096
|
label: typing.Optional[builtins.str] = None,
|
|
11940
12097
|
labels: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -11955,6 +12112,7 @@ def _typecheckingstub__45a4a92b817689da2d55675d278ad5c96699269cc41f3406b7fca6d7a
|
|
|
11955
12112
|
log_retention: typing.Optional[_aws_cdk_aws_logs_ceddda9d.RetentionDays] = None,
|
|
11956
12113
|
retry_options: typing.Optional[typing.Union[ProviderRetryOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
11957
12114
|
ephemeral_storage_size: typing.Optional[_aws_cdk_ceddda9d.Size] = None,
|
|
12115
|
+
group: typing.Optional[builtins.str] = None,
|
|
11958
12116
|
image_builder: typing.Optional[IRunnerImageBuilder] = None,
|
|
11959
12117
|
label: typing.Optional[builtins.str] = None,
|
|
11960
12118
|
labels: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -12042,6 +12200,7 @@ def _typecheckingstub__1ab9454b0ecfcd12fc0ab07c0f0f4d7ce646a5a928f5e14092b0a6c42
|
|
|
12042
12200
|
*,
|
|
12043
12201
|
compute_type: typing.Optional[_aws_cdk_aws_codebuild_ceddda9d.ComputeType] = None,
|
|
12044
12202
|
docker_in_docker: typing.Optional[builtins.bool] = None,
|
|
12203
|
+
group: typing.Optional[builtins.str] = None,
|
|
12045
12204
|
image_builder: typing.Optional[IRunnerImageBuilder] = None,
|
|
12046
12205
|
label: typing.Optional[builtins.str] = None,
|
|
12047
12206
|
labels: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -12061,6 +12220,7 @@ def _typecheckingstub__a0a6acc584ae2ad3aed3605810cea44858f1a0bc22f62f2df9005b318
|
|
|
12061
12220
|
id: builtins.str,
|
|
12062
12221
|
*,
|
|
12063
12222
|
ami_builder: typing.Optional[IRunnerImageBuilder] = None,
|
|
12223
|
+
group: typing.Optional[builtins.str] = None,
|
|
12064
12224
|
image_builder: typing.Optional[IRunnerImageBuilder] = None,
|
|
12065
12225
|
instance_type: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.InstanceType] = None,
|
|
12066
12226
|
labels: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -12087,6 +12247,7 @@ def _typecheckingstub__e507aa08f983fcd409ec9cf4ba5e0e6312ce72778cbbb2f9b5b016fde
|
|
|
12087
12247
|
cluster: typing.Optional[_aws_cdk_aws_ecs_ceddda9d.Cluster] = None,
|
|
12088
12248
|
cpu: typing.Optional[jsii.Number] = None,
|
|
12089
12249
|
ephemeral_storage_gib: typing.Optional[jsii.Number] = None,
|
|
12250
|
+
group: typing.Optional[builtins.str] = None,
|
|
12090
12251
|
image_builder: typing.Optional[IRunnerImageBuilder] = None,
|
|
12091
12252
|
label: typing.Optional[builtins.str] = None,
|
|
12092
12253
|
labels: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -33,9 +33,9 @@ import constructs._jsii
|
|
|
33
33
|
|
|
34
34
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
35
35
|
"@cloudsnorkel/cdk-github-runners",
|
|
36
|
-
"0.14.
|
|
36
|
+
"0.14.6",
|
|
37
37
|
__name__[0:-6],
|
|
38
|
-
"cdk-github-runners@0.14.
|
|
38
|
+
"cdk-github-runners@0.14.6.jsii.tgz",
|
|
39
39
|
)
|
|
40
40
|
|
|
41
41
|
__all__ = [
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: cloudsnorkel.cdk-github-runners
|
|
3
|
-
Version: 0.14.
|
|
4
|
-
Summary: CDK construct to create GitHub Actions self-hosted runners.
|
|
3
|
+
Version: 0.14.6
|
|
4
|
+
Summary: CDK construct to create GitHub Actions self-hosted runners. Creates ephemeral runners on demand. Easy to deploy and highly customizable.
|
|
5
5
|
Home-page: https://github.com/CloudSnorkel/cdk-github-runners.git
|
|
6
6
|
Author: Amir Szekely<amir@cloudsnorkel.com>
|
|
7
7
|
License: Apache-2.0
|
|
@@ -22,9 +22,9 @@ Description-Content-Type: text/markdown
|
|
|
22
22
|
License-File: LICENSE
|
|
23
23
|
Requires-Dist: aws-cdk-lib<3.0.0,>=2.155.0
|
|
24
24
|
Requires-Dist: constructs<11.0.0,>=10.0.5
|
|
25
|
-
Requires-Dist: jsii<2.0.0,>=1.
|
|
25
|
+
Requires-Dist: jsii<2.0.0,>=1.104.0
|
|
26
26
|
Requires-Dist: publication>=0.0.3
|
|
27
|
-
Requires-Dist: typeguard<
|
|
27
|
+
Requires-Dist: typeguard<4.3.0,>=2.13.3
|
|
28
28
|
|
|
29
29
|
# GitHub Self-Hosted Runners CDK Constructs
|
|
30
30
|
|
|
@@ -243,7 +243,7 @@ You can also create your own provider by implementing `IRunnerProvider`.
|
|
|
243
243
|
5. Execute the status command (you may need to specify `--profile` too) and open the resulting `status.json` file
|
|
244
244
|
6. Open the URL in `github.setup.url` from `status.json` or [manually setup GitHub](SETUP_GITHUB.md) integration as an app or with personal access token
|
|
245
245
|
7. Run status command again to confirm `github.auth.status` and `github.webhook.status` are OK
|
|
246
|
-
8. Trigger a GitHub action that has a `self-hosted` label with `runs-on: [self-hosted,
|
|
246
|
+
8. Trigger a GitHub action that has a `self-hosted` label with `runs-on: [self-hosted, codebuild]` (or non-default labels you set in step 2)
|
|
247
247
|
9. If the action is not successful, see [troubleshooting](#Troubleshooting)
|
|
248
248
|
|
|
249
249
|
[](https://youtu.be/wlyv_3V8lIw)
|
|
@@ -11,4 +11,4 @@ src/cloudsnorkel.cdk_github_runners.egg-info/top_level.txt
|
|
|
11
11
|
src/cloudsnorkel/cdk_github_runners/__init__.py
|
|
12
12
|
src/cloudsnorkel/cdk_github_runners/py.typed
|
|
13
13
|
src/cloudsnorkel/cdk_github_runners/_jsii/__init__.py
|
|
14
|
-
src/cloudsnorkel/cdk_github_runners/_jsii/cdk-github-runners@0.14.
|
|
14
|
+
src/cloudsnorkel/cdk_github_runners/_jsii/cdk-github-runners@0.14.6.jsii.tgz
|
|
Binary file
|
|
File without changes
|
{cloudsnorkel_cdk_github_runners-0.14.4 → cloudsnorkel_cdk_github_runners-0.14.6}/MANIFEST.in
RENAMED
|
File without changes
|
{cloudsnorkel_cdk_github_runners-0.14.4 → cloudsnorkel_cdk_github_runners-0.14.6}/pyproject.toml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|