cloudsnorkel.cdk-github-runners 0.11.6__tar.gz → 0.12.0__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.
- {cloudsnorkel.cdk-github-runners-0.11.6/src/cloudsnorkel.cdk_github_runners.egg-info → cloudsnorkel.cdk-github-runners-0.12.0}/PKG-INFO +12 -23
- {cloudsnorkel.cdk-github-runners-0.11.6 → cloudsnorkel.cdk-github-runners-0.12.0}/README.md +10 -20
- {cloudsnorkel.cdk-github-runners-0.11.6 → cloudsnorkel.cdk-github-runners-0.12.0}/pyproject.toml +1 -1
- {cloudsnorkel.cdk-github-runners-0.11.6 → cloudsnorkel.cdk-github-runners-0.12.0}/setup.py +5 -6
- {cloudsnorkel.cdk-github-runners-0.11.6 → cloudsnorkel.cdk-github-runners-0.12.0}/src/cloudsnorkel/cdk_github_runners/__init__.py +776 -650
- {cloudsnorkel.cdk-github-runners-0.11.6 → cloudsnorkel.cdk-github-runners-0.12.0}/src/cloudsnorkel/cdk_github_runners/_jsii/__init__.py +2 -2
- cloudsnorkel.cdk-github-runners-0.12.0/src/cloudsnorkel/cdk_github_runners/_jsii/cdk-github-runners@0.12.0.jsii.tgz +0 -0
- {cloudsnorkel.cdk-github-runners-0.11.6 → cloudsnorkel.cdk-github-runners-0.12.0/src/cloudsnorkel.cdk_github_runners.egg-info}/PKG-INFO +12 -23
- {cloudsnorkel.cdk-github-runners-0.11.6 → cloudsnorkel.cdk-github-runners-0.12.0}/src/cloudsnorkel.cdk_github_runners.egg-info/SOURCES.txt +1 -1
- {cloudsnorkel.cdk-github-runners-0.11.6 → cloudsnorkel.cdk-github-runners-0.12.0}/src/cloudsnorkel.cdk_github_runners.egg-info/requires.txt +2 -2
- cloudsnorkel.cdk-github-runners-0.11.6/src/cloudsnorkel/cdk_github_runners/_jsii/cdk-github-runners@0.11.6.jsii.tgz +0 -0
- {cloudsnorkel.cdk-github-runners-0.11.6 → cloudsnorkel.cdk-github-runners-0.12.0}/LICENSE +0 -0
- {cloudsnorkel.cdk-github-runners-0.11.6 → cloudsnorkel.cdk-github-runners-0.12.0}/MANIFEST.in +0 -0
- {cloudsnorkel.cdk-github-runners-0.11.6 → cloudsnorkel.cdk-github-runners-0.12.0}/setup.cfg +0 -0
- {cloudsnorkel.cdk-github-runners-0.11.6 → cloudsnorkel.cdk-github-runners-0.12.0}/src/cloudsnorkel/cdk_github_runners/py.typed +0 -0
- {cloudsnorkel.cdk-github-runners-0.11.6 → cloudsnorkel.cdk-github-runners-0.12.0}/src/cloudsnorkel.cdk_github_runners.egg-info/dependency_links.txt +0 -0
- {cloudsnorkel.cdk-github-runners-0.11.6 → cloudsnorkel.cdk-github-runners-0.12.0}/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.
|
|
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,7 +17,7 @@ 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
23
|
|
|
@@ -230,19 +229,13 @@ new GitHubRunners(this, 'runners', {
|
|
|
230
229
|
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.
|
|
231
230
|
|
|
232
231
|
```python
|
|
233
|
-
const myBuilder =
|
|
234
|
-
dockerfilePath: FargateRunner.LINUX_X64_DOCKERFILE_PATH,
|
|
235
|
-
runnerVersion: RunnerVersion.specific('2.291.0'),
|
|
236
|
-
rebuildInterval: Duration.days(14),
|
|
237
|
-
});
|
|
232
|
+
const myBuilder = FargateRunnerProvider.imageBuilder(this, 'image builder');
|
|
238
233
|
myBuilder.addComponent(
|
|
239
|
-
RunnerImageComponent.custom({ commands: ['apt install -y nginx xz-utils'] })
|
|
234
|
+
RunnerImageComponent.custom({ commands: ['apt install -y nginx xz-utils'] }),
|
|
240
235
|
);
|
|
241
236
|
|
|
242
237
|
const myProvider = new FargateRunnerProvider(this, 'fargate runner', {
|
|
243
238
|
labels: ['customized-fargate'],
|
|
244
|
-
vpc: vpc,
|
|
245
|
-
securityGroups: [runnerSg],
|
|
246
239
|
imageBuilder: myBuilder,
|
|
247
240
|
});
|
|
248
241
|
|
|
@@ -270,24 +263,20 @@ Windows images can also be customized the same way.
|
|
|
270
263
|
const myWindowsBuilder = FargateRunnerProvider.imageBuilder(this, 'Windows image builder', {
|
|
271
264
|
architecture: Architecture.X86_64,
|
|
272
265
|
os: Os.WINDOWS,
|
|
273
|
-
runnerVersion: RunnerVersion.specific('2.291.0'),
|
|
274
|
-
rebuildInterval: Duration.days(14),
|
|
275
266
|
});
|
|
276
267
|
myWindowsBuilder.addComponent(
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
268
|
+
RunnerImageComponent.custom({
|
|
269
|
+
name: 'Ninja',
|
|
270
|
+
commands: [
|
|
271
|
+
'Invoke-WebRequest -UseBasicParsing -Uri "https://github.com/ninja-build/ninja/releases/download/v1.11.1/ninja-win.zip" -OutFile ninja.zip',
|
|
272
|
+
'Expand-Archive ninja.zip -DestinationPath C:\\actions',
|
|
273
|
+
'del ninja.zip',
|
|
274
|
+
],
|
|
275
|
+
}),
|
|
285
276
|
);
|
|
286
277
|
|
|
287
278
|
const myProvider = new FargateRunnerProvider(this, 'fargate runner', {
|
|
288
279
|
labels: ['customized-windows-fargate'],
|
|
289
|
-
vpc: vpc,
|
|
290
|
-
securityGroups: [runnerSg],
|
|
291
280
|
imageBuilder: myWindowsBuilder,
|
|
292
281
|
});
|
|
293
282
|
|
|
@@ -206,19 +206,13 @@ new GitHubRunners(this, 'runners', {
|
|
|
206
206
|
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.
|
|
207
207
|
|
|
208
208
|
```python
|
|
209
|
-
const myBuilder =
|
|
210
|
-
dockerfilePath: FargateRunner.LINUX_X64_DOCKERFILE_PATH,
|
|
211
|
-
runnerVersion: RunnerVersion.specific('2.291.0'),
|
|
212
|
-
rebuildInterval: Duration.days(14),
|
|
213
|
-
});
|
|
209
|
+
const myBuilder = FargateRunnerProvider.imageBuilder(this, 'image builder');
|
|
214
210
|
myBuilder.addComponent(
|
|
215
|
-
RunnerImageComponent.custom({ commands: ['apt install -y nginx xz-utils'] })
|
|
211
|
+
RunnerImageComponent.custom({ commands: ['apt install -y nginx xz-utils'] }),
|
|
216
212
|
);
|
|
217
213
|
|
|
218
214
|
const myProvider = new FargateRunnerProvider(this, 'fargate runner', {
|
|
219
215
|
labels: ['customized-fargate'],
|
|
220
|
-
vpc: vpc,
|
|
221
|
-
securityGroups: [runnerSg],
|
|
222
216
|
imageBuilder: myBuilder,
|
|
223
217
|
});
|
|
224
218
|
|
|
@@ -246,24 +240,20 @@ Windows images can also be customized the same way.
|
|
|
246
240
|
const myWindowsBuilder = FargateRunnerProvider.imageBuilder(this, 'Windows image builder', {
|
|
247
241
|
architecture: Architecture.X86_64,
|
|
248
242
|
os: Os.WINDOWS,
|
|
249
|
-
runnerVersion: RunnerVersion.specific('2.291.0'),
|
|
250
|
-
rebuildInterval: Duration.days(14),
|
|
251
243
|
});
|
|
252
244
|
myWindowsBuilder.addComponent(
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
245
|
+
RunnerImageComponent.custom({
|
|
246
|
+
name: 'Ninja',
|
|
247
|
+
commands: [
|
|
248
|
+
'Invoke-WebRequest -UseBasicParsing -Uri "https://github.com/ninja-build/ninja/releases/download/v1.11.1/ninja-win.zip" -OutFile ninja.zip',
|
|
249
|
+
'Expand-Archive ninja.zip -DestinationPath C:\\actions',
|
|
250
|
+
'del ninja.zip',
|
|
251
|
+
],
|
|
252
|
+
}),
|
|
261
253
|
);
|
|
262
254
|
|
|
263
255
|
const myProvider = new FargateRunnerProvider(this, 'fargate runner', {
|
|
264
256
|
labels: ['customized-windows-fargate'],
|
|
265
|
-
vpc: vpc,
|
|
266
|
-
securityGroups: [runnerSg],
|
|
267
257
|
imageBuilder: myWindowsBuilder,
|
|
268
258
|
});
|
|
269
259
|
|
|
@@ -5,7 +5,7 @@ kwargs = json.loads(
|
|
|
5
5
|
"""
|
|
6
6
|
{
|
|
7
7
|
"name": "cloudsnorkel.cdk-github-runners",
|
|
8
|
-
"version": "0.
|
|
8
|
+
"version": "0.12.0",
|
|
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,17 +26,17 @@ kwargs = json.loads(
|
|
|
26
26
|
],
|
|
27
27
|
"package_data": {
|
|
28
28
|
"cloudsnorkel.cdk_github_runners._jsii": [
|
|
29
|
-
"cdk-github-runners@0.
|
|
29
|
+
"cdk-github-runners@0.12.0.jsii.tgz"
|
|
30
30
|
],
|
|
31
31
|
"cloudsnorkel.cdk_github_runners": [
|
|
32
32
|
"py.typed"
|
|
33
33
|
]
|
|
34
34
|
},
|
|
35
|
-
"python_requires": "~=3.
|
|
35
|
+
"python_requires": "~=3.8",
|
|
36
36
|
"install_requires": [
|
|
37
|
-
"aws-cdk-lib>=2.
|
|
37
|
+
"aws-cdk-lib>=2.110.0, <3.0.0",
|
|
38
38
|
"constructs>=10.0.5, <11.0.0",
|
|
39
|
-
"jsii>=1.
|
|
39
|
+
"jsii>=1.92.0, <2.0.0",
|
|
40
40
|
"publication>=0.0.3",
|
|
41
41
|
"typeguard~=2.13.3"
|
|
42
42
|
],
|
|
@@ -45,7 +45,6 @@ kwargs = json.loads(
|
|
|
45
45
|
"Operating System :: OS Independent",
|
|
46
46
|
"Programming Language :: JavaScript",
|
|
47
47
|
"Programming Language :: Python :: 3 :: Only",
|
|
48
|
-
"Programming Language :: Python :: 3.7",
|
|
49
48
|
"Programming Language :: Python :: 3.8",
|
|
50
49
|
"Programming Language :: Python :: 3.9",
|
|
51
50
|
"Programming Language :: Python :: 3.10",
|