cloudsnorkel.cdk-github-runners 0.14.11__tar.gz → 0.14.13__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 (17) hide show
  1. {cloudsnorkel_cdk_github_runners-0.14.11/src/cloudsnorkel.cdk_github_runners.egg-info → cloudsnorkel_cdk_github_runners-0.14.13}/PKG-INFO +2 -2
  2. {cloudsnorkel_cdk_github_runners-0.14.11 → cloudsnorkel_cdk_github_runners-0.14.13}/pyproject.toml +1 -1
  3. {cloudsnorkel_cdk_github_runners-0.14.11 → cloudsnorkel_cdk_github_runners-0.14.13}/setup.py +3 -3
  4. {cloudsnorkel_cdk_github_runners-0.14.11 → cloudsnorkel_cdk_github_runners-0.14.13}/src/cloudsnorkel/cdk_github_runners/__init__.py +65 -0
  5. {cloudsnorkel_cdk_github_runners-0.14.11 → cloudsnorkel_cdk_github_runners-0.14.13}/src/cloudsnorkel/cdk_github_runners/_jsii/__init__.py +2 -2
  6. cloudsnorkel_cdk_github_runners-0.14.13/src/cloudsnorkel/cdk_github_runners/_jsii/cdk-github-runners@0.14.13.jsii.tgz +0 -0
  7. {cloudsnorkel_cdk_github_runners-0.14.11 → cloudsnorkel_cdk_github_runners-0.14.13/src/cloudsnorkel.cdk_github_runners.egg-info}/PKG-INFO +2 -2
  8. {cloudsnorkel_cdk_github_runners-0.14.11 → cloudsnorkel_cdk_github_runners-0.14.13}/src/cloudsnorkel.cdk_github_runners.egg-info/SOURCES.txt +1 -1
  9. {cloudsnorkel_cdk_github_runners-0.14.11 → cloudsnorkel_cdk_github_runners-0.14.13}/src/cloudsnorkel.cdk_github_runners.egg-info/requires.txt +1 -1
  10. cloudsnorkel_cdk_github_runners-0.14.11/src/cloudsnorkel/cdk_github_runners/_jsii/cdk-github-runners@0.14.11.jsii.tgz +0 -0
  11. {cloudsnorkel_cdk_github_runners-0.14.11 → cloudsnorkel_cdk_github_runners-0.14.13}/LICENSE +0 -0
  12. {cloudsnorkel_cdk_github_runners-0.14.11 → cloudsnorkel_cdk_github_runners-0.14.13}/MANIFEST.in +0 -0
  13. {cloudsnorkel_cdk_github_runners-0.14.11 → cloudsnorkel_cdk_github_runners-0.14.13}/README.md +0 -0
  14. {cloudsnorkel_cdk_github_runners-0.14.11 → cloudsnorkel_cdk_github_runners-0.14.13}/setup.cfg +0 -0
  15. {cloudsnorkel_cdk_github_runners-0.14.11 → cloudsnorkel_cdk_github_runners-0.14.13}/src/cloudsnorkel/cdk_github_runners/py.typed +0 -0
  16. {cloudsnorkel_cdk_github_runners-0.14.11 → cloudsnorkel_cdk_github_runners-0.14.13}/src/cloudsnorkel.cdk_github_runners.egg-info/dependency_links.txt +0 -0
  17. {cloudsnorkel_cdk_github_runners-0.14.11 → cloudsnorkel_cdk_github_runners-0.14.13}/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.11
3
+ Version: 0.14.13
4
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>
@@ -21,7 +21,7 @@ Description-Content-Type: text/markdown
21
21
  License-File: LICENSE
22
22
  Requires-Dist: aws-cdk-lib<3.0.0,>=2.155.0
23
23
  Requires-Dist: constructs<11.0.0,>=10.0.5
24
- Requires-Dist: jsii<2.0.0,>=1.112.0
24
+ Requires-Dist: jsii<2.0.0,>=1.115.0
25
25
  Requires-Dist: publication>=0.0.3
26
26
  Requires-Dist: typeguard<4.3.0,>=2.13.3
27
27
 
@@ -1,5 +1,5 @@
1
1
  [build-system]
2
- requires = ["setuptools~=75.3.2", "wheel~=0.42"]
2
+ requires = ["setuptools~=75.3.2", "build~=1.3.0"]
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.11",
8
+ "version": "0.14.13",
9
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",
@@ -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.11.jsii.tgz"
29
+ "cdk-github-runners@0.14.13.jsii.tgz"
30
30
  ],
31
31
  "cloudsnorkel.cdk_github_runners": [
32
32
  "py.typed"
@@ -36,7 +36,7 @@ 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.112.0, <2.0.0",
39
+ "jsii>=1.115.0, <2.0.0",
40
40
  "publication>=0.0.3",
41
41
  "typeguard>=2.13.3,<4.3.0"
42
42
  ],
@@ -5044,6 +5044,15 @@ class RunnerImageComponent(
5044
5044
  '''
5045
5045
  return typing.cast("RunnerImageComponent", jsii.sinvoke(cls, "awsCli", []))
5046
5046
 
5047
+ @jsii.member(jsii_name="cloudWatchAgent")
5048
+ @builtins.classmethod
5049
+ def cloud_watch_agent(cls) -> "RunnerImageComponent":
5050
+ '''(experimental) A component to install CloudWatch Agent for the runner so we can send logs.
5051
+
5052
+ :stability: experimental
5053
+ '''
5054
+ return typing.cast("RunnerImageComponent", jsii.sinvoke(cls, "cloudWatchAgent", []))
5055
+
5047
5056
  @jsii.member(jsii_name="custom")
5048
5057
  @builtins.classmethod
5049
5058
  def custom(
@@ -7715,6 +7724,7 @@ class Ec2RunnerProvider(
7715
7724
  Included components:
7716
7725
 
7717
7726
  - ``RunnerImageComponent.requiredPackages()``
7727
+ - ``RunnerImageComponent.cloudWatchAgent()``
7718
7728
  - ``RunnerImageComponent.runnerUser()``
7719
7729
  - ``RunnerImageComponent.git()``
7720
7730
  - ``RunnerImageComponent.githubCli()``
@@ -8287,6 +8297,8 @@ class EcsRunnerProvider(
8287
8297
  memory_limit_mib: typing.Optional[jsii.Number] = None,
8288
8298
  memory_reservation_mib: typing.Optional[jsii.Number] = None,
8289
8299
  min_instances: typing.Optional[jsii.Number] = None,
8300
+ placement_constraints: typing.Optional[typing.Sequence[_aws_cdk_aws_ecs_ceddda9d.PlacementConstraint]] = None,
8301
+ placement_strategies: typing.Optional[typing.Sequence[_aws_cdk_aws_ecs_ceddda9d.PlacementStrategy]] = None,
8290
8302
  security_groups: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup]] = None,
8291
8303
  spot: typing.Optional[builtins.bool] = None,
8292
8304
  spot_max_price: typing.Optional[builtins.str] = None,
@@ -8313,6 +8325,8 @@ class EcsRunnerProvider(
8313
8325
  :param memory_limit_mib: (experimental) The amount (in MiB) of memory used by the task. Default: 3500, unless ``memoryReservationMiB`` is used and then it's undefined
8314
8326
  :param memory_reservation_mib: (experimental) The soft limit (in MiB) of memory to reserve for the container. Default: undefined
8315
8327
  :param min_instances: (experimental) The minimum number of instances to run in the cluster. Only used when creating a new cluster. Default: 0
8328
+ :param placement_constraints: (experimental) ECS placement constraints to influence task placement. Example: [ecs.PlacementConstraint.memberOf('ecs-placement')] Default: undefined (no placement constraints)
8329
+ :param placement_strategies: (experimental) ECS placement strategies to influence task placement. Example: [ecs.PlacementStrategy.packedByCpu()] Default: undefined (no placement strategies)
8316
8330
  :param security_groups: (experimental) Security groups to assign to the task. Default: a new security group
8317
8331
  :param spot: (experimental) Use spot capacity. Default: false (true if spotMaxPrice is specified)
8318
8332
  :param spot_max_price: (experimental) Maximum price for spot instances.
@@ -8343,6 +8357,8 @@ class EcsRunnerProvider(
8343
8357
  memory_limit_mib=memory_limit_mib,
8344
8358
  memory_reservation_mib=memory_reservation_mib,
8345
8359
  min_instances=min_instances,
8360
+ placement_constraints=placement_constraints,
8361
+ placement_strategies=placement_strategies,
8346
8362
  security_groups=security_groups,
8347
8363
  spot=spot,
8348
8364
  spot_max_price=spot_max_price,
@@ -8604,6 +8620,8 @@ class EcsRunnerProvider(
8604
8620
  "memory_limit_mib": "memoryLimitMiB",
8605
8621
  "memory_reservation_mib": "memoryReservationMiB",
8606
8622
  "min_instances": "minInstances",
8623
+ "placement_constraints": "placementConstraints",
8624
+ "placement_strategies": "placementStrategies",
8607
8625
  "security_groups": "securityGroups",
8608
8626
  "spot": "spot",
8609
8627
  "spot_max_price": "spotMaxPrice",
@@ -8632,6 +8650,8 @@ class EcsRunnerProviderProps(RunnerProviderProps):
8632
8650
  memory_limit_mib: typing.Optional[jsii.Number] = None,
8633
8651
  memory_reservation_mib: typing.Optional[jsii.Number] = None,
8634
8652
  min_instances: typing.Optional[jsii.Number] = None,
8653
+ placement_constraints: typing.Optional[typing.Sequence[_aws_cdk_aws_ecs_ceddda9d.PlacementConstraint]] = None,
8654
+ placement_strategies: typing.Optional[typing.Sequence[_aws_cdk_aws_ecs_ceddda9d.PlacementStrategy]] = None,
8635
8655
  security_groups: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup]] = None,
8636
8656
  spot: typing.Optional[builtins.bool] = None,
8637
8657
  spot_max_price: typing.Optional[builtins.str] = None,
@@ -8657,6 +8677,8 @@ class EcsRunnerProviderProps(RunnerProviderProps):
8657
8677
  :param memory_limit_mib: (experimental) The amount (in MiB) of memory used by the task. Default: 3500, unless ``memoryReservationMiB`` is used and then it's undefined
8658
8678
  :param memory_reservation_mib: (experimental) The soft limit (in MiB) of memory to reserve for the container. Default: undefined
8659
8679
  :param min_instances: (experimental) The minimum number of instances to run in the cluster. Only used when creating a new cluster. Default: 0
8680
+ :param placement_constraints: (experimental) ECS placement constraints to influence task placement. Example: [ecs.PlacementConstraint.memberOf('ecs-placement')] Default: undefined (no placement constraints)
8681
+ :param placement_strategies: (experimental) ECS placement strategies to influence task placement. Example: [ecs.PlacementStrategy.packedByCpu()] Default: undefined (no placement strategies)
8660
8682
  :param security_groups: (experimental) Security groups to assign to the task. Default: a new security group
8661
8683
  :param spot: (experimental) Use spot capacity. Default: false (true if spotMaxPrice is specified)
8662
8684
  :param spot_max_price: (experimental) Maximum price for spot instances.
@@ -8690,6 +8712,8 @@ class EcsRunnerProviderProps(RunnerProviderProps):
8690
8712
  check_type(argname="argument memory_limit_mib", value=memory_limit_mib, expected_type=type_hints["memory_limit_mib"])
8691
8713
  check_type(argname="argument memory_reservation_mib", value=memory_reservation_mib, expected_type=type_hints["memory_reservation_mib"])
8692
8714
  check_type(argname="argument min_instances", value=min_instances, expected_type=type_hints["min_instances"])
8715
+ check_type(argname="argument placement_constraints", value=placement_constraints, expected_type=type_hints["placement_constraints"])
8716
+ check_type(argname="argument placement_strategies", value=placement_strategies, expected_type=type_hints["placement_strategies"])
8693
8717
  check_type(argname="argument security_groups", value=security_groups, expected_type=type_hints["security_groups"])
8694
8718
  check_type(argname="argument spot", value=spot, expected_type=type_hints["spot"])
8695
8719
  check_type(argname="argument spot_max_price", value=spot_max_price, expected_type=type_hints["spot_max_price"])
@@ -8728,6 +8752,10 @@ class EcsRunnerProviderProps(RunnerProviderProps):
8728
8752
  self._values["memory_reservation_mib"] = memory_reservation_mib
8729
8753
  if min_instances is not None:
8730
8754
  self._values["min_instances"] = min_instances
8755
+ if placement_constraints is not None:
8756
+ self._values["placement_constraints"] = placement_constraints
8757
+ if placement_strategies is not None:
8758
+ self._values["placement_strategies"] = placement_strategies
8731
8759
  if security_groups is not None:
8732
8760
  self._values["security_groups"] = security_groups
8733
8761
  if spot is not None:
@@ -8943,6 +8971,36 @@ class EcsRunnerProviderProps(RunnerProviderProps):
8943
8971
  result = self._values.get("min_instances")
8944
8972
  return typing.cast(typing.Optional[jsii.Number], result)
8945
8973
 
8974
+ @builtins.property
8975
+ def placement_constraints(
8976
+ self,
8977
+ ) -> typing.Optional[typing.List[_aws_cdk_aws_ecs_ceddda9d.PlacementConstraint]]:
8978
+ '''(experimental) ECS placement constraints to influence task placement.
8979
+
8980
+ Example: [ecs.PlacementConstraint.memberOf('ecs-placement')]
8981
+
8982
+ :default: undefined (no placement constraints)
8983
+
8984
+ :stability: experimental
8985
+ '''
8986
+ result = self._values.get("placement_constraints")
8987
+ return typing.cast(typing.Optional[typing.List[_aws_cdk_aws_ecs_ceddda9d.PlacementConstraint]], result)
8988
+
8989
+ @builtins.property
8990
+ def placement_strategies(
8991
+ self,
8992
+ ) -> typing.Optional[typing.List[_aws_cdk_aws_ecs_ceddda9d.PlacementStrategy]]:
8993
+ '''(experimental) ECS placement strategies to influence task placement.
8994
+
8995
+ Example: [ecs.PlacementStrategy.packedByCpu()]
8996
+
8997
+ :default: undefined (no placement strategies)
8998
+
8999
+ :stability: experimental
9000
+ '''
9001
+ result = self._values.get("placement_strategies")
9002
+ return typing.cast(typing.Optional[typing.List[_aws_cdk_aws_ecs_ceddda9d.PlacementStrategy]], result)
9003
+
8946
9004
  @builtins.property
8947
9005
  def security_groups(
8948
9006
  self,
@@ -11921,6 +11979,8 @@ def _typecheckingstub__c520325dd0289bf8c6670ecdce77df4b229a0a2681957e61665818d2f
11921
11979
  memory_limit_mib: typing.Optional[jsii.Number] = None,
11922
11980
  memory_reservation_mib: typing.Optional[jsii.Number] = None,
11923
11981
  min_instances: typing.Optional[jsii.Number] = None,
11982
+ placement_constraints: typing.Optional[typing.Sequence[_aws_cdk_aws_ecs_ceddda9d.PlacementConstraint]] = None,
11983
+ placement_strategies: typing.Optional[typing.Sequence[_aws_cdk_aws_ecs_ceddda9d.PlacementStrategy]] = None,
11924
11984
  security_groups: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup]] = None,
11925
11985
  spot: typing.Optional[builtins.bool] = None,
11926
11986
  spot_max_price: typing.Optional[builtins.str] = None,
@@ -11996,6 +12056,8 @@ def _typecheckingstub__73c1978e12dcea1bd69ce0927a80bd887d7f7d1b6573831942495e9d5
11996
12056
  memory_limit_mib: typing.Optional[jsii.Number] = None,
11997
12057
  memory_reservation_mib: typing.Optional[jsii.Number] = None,
11998
12058
  min_instances: typing.Optional[jsii.Number] = None,
12059
+ placement_constraints: typing.Optional[typing.Sequence[_aws_cdk_aws_ecs_ceddda9d.PlacementConstraint]] = None,
12060
+ placement_strategies: typing.Optional[typing.Sequence[_aws_cdk_aws_ecs_ceddda9d.PlacementStrategy]] = None,
11999
12061
  security_groups: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup]] = None,
12000
12062
  spot: typing.Optional[builtins.bool] = None,
12001
12063
  spot_max_price: typing.Optional[builtins.str] = None,
@@ -12286,3 +12348,6 @@ def _typecheckingstub__e507aa08f983fcd409ec9cf4ba5e0e6312ce72778cbbb2f9b5b016fde
12286
12348
  ) -> None:
12287
12349
  """Type checking stubs"""
12288
12350
  pass
12351
+
12352
+ for cls in [IConfigurableRunnerImageBuilder, IRunnerAmiStatus, IRunnerImageBuilder, IRunnerImageStatus, IRunnerProvider, IRunnerProviderStatus]:
12353
+ typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
@@ -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.11",
36
+ "0.14.13",
37
37
  __name__[0:-6],
38
- "cdk-github-runners@0.14.11.jsii.tgz",
38
+ "cdk-github-runners@0.14.13.jsii.tgz",
39
39
  )
40
40
 
41
41
  __all__ = [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cloudsnorkel.cdk-github-runners
3
- Version: 0.14.11
3
+ Version: 0.14.13
4
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>
@@ -21,7 +21,7 @@ Description-Content-Type: text/markdown
21
21
  License-File: LICENSE
22
22
  Requires-Dist: aws-cdk-lib<3.0.0,>=2.155.0
23
23
  Requires-Dist: constructs<11.0.0,>=10.0.5
24
- Requires-Dist: jsii<2.0.0,>=1.112.0
24
+ Requires-Dist: jsii<2.0.0,>=1.115.0
25
25
  Requires-Dist: publication>=0.0.3
26
26
  Requires-Dist: typeguard<4.3.0,>=2.13.3
27
27
 
@@ -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.11.jsii.tgz
14
+ src/cloudsnorkel/cdk_github_runners/_jsii/cdk-github-runners@0.14.13.jsii.tgz
@@ -1,5 +1,5 @@
1
1
  aws-cdk-lib<3.0.0,>=2.155.0
2
2
  constructs<11.0.0,>=10.0.5
3
- jsii<2.0.0,>=1.112.0
3
+ jsii<2.0.0,>=1.115.0
4
4
  publication>=0.0.3
5
5
  typeguard<4.3.0,>=2.13.3