cdk-github-microvm-runners 0.1.5__tar.gz → 0.1.7__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.
Files changed (18) hide show
  1. {cdk_github_microvm_runners-0.1.5/src/cdk_github_microvm_runners.egg-info → cdk_github_microvm_runners-0.1.7}/PKG-INFO +1 -1
  2. {cdk_github_microvm_runners-0.1.5 → cdk_github_microvm_runners-0.1.7}/setup.py +2 -2
  3. {cdk_github_microvm_runners-0.1.5 → cdk_github_microvm_runners-0.1.7}/src/cdk_github_microvm_runners/__init__.py +18 -11
  4. {cdk_github_microvm_runners-0.1.5 → cdk_github_microvm_runners-0.1.7}/src/cdk_github_microvm_runners/_jsii/__init__.py +2 -2
  5. {cdk_github_microvm_runners-0.1.5 → cdk_github_microvm_runners-0.1.7}/src/cdk_github_microvm_runners/_jsii/bin/cdk-github-microvm-runners +2 -2
  6. cdk_github_microvm_runners-0.1.7/src/cdk_github_microvm_runners/_jsii/cdk-github-microvm-runners@0.1.7.jsii.tgz +0 -0
  7. {cdk_github_microvm_runners-0.1.5 → cdk_github_microvm_runners-0.1.7/src/cdk_github_microvm_runners.egg-info}/PKG-INFO +1 -1
  8. {cdk_github_microvm_runners-0.1.5 → cdk_github_microvm_runners-0.1.7}/src/cdk_github_microvm_runners.egg-info/SOURCES.txt +1 -1
  9. cdk_github_microvm_runners-0.1.5/src/cdk_github_microvm_runners/_jsii/cdk-github-microvm-runners@0.1.5.jsii.tgz +0 -0
  10. {cdk_github_microvm_runners-0.1.5 → cdk_github_microvm_runners-0.1.7}/LICENSE +0 -0
  11. {cdk_github_microvm_runners-0.1.5 → cdk_github_microvm_runners-0.1.7}/MANIFEST.in +0 -0
  12. {cdk_github_microvm_runners-0.1.5 → cdk_github_microvm_runners-0.1.7}/README.md +0 -0
  13. {cdk_github_microvm_runners-0.1.5 → cdk_github_microvm_runners-0.1.7}/pyproject.toml +0 -0
  14. {cdk_github_microvm_runners-0.1.5 → cdk_github_microvm_runners-0.1.7}/setup.cfg +0 -0
  15. {cdk_github_microvm_runners-0.1.5 → cdk_github_microvm_runners-0.1.7}/src/cdk_github_microvm_runners/py.typed +0 -0
  16. {cdk_github_microvm_runners-0.1.5 → cdk_github_microvm_runners-0.1.7}/src/cdk_github_microvm_runners.egg-info/dependency_links.txt +0 -0
  17. {cdk_github_microvm_runners-0.1.5 → cdk_github_microvm_runners-0.1.7}/src/cdk_github_microvm_runners.egg-info/requires.txt +0 -0
  18. {cdk_github_microvm_runners-0.1.5 → cdk_github_microvm_runners-0.1.7}/src/cdk_github_microvm_runners.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cdk-github-microvm-runners
3
- Version: 0.1.5
3
+ Version: 0.1.7
4
4
  Summary: CDK construct for running GitHub Actions jobs on AWS Lambda MicroVMs, with one ephemeral runner per job.
5
5
  Home-page: https://runnerset.dev
6
6
  Author: Court Schuett
@@ -5,7 +5,7 @@ kwargs = json.loads(
5
5
  """
6
6
  {
7
7
  "name": "cdk-github-microvm-runners",
8
- "version": "0.1.5",
8
+ "version": "0.1.7",
9
9
  "description": "CDK construct for running GitHub Actions jobs on AWS Lambda MicroVMs, with one ephemeral runner per job.",
10
10
  "license": "Apache-2.0",
11
11
  "url": "https://runnerset.dev",
@@ -26,7 +26,7 @@ kwargs = json.loads(
26
26
  ],
27
27
  "package_data": {
28
28
  "cdk_github_microvm_runners._jsii": [
29
- "cdk-github-microvm-runners@0.1.5.jsii.tgz"
29
+ "cdk-github-microvm-runners@0.1.7.jsii.tgz"
30
30
  ],
31
31
  "cdk_github_microvm_runners": [
32
32
  "py.typed"
@@ -2207,7 +2207,7 @@ class ImagePipeline(
2207
2207
  :param id: -
2208
2208
  :param image: The runner image to build: ``RunnerImage.fromOptions()`` for a synthesized Dockerfile, ``RunnerImage.fromInline(text)`` for Dockerfile text, or ``RunnerImage.fromDockerfile(dir)`` for a Dockerfile and build context on disk.
2209
2209
  :param network: How the build and the VMs reach the network.
2210
- :param runner_set_id: Identifier for the runner set this image belongs to. It is combined with the first 8 hex characters of the image's ``contentHash`` to form the image's name, so a content change publishes a new image and an unchanged one is a no-op. Must match ``^[a-zA-Z0-9-_]+$``, and must be 55 characters or fewer so that ``<runnerSetId>-<8-hex-chars>`` stays within the service's 64-character name limit.
2210
+ :param runner_set_id: Identifier for the runner set this image belongs to, used verbatim as the image's name. It is deliberately stable: the name is the only property whose change forces CloudFormation to replace the image, so holding it still keeps every content change an in-place update that adds a version. A content change is still picked up — the build context is a content-hashed CDK asset, so it moves ``codeArtifact`` — and an unchanged one is still a no-op. Must match ``^[a-zA-Z0-9-_]+$`` and be 64 characters or fewer, the service's name limit.
2211
2211
  :param size: The size the built image runs at, which becomes its memory floor.
2212
2212
  :param base_image_version: Version of the managed ``al2023-1`` base image to build from. Default: '0'
2213
2213
  :param image_logs: Where the build's logs go. Left unset, the build emits no logs; ``ImageLogs.enabled()`` sends them to the platform's group, and ``ImageLogs.enabled(logGroup)`` to a group you supply.
@@ -2246,7 +2246,7 @@ class ImagePipeline(
2246
2246
  @builtins.property
2247
2247
  @jsii.member(jsii_name="imageName")
2248
2248
  def image_name(self) -> builtins.str:
2249
- '''Name of the built MicroVM image, ``<runnerSetId>-<8 hex characters of the content hash>``.'''
2249
+ '''Name of the built MicroVM image — the per-class ``runnerSetId``, stable for the life of the runner class.'''
2250
2250
  return typing.cast(builtins.str, jsii.get(self, "imageName"))
2251
2251
 
2252
2252
  @builtins.property
@@ -2255,6 +2255,12 @@ class ImagePipeline(
2255
2255
  '''The underlying ``AWS::Lambda::MicrovmImage`` resource.'''
2256
2256
  return typing.cast("_aws_cdk_aws_lambda_ceddda9d.CfnMicrovmImage", jsii.get(self, "imageResource"))
2257
2257
 
2258
+ @builtins.property
2259
+ @jsii.member(jsii_name="imageVersion")
2260
+ def image_version(self) -> builtins.str:
2261
+ '''The image's latest active version, which advances every time the image is rebuilt in place.'''
2262
+ return typing.cast(builtins.str, jsii.get(self, "imageVersion"))
2263
+
2258
2264
 
2259
2265
  @jsii.data_type(
2260
2266
  jsii_type="cdk-github-microvm-runners.ImagePipelineProps",
@@ -2287,7 +2293,7 @@ class ImagePipelineProps:
2287
2293
 
2288
2294
  :param image: The runner image to build: ``RunnerImage.fromOptions()`` for a synthesized Dockerfile, ``RunnerImage.fromInline(text)`` for Dockerfile text, or ``RunnerImage.fromDockerfile(dir)`` for a Dockerfile and build context on disk.
2289
2295
  :param network: How the build and the VMs reach the network.
2290
- :param runner_set_id: Identifier for the runner set this image belongs to. It is combined with the first 8 hex characters of the image's ``contentHash`` to form the image's name, so a content change publishes a new image and an unchanged one is a no-op. Must match ``^[a-zA-Z0-9-_]+$``, and must be 55 characters or fewer so that ``<runnerSetId>-<8-hex-chars>`` stays within the service's 64-character name limit.
2296
+ :param runner_set_id: Identifier for the runner set this image belongs to, used verbatim as the image's name. It is deliberately stable: the name is the only property whose change forces CloudFormation to replace the image, so holding it still keeps every content change an in-place update that adds a version. A content change is still picked up — the build context is a content-hashed CDK asset, so it moves ``codeArtifact`` — and an unchanged one is still a no-op. Must match ``^[a-zA-Z0-9-_]+$`` and be 64 characters or fewer, the service's name limit.
2291
2297
  :param size: The size the built image runs at, which becomes its memory floor.
2292
2298
  :param base_image_version: Version of the managed ``al2023-1`` base image to build from. Default: '0'
2293
2299
  :param image_logs: Where the build's logs go. Left unset, the build emits no logs; ``ImageLogs.enabled()`` sends them to the platform's group, and ``ImageLogs.enabled(logGroup)`` to a group you supply.
@@ -2335,14 +2341,15 @@ class ImagePipelineProps:
2335
2341
 
2336
2342
  @builtins.property
2337
2343
  def runner_set_id(self) -> builtins.str:
2338
- '''Identifier for the runner set this image belongs to.
2339
-
2340
- It is combined with
2341
- the first 8 hex characters of the image's ``contentHash`` to form the
2342
- image's name, so a content change publishes a new image and an unchanged
2343
- one is a no-op. Must match ``^[a-zA-Z0-9-_]+$``, and must be 55 characters
2344
- or fewer so that ``<runnerSetId>-<8-hex-chars>`` stays within the service's
2345
- 64-character name limit.
2344
+ '''Identifier for the runner set this image belongs to, used verbatim as the image's name.
2345
+
2346
+ It is deliberately stable: the name is the only property
2347
+ whose change forces CloudFormation to replace the image, so holding it
2348
+ still keeps every content change an in-place update that adds a version.
2349
+ A content change is still picked up — the build context is a
2350
+ content-hashed CDK asset, so it moves ``codeArtifact`` — and an unchanged
2351
+ one is still a no-op. Must match ``^[a-zA-Z0-9-_]+$`` and be 64 characters
2352
+ or fewer, the service's name limit.
2346
2353
  '''
2347
2354
  result = self._values.get("runner_set_id")
2348
2355
  assert result is not None, "Required property 'runner_set_id' is missing"
@@ -19,9 +19,9 @@ import constructs._jsii
19
19
 
20
20
  __jsii_assembly__ = jsii.JSIIAssembly.load(
21
21
  "cdk-github-microvm-runners",
22
- "0.1.5",
22
+ "0.1.7",
23
23
  __name__[0:-6],
24
- "cdk-github-microvm-runners@0.1.5.jsii.tgz",
24
+ "cdk-github-microvm-runners@0.1.7.jsii.tgz",
25
25
  )
26
26
 
27
27
  __all__ = [
@@ -9,9 +9,9 @@ if "JSII_RUNTIME_PACKAGE_CACHE" not in os.environ:
9
9
 
10
10
  __jsii_assembly__ = jsii.JSIIAssembly.load(
11
11
  "cdk-github-microvm-runners",
12
- "0.1.5",
12
+ "0.1.7",
13
13
  "cdk_github_microvm_runners",
14
- "cdk-github-microvm-runners@0.1.5.jsii.tgz",
14
+ "cdk-github-microvm-runners@0.1.7.jsii.tgz",
15
15
  )
16
16
 
17
17
  exit_code = __jsii_assembly__.invokeBinScript(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cdk-github-microvm-runners
3
- Version: 0.1.5
3
+ Version: 0.1.7
4
4
  Summary: CDK construct for running GitHub Actions jobs on AWS Lambda MicroVMs, with one ephemeral runner per job.
5
5
  Home-page: https://runnerset.dev
6
6
  Author: Court Schuett
@@ -11,5 +11,5 @@ src/cdk_github_microvm_runners.egg-info/dependency_links.txt
11
11
  src/cdk_github_microvm_runners.egg-info/requires.txt
12
12
  src/cdk_github_microvm_runners.egg-info/top_level.txt
13
13
  src/cdk_github_microvm_runners/_jsii/__init__.py
14
- src/cdk_github_microvm_runners/_jsii/cdk-github-microvm-runners@0.1.5.jsii.tgz
14
+ src/cdk_github_microvm_runners/_jsii/cdk-github-microvm-runners@0.1.7.jsii.tgz
15
15
  src/cdk_github_microvm_runners/_jsii/bin/cdk-github-microvm-runners