cloudsnorkel.cdk-github-runners 0.14.1__tar.gz → 0.14.2__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.

Files changed (18) hide show
  1. {cloudsnorkel.cdk-github-runners-0.14.1/src/cloudsnorkel.cdk_github_runners.egg-info → cloudsnorkel_cdk_github_runners-0.14.2}/PKG-INFO +7 -2
  2. {cloudsnorkel.cdk-github-runners-0.14.1 → cloudsnorkel_cdk_github_runners-0.14.2}/README.md +1 -1
  3. {cloudsnorkel.cdk-github-runners-0.14.1 → cloudsnorkel_cdk_github_runners-0.14.2}/pyproject.toml +1 -1
  4. {cloudsnorkel.cdk-github-runners-0.14.1 → cloudsnorkel_cdk_github_runners-0.14.2}/setup.py +4 -4
  5. {cloudsnorkel.cdk-github-runners-0.14.1 → cloudsnorkel_cdk_github_runners-0.14.2}/src/cloudsnorkel/cdk_github_runners/__init__.py +20 -5
  6. cloudsnorkel_cdk_github_runners-0.14.2/src/cloudsnorkel/cdk_github_runners/_jsii/__init__.py +45 -0
  7. cloudsnorkel_cdk_github_runners-0.14.2/src/cloudsnorkel/cdk_github_runners/_jsii/cdk-github-runners@0.14.2.jsii.tgz +0 -0
  8. {cloudsnorkel.cdk-github-runners-0.14.1 → cloudsnorkel_cdk_github_runners-0.14.2/src/cloudsnorkel.cdk_github_runners.egg-info}/PKG-INFO +7 -2
  9. {cloudsnorkel.cdk-github-runners-0.14.1 → cloudsnorkel_cdk_github_runners-0.14.2}/src/cloudsnorkel.cdk_github_runners.egg-info/SOURCES.txt +1 -1
  10. {cloudsnorkel.cdk-github-runners-0.14.1 → cloudsnorkel_cdk_github_runners-0.14.2}/src/cloudsnorkel.cdk_github_runners.egg-info/requires.txt +2 -2
  11. cloudsnorkel.cdk-github-runners-0.14.1/src/cloudsnorkel/cdk_github_runners/_jsii/__init__.py +0 -30
  12. cloudsnorkel.cdk-github-runners-0.14.1/src/cloudsnorkel/cdk_github_runners/_jsii/cdk-github-runners@0.14.1.jsii.tgz +0 -0
  13. {cloudsnorkel.cdk-github-runners-0.14.1 → cloudsnorkel_cdk_github_runners-0.14.2}/LICENSE +0 -0
  14. {cloudsnorkel.cdk-github-runners-0.14.1 → cloudsnorkel_cdk_github_runners-0.14.2}/MANIFEST.in +0 -0
  15. {cloudsnorkel.cdk-github-runners-0.14.1 → cloudsnorkel_cdk_github_runners-0.14.2}/setup.cfg +0 -0
  16. {cloudsnorkel.cdk-github-runners-0.14.1 → cloudsnorkel_cdk_github_runners-0.14.2}/src/cloudsnorkel/cdk_github_runners/py.typed +0 -0
  17. {cloudsnorkel.cdk-github-runners-0.14.1 → cloudsnorkel_cdk_github_runners-0.14.2}/src/cloudsnorkel.cdk_github_runners.egg-info/dependency_links.txt +0 -0
  18. {cloudsnorkel.cdk-github-runners-0.14.1 → cloudsnorkel_cdk_github_runners-0.14.2}/src/cloudsnorkel.cdk_github_runners.egg-info/top_level.txt +0 -0
@@ -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,6 +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.103.1
26
+ Requires-Dist: publication>=0.0.3
27
+ Requires-Dist: typeguard<5.0.0,>=2.13.3
23
28
 
24
29
  # GitHub Self-Hosted Runners CDK Constructs
25
30
 
@@ -43,7 +48,7 @@ Self-hosted runners in AWS are useful when:
43
48
 
44
49
  * You need easy access to internal resources in your actions
45
50
  * You want to pre-install some software for your actions
46
- * 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)
47
52
  * You are using GitHub Enterprise Server
48
53
 
49
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.
@@ -20,7 +20,7 @@ Self-hosted runners in AWS are useful when:
20
20
 
21
21
  * You need easy access to internal resources in your actions
22
22
  * You want to pre-install some software for your actions
23
- * 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)
23
+ * 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)
24
24
  * You are using GitHub Enterprise Server
25
25
 
26
26
  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.
@@ -1,5 +1,5 @@
1
1
  [build-system]
2
- requires = ["setuptools~=67.3.2", "wheel~=0.42"]
2
+ requires = ["setuptools~=70.0.0", "wheel~=0.42"]
3
3
  build-backend = "setuptools.build_meta"
4
4
 
5
5
  [tool.pyright]
@@ -5,7 +5,7 @@ kwargs = json.loads(
5
5
  """
6
6
  {
7
7
  "name": "cloudsnorkel.cdk-github-runners",
8
- "version": "0.14.1",
8
+ "version": "0.14.2",
9
9
  "description": "CDK construct to create GitHub Actions self-hosted runners. A webhook listens to events and creates ephemeral runners on the fly.",
10
10
  "license": "Apache-2.0",
11
11
  "url": "https://github.com/CloudSnorkel/cdk-github-runners.git",
@@ -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.1.jsii.tgz"
29
+ "cdk-github-runners@0.14.2.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.123.0, <3.0.0",
38
38
  "constructs>=10.0.5, <11.0.0",
39
- "jsii>=1.100.0, <2.0.0",
39
+ "jsii>=1.103.1, <2.0.0",
40
40
  "publication>=0.0.3",
41
- "typeguard~=2.13.3"
41
+ "typeguard>=2.13.3,<5.0.0"
42
42
  ],
43
43
  "classifiers": [
44
44
  "Intended Audience :: Developers",
@@ -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):
@@ -0,0 +1,45 @@
1
+ from pkgutil import extend_path
2
+ __path__ = extend_path(__path__, __name__)
3
+
4
+ import abc
5
+ import builtins
6
+ import datetime
7
+ import enum
8
+ import typing
9
+
10
+ import jsii
11
+ import publication
12
+ import typing_extensions
13
+
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
30
+
31
+ import aws_cdk._jsii
32
+ import constructs._jsii
33
+
34
+ __jsii_assembly__ = jsii.JSIIAssembly.load(
35
+ "@cloudsnorkel/cdk-github-runners",
36
+ "0.14.2",
37
+ __name__[0:-6],
38
+ "cdk-github-runners@0.14.2.jsii.tgz",
39
+ )
40
+
41
+ __all__ = [
42
+ "__jsii_assembly__",
43
+ ]
44
+
45
+ publication.publish()
@@ -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,6 +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.103.1
26
+ Requires-Dist: publication>=0.0.3
27
+ Requires-Dist: typeguard<5.0.0,>=2.13.3
23
28
 
24
29
  # GitHub Self-Hosted Runners CDK Constructs
25
30
 
@@ -43,7 +48,7 @@ Self-hosted runners in AWS are useful when:
43
48
 
44
49
  * You need easy access to internal resources in your actions
45
50
  * You want to pre-install some software for your actions
46
- * 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)
47
52
  * You are using GitHub Enterprise Server
48
53
 
49
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.
@@ -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.1.jsii.tgz
14
+ src/cloudsnorkel/cdk_github_runners/_jsii/cdk-github-runners@0.14.2.jsii.tgz
@@ -1,5 +1,5 @@
1
1
  aws-cdk-lib<3.0.0,>=2.123.0
2
2
  constructs<11.0.0,>=10.0.5
3
- jsii<2.0.0,>=1.100.0
3
+ jsii<2.0.0,>=1.103.1
4
4
  publication>=0.0.3
5
- typeguard~=2.13.3
5
+ typeguard<5.0.0,>=2.13.3
@@ -1,30 +0,0 @@
1
- from pkgutil import extend_path
2
- __path__ = extend_path(__path__, __name__)
3
-
4
- import abc
5
- import builtins
6
- import datetime
7
- import enum
8
- import typing
9
-
10
- import jsii
11
- import publication
12
- import typing_extensions
13
-
14
- from typeguard import check_type
15
-
16
- import aws_cdk._jsii
17
- import constructs._jsii
18
-
19
- __jsii_assembly__ = jsii.JSIIAssembly.load(
20
- "@cloudsnorkel/cdk-github-runners",
21
- "0.14.1",
22
- __name__[0:-6],
23
- "cdk-github-runners@0.14.1.jsii.tgz",
24
- )
25
-
26
- __all__ = [
27
- "__jsii_assembly__",
28
- ]
29
-
30
- publication.publish()