cloudsnorkel.cdk-github-runners 0.11.6__py3-none-any.whl → 0.12.0__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.
- cloudsnorkel/cdk_github_runners/__init__.py +776 -650
- cloudsnorkel/cdk_github_runners/_jsii/__init__.py +2 -2
- cloudsnorkel/cdk_github_runners/_jsii/cdk-github-runners@0.12.0.jsii.tgz +0 -0
- {cloudsnorkel.cdk_github_runners-0.11.6.dist-info → cloudsnorkel.cdk_github_runners-0.12.0.dist-info}/METADATA +14 -25
- cloudsnorkel.cdk_github_runners-0.12.0.dist-info/RECORD +9 -0
- {cloudsnorkel.cdk_github_runners-0.11.6.dist-info → cloudsnorkel.cdk_github_runners-0.12.0.dist-info}/WHEEL +1 -1
- cloudsnorkel/cdk_github_runners/_jsii/cdk-github-runners@0.11.6.jsii.tgz +0 -0
- cloudsnorkel.cdk_github_runners-0.11.6.dist-info/RECORD +0 -9
- {cloudsnorkel.cdk_github_runners-0.11.6.dist-info → cloudsnorkel.cdk_github_runners-0.12.0.dist-info}/LICENSE +0 -0
- {cloudsnorkel.cdk_github_runners-0.11.6.dist-info → cloudsnorkel.cdk_github_runners-0.12.0.dist-info}/top_level.txt +0 -0
|
@@ -15,9 +15,9 @@ import constructs._jsii
|
|
|
15
15
|
|
|
16
16
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
17
17
|
"@cloudsnorkel/cdk-github-runners",
|
|
18
|
-
"0.
|
|
18
|
+
"0.12.0",
|
|
19
19
|
__name__[0:-6],
|
|
20
|
-
"cdk-github-runners@0.
|
|
20
|
+
"cdk-github-runners@0.12.0.jsii.tgz",
|
|
21
21
|
)
|
|
22
22
|
|
|
23
23
|
__all__ = [
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: cloudsnorkel.cdk-github-runners
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.12.0
|
|
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>
|
|
@@ -10,7 +10,6 @@ Classifier: Intended Audience :: Developers
|
|
|
10
10
|
Classifier: Operating System :: OS Independent
|
|
11
11
|
Classifier: Programming Language :: JavaScript
|
|
12
12
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
14
13
|
Classifier: Programming Language :: Python :: 3.8
|
|
15
14
|
Classifier: Programming Language :: Python :: 3.9
|
|
16
15
|
Classifier: Programming Language :: Python :: 3.10
|
|
@@ -18,12 +17,12 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
18
17
|
Classifier: Typing :: Typed
|
|
19
18
|
Classifier: Development Status :: 4 - Beta
|
|
20
19
|
Classifier: License :: OSI Approved
|
|
21
|
-
Requires-Python: ~=3.
|
|
20
|
+
Requires-Python: ~=3.8
|
|
22
21
|
Description-Content-Type: text/markdown
|
|
23
22
|
License-File: LICENSE
|
|
24
|
-
Requires-Dist: aws-cdk-lib <3.0.0,>=2.
|
|
23
|
+
Requires-Dist: aws-cdk-lib <3.0.0,>=2.110.0
|
|
25
24
|
Requires-Dist: constructs <11.0.0,>=10.0.5
|
|
26
|
-
Requires-Dist: jsii <2.0.0,>=1.
|
|
25
|
+
Requires-Dist: jsii <2.0.0,>=1.92.0
|
|
27
26
|
Requires-Dist: publication >=0.0.3
|
|
28
27
|
Requires-Dist: typeguard ~=2.13.3
|
|
29
28
|
|
|
@@ -235,19 +234,13 @@ new GitHubRunners(this, 'runners', {
|
|
|
235
234
|
Another way to customize runners is by modifying the image used to spin them up. The image contains the [runner](https://github.com/actions/runner), any required dependencies, and integration code with the provider. You may choose to customize this image by adding more packages, for example.
|
|
236
235
|
|
|
237
236
|
```python
|
|
238
|
-
const myBuilder =
|
|
239
|
-
dockerfilePath: FargateRunner.LINUX_X64_DOCKERFILE_PATH,
|
|
240
|
-
runnerVersion: RunnerVersion.specific('2.291.0'),
|
|
241
|
-
rebuildInterval: Duration.days(14),
|
|
242
|
-
});
|
|
237
|
+
const myBuilder = FargateRunnerProvider.imageBuilder(this, 'image builder');
|
|
243
238
|
myBuilder.addComponent(
|
|
244
|
-
RunnerImageComponent.custom({ commands: ['apt install -y nginx xz-utils'] })
|
|
239
|
+
RunnerImageComponent.custom({ commands: ['apt install -y nginx xz-utils'] }),
|
|
245
240
|
);
|
|
246
241
|
|
|
247
242
|
const myProvider = new FargateRunnerProvider(this, 'fargate runner', {
|
|
248
243
|
labels: ['customized-fargate'],
|
|
249
|
-
vpc: vpc,
|
|
250
|
-
securityGroups: [runnerSg],
|
|
251
244
|
imageBuilder: myBuilder,
|
|
252
245
|
});
|
|
253
246
|
|
|
@@ -275,24 +268,20 @@ Windows images can also be customized the same way.
|
|
|
275
268
|
const myWindowsBuilder = FargateRunnerProvider.imageBuilder(this, 'Windows image builder', {
|
|
276
269
|
architecture: Architecture.X86_64,
|
|
277
270
|
os: Os.WINDOWS,
|
|
278
|
-
runnerVersion: RunnerVersion.specific('2.291.0'),
|
|
279
|
-
rebuildInterval: Duration.days(14),
|
|
280
271
|
});
|
|
281
272
|
myWindowsBuilder.addComponent(
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
273
|
+
RunnerImageComponent.custom({
|
|
274
|
+
name: 'Ninja',
|
|
275
|
+
commands: [
|
|
276
|
+
'Invoke-WebRequest -UseBasicParsing -Uri "https://github.com/ninja-build/ninja/releases/download/v1.11.1/ninja-win.zip" -OutFile ninja.zip',
|
|
277
|
+
'Expand-Archive ninja.zip -DestinationPath C:\\actions',
|
|
278
|
+
'del ninja.zip',
|
|
279
|
+
],
|
|
280
|
+
}),
|
|
290
281
|
);
|
|
291
282
|
|
|
292
283
|
const myProvider = new FargateRunnerProvider(this, 'fargate runner', {
|
|
293
284
|
labels: ['customized-windows-fargate'],
|
|
294
|
-
vpc: vpc,
|
|
295
|
-
securityGroups: [runnerSg],
|
|
296
285
|
imageBuilder: myWindowsBuilder,
|
|
297
286
|
});
|
|
298
287
|
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
cloudsnorkel/cdk_github_runners/__init__.py,sha256=1cIedVXfLavGevSxYZ3QOb8rCS3KXKLbczFiSYYU1MQ,581341
|
|
2
|
+
cloudsnorkel/cdk_github_runners/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
3
|
+
cloudsnorkel/cdk_github_runners/_jsii/__init__.py,sha256=Xy6i03ARs6_o21Jqwln9JLxYlTOd8V0OFoQlsXmenuQ,432
|
|
4
|
+
cloudsnorkel/cdk_github_runners/_jsii/cdk-github-runners@0.12.0.jsii.tgz,sha256=qyYtjdMOem29TWVnWO_D77k9Zq0HOeifI9l1mdIZ3Rw,1430544
|
|
5
|
+
cloudsnorkel.cdk_github_runners-0.12.0.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
|
6
|
+
cloudsnorkel.cdk_github_runners-0.12.0.dist-info/METADATA,sha256=rKBF_WqOrS7i2Q7oYKq3D57tsyOrsWjbUjZVuNgDEQw,15681
|
|
7
|
+
cloudsnorkel.cdk_github_runners-0.12.0.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
8
|
+
cloudsnorkel.cdk_github_runners-0.12.0.dist-info/top_level.txt,sha256=6vUrT-dcGOiRMT4Q6gEQPznoyS7nHOJ269MHpo4DEd8,13
|
|
9
|
+
cloudsnorkel.cdk_github_runners-0.12.0.dist-info/RECORD,,
|
|
Binary file
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
cloudsnorkel/cdk_github_runners/__init__.py,sha256=CyVD0QQwUx0uMapaT04rS4BnRAN026Vax4PiHlFhLcU,576210
|
|
2
|
-
cloudsnorkel/cdk_github_runners/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
3
|
-
cloudsnorkel/cdk_github_runners/_jsii/__init__.py,sha256=LaJhGA8UpTIbURi4eU4gJ8VGp9keLX17eQnH_QVthSA,432
|
|
4
|
-
cloudsnorkel/cdk_github_runners/_jsii/cdk-github-runners@0.11.6.jsii.tgz,sha256=bfSpRSPenSYamPgwTkecM74vkMd77B4EkWCFqKo2eUg,2617664
|
|
5
|
-
cloudsnorkel.cdk_github_runners-0.11.6.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
|
6
|
-
cloudsnorkel.cdk_github_runners-0.11.6.dist-info/METADATA,sha256=B8THSZi3Bd1VEX-97NY-5o0X5Rt2gUEJUAUeNWSexu4,16116
|
|
7
|
-
cloudsnorkel.cdk_github_runners-0.11.6.dist-info/WHEEL,sha256=Xo9-1PvkuimrydujYJAjF7pCkriuXBpUPEjma1nZyJ0,92
|
|
8
|
-
cloudsnorkel.cdk_github_runners-0.11.6.dist-info/top_level.txt,sha256=6vUrT-dcGOiRMT4Q6gEQPznoyS7nHOJ269MHpo4DEd8,13
|
|
9
|
-
cloudsnorkel.cdk_github_runners-0.11.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|