cloudsnorkel.cdk-github-runners 0.14.1__py3-none-any.whl → 0.14.2__py3-none-any.whl

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.

@@ -21,7 +21,7 @@ Self-hosted runners in AWS are useful when:
21
21
 
22
22
  * You need easy access to internal resources in your actions
23
23
  * You want to pre-install some software for your actions
24
- * You want to provide some basic AWS API access (but [aws-actions/configure-aws-credentials](https://github.com/marketplace/actions/configure-aws-credentials-for-github-actions) has more security controls)
24
+ * You want to provide some basic AWS API access (but [aws-actions/configure-aws-credentials](https://github.com/marketplace/actions/configure-aws-credentials-action-for-github-actions) has more security controls)
25
25
  * You are using GitHub Enterprise Server
26
26
 
27
27
  Ephemeral (or on-demand) runners are the [recommended way by GitHub](https://docs.github.com/en/actions/hosting-your-own-runners/autoscaling-with-self-hosted-runners#using-ephemeral-runners-for-autoscaling) for auto-scaling, and they make sure all jobs run with a clean image. Runners are started on-demand. You don't pay unless a job is running.
@@ -400,7 +400,22 @@ import jsii
400
400
  import publication
401
401
  import typing_extensions
402
402
 
403
- from typeguard import check_type
403
+ import typeguard
404
+ from importlib.metadata import version as _metadata_package_version
405
+ TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
406
+
407
+ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
408
+ if TYPEGUARD_MAJOR_VERSION <= 2:
409
+ return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
410
+ else:
411
+ if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
412
+ pass
413
+ else:
414
+ if TYPEGUARD_MAJOR_VERSION == 3:
415
+ typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
416
+ typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
417
+ else:
418
+ typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
404
419
 
405
420
  from ._jsii import *
406
421
 
@@ -6249,7 +6264,7 @@ class AmiBuilder(
6249
6264
  if __debug__:
6250
6265
  type_hints = typing.get_type_hints(_typecheckingstub__8088868062a70621aab7b900883cf52d9c930de8a458039564d69a7d0cc80f52)
6251
6266
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
6252
- jsii.set(self, "components", value)
6267
+ jsii.set(self, "components", value) # pyright: ignore[reportArgumentType]
6253
6268
 
6254
6269
 
6255
6270
  @jsii.implements(IRunnerImageBuilder)
@@ -7413,7 +7428,7 @@ class ContainerImageBuilder(
7413
7428
  if __debug__:
7414
7429
  type_hints = typing.get_type_hints(_typecheckingstub__f4c47d52e3f51709153fc49a53f833f06b1fd2ba44d3c86696b418a3bf88a972)
7415
7430
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
7416
- jsii.set(self, "components", value)
7431
+ jsii.set(self, "components", value) # pyright: ignore[reportArgumentType]
7417
7432
 
7418
7433
 
7419
7434
  @jsii.implements(IRunnerProvider)
@@ -10216,7 +10231,7 @@ class RunnerImageBuilder(
10216
10231
  if __debug__:
10217
10232
  type_hints = typing.get_type_hints(_typecheckingstub__705c18a1eedaa490aebad511aac32a801519a57162e30be4673a8ab87ca434dc)
10218
10233
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
10219
- jsii.set(self, "components", value)
10234
+ jsii.set(self, "components", value) # pyright: ignore[reportArgumentType]
10220
10235
 
10221
10236
 
10222
10237
  class _RunnerImageBuilderProxy(RunnerImageBuilder):
@@ -11,16 +11,31 @@ import jsii
11
11
  import publication
12
12
  import typing_extensions
13
13
 
14
- from typeguard import check_type
14
+ import typeguard
15
+ from importlib.metadata import version as _metadata_package_version
16
+ TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
17
+
18
+ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
19
+ if TYPEGUARD_MAJOR_VERSION <= 2:
20
+ return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
21
+ else:
22
+ if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
23
+ pass
24
+ else:
25
+ if TYPEGUARD_MAJOR_VERSION == 3:
26
+ typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
27
+ typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
28
+ else:
29
+ typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
15
30
 
16
31
  import aws_cdk._jsii
17
32
  import constructs._jsii
18
33
 
19
34
  __jsii_assembly__ = jsii.JSIIAssembly.load(
20
35
  "@cloudsnorkel/cdk-github-runners",
21
- "0.14.1",
36
+ "0.14.2",
22
37
  __name__[0:-6],
23
- "cdk-github-runners@0.14.1.jsii.tgz",
38
+ "cdk-github-runners@0.14.2.jsii.tgz",
24
39
  )
25
40
 
26
41
  __all__ = [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cloudsnorkel.cdk-github-runners
3
- Version: 0.14.1
3
+ Version: 0.14.2
4
4
  Summary: CDK construct to create GitHub Actions self-hosted runners. A webhook listens to events and creates ephemeral runners on the fly.
5
5
  Home-page: https://github.com/CloudSnorkel/cdk-github-runners.git
6
6
  Author: Amir Szekely<amir@cloudsnorkel.com>
@@ -20,11 +20,11 @@ Classifier: License :: OSI Approved
20
20
  Requires-Python: ~=3.8
21
21
  Description-Content-Type: text/markdown
22
22
  License-File: LICENSE
23
- Requires-Dist: aws-cdk-lib <3.0.0,>=2.123.0
24
- Requires-Dist: constructs <11.0.0,>=10.0.5
25
- Requires-Dist: jsii <2.0.0,>=1.100.0
26
- Requires-Dist: publication >=0.0.3
27
- Requires-Dist: typeguard ~=2.13.3
23
+ Requires-Dist: aws-cdk-lib<3.0.0,>=2.123.0
24
+ Requires-Dist: constructs<11.0.0,>=10.0.5
25
+ Requires-Dist: jsii<2.0.0,>=1.103.1
26
+ Requires-Dist: publication>=0.0.3
27
+ Requires-Dist: typeguard<5.0.0,>=2.13.3
28
28
 
29
29
  # GitHub Self-Hosted Runners CDK Constructs
30
30
 
@@ -48,7 +48,7 @@ Self-hosted runners in AWS are useful when:
48
48
 
49
49
  * You need easy access to internal resources in your actions
50
50
  * You want to pre-install some software for your actions
51
- * You want to provide some basic AWS API access (but [aws-actions/configure-aws-credentials](https://github.com/marketplace/actions/configure-aws-credentials-for-github-actions) has more security controls)
51
+ * You want to provide some basic AWS API access (but [aws-actions/configure-aws-credentials](https://github.com/marketplace/actions/configure-aws-credentials-action-for-github-actions) has more security controls)
52
52
  * You are using GitHub Enterprise Server
53
53
 
54
54
  Ephemeral (or on-demand) runners are the [recommended way by GitHub](https://docs.github.com/en/actions/hosting-your-own-runners/autoscaling-with-self-hosted-runners#using-ephemeral-runners-for-autoscaling) for auto-scaling, and they make sure all jobs run with a clean image. Runners are started on-demand. You don't pay unless a job is running.
@@ -0,0 +1,9 @@
1
+ cloudsnorkel/cdk_github_runners/__init__.py,sha256=XILvg4fiFgJDz1vLoLyJhQV1QxaEfR8PHXEaOiQa-50,605357
2
+ cloudsnorkel/cdk_github_runners/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
3
+ cloudsnorkel/cdk_github_runners/_jsii/__init__.py,sha256=EKEj4-LFjgbMIOW92iuHPI8WBQxnmwXWU7CY_noFXQQ,1476
4
+ cloudsnorkel/cdk_github_runners/_jsii/cdk-github-runners@0.14.2.jsii.tgz,sha256=dzk99sQyu7D-fL-Ixu6fTHOAfTOXUu4E8wkbyacetbg,1443281
5
+ cloudsnorkel.cdk_github_runners-0.14.2.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
6
+ cloudsnorkel.cdk_github_runners-0.14.2.dist-info/METADATA,sha256=DjJn2PQmd_s8-4fhJpD06WzDP8xW0kp0NXdmfaWvNsQ,17619
7
+ cloudsnorkel.cdk_github_runners-0.14.2.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
8
+ cloudsnorkel.cdk_github_runners-0.14.2.dist-info/top_level.txt,sha256=6vUrT-dcGOiRMT4Q6gEQPznoyS7nHOJ269MHpo4DEd8,13
9
+ cloudsnorkel.cdk_github_runners-0.14.2.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.43.0)
2
+ Generator: bdist_wheel (0.44.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,9 +0,0 @@
1
- cloudsnorkel/cdk_github_runners/__init__.py,sha256=6bIUJaprZZXAlX26Jl4P4cdgvZPXD6GW1HD50dm61gU,604268
2
- cloudsnorkel/cdk_github_runners/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
3
- cloudsnorkel/cdk_github_runners/_jsii/__init__.py,sha256=44LlieecBsvQr_KQMm5CtApbbHxrZ3fW_T6uk_rIZ38,508
4
- cloudsnorkel/cdk_github_runners/_jsii/cdk-github-runners@0.14.1.jsii.tgz,sha256=Mc680IvqJupGTq-rhM33vZW9p6EYkCzrcuP5-tLJEsE,1441548
5
- cloudsnorkel.cdk_github_runners-0.14.1.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
6
- cloudsnorkel.cdk_github_runners-0.14.1.dist-info/METADATA,sha256=eSdLfrzMx_6GXtcTrgN5_h-oPBh1kThU4ioUCEcTUEc,17610
7
- cloudsnorkel.cdk_github_runners-0.14.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
8
- cloudsnorkel.cdk_github_runners-0.14.1.dist-info/top_level.txt,sha256=6vUrT-dcGOiRMT4Q6gEQPznoyS7nHOJ269MHpo4DEd8,13
9
- cloudsnorkel.cdk_github_runners-0.14.1.dist-info/RECORD,,