cloudsnorkel.cdk-github-runners 0.14.0__tar.gz → 0.14.1__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.0/src/cloudsnorkel.cdk_github_runners.egg-info → cloudsnorkel.cdk-github-runners-0.14.1}/PKG-INFO +52 -7
  2. {cloudsnorkel.cdk-github-runners-0.14.0 → cloudsnorkel.cdk-github-runners-0.14.1}/README.md +51 -6
  3. {cloudsnorkel.cdk-github-runners-0.14.0 → cloudsnorkel.cdk-github-runners-0.14.1}/setup.py +3 -3
  4. {cloudsnorkel.cdk-github-runners-0.14.0 → cloudsnorkel.cdk-github-runners-0.14.1}/src/cloudsnorkel/cdk_github_runners/__init__.py +54 -9
  5. {cloudsnorkel.cdk-github-runners-0.14.0 → cloudsnorkel.cdk-github-runners-0.14.1}/src/cloudsnorkel/cdk_github_runners/_jsii/__init__.py +2 -2
  6. cloudsnorkel.cdk-github-runners-0.14.1/src/cloudsnorkel/cdk_github_runners/_jsii/cdk-github-runners@0.14.1.jsii.tgz +0 -0
  7. {cloudsnorkel.cdk-github-runners-0.14.0 → cloudsnorkel.cdk-github-runners-0.14.1/src/cloudsnorkel.cdk_github_runners.egg-info}/PKG-INFO +52 -7
  8. {cloudsnorkel.cdk-github-runners-0.14.0 → cloudsnorkel.cdk-github-runners-0.14.1}/src/cloudsnorkel.cdk_github_runners.egg-info/SOURCES.txt +1 -1
  9. {cloudsnorkel.cdk-github-runners-0.14.0 → cloudsnorkel.cdk-github-runners-0.14.1}/src/cloudsnorkel.cdk_github_runners.egg-info/requires.txt +1 -1
  10. cloudsnorkel.cdk-github-runners-0.14.0/src/cloudsnorkel/cdk_github_runners/_jsii/cdk-github-runners@0.14.0.jsii.tgz +0 -0
  11. {cloudsnorkel.cdk-github-runners-0.14.0 → cloudsnorkel.cdk-github-runners-0.14.1}/LICENSE +0 -0
  12. {cloudsnorkel.cdk-github-runners-0.14.0 → cloudsnorkel.cdk-github-runners-0.14.1}/MANIFEST.in +0 -0
  13. {cloudsnorkel.cdk-github-runners-0.14.0 → cloudsnorkel.cdk-github-runners-0.14.1}/pyproject.toml +0 -0
  14. {cloudsnorkel.cdk-github-runners-0.14.0 → cloudsnorkel.cdk-github-runners-0.14.1}/setup.cfg +0 -0
  15. {cloudsnorkel.cdk-github-runners-0.14.0 → cloudsnorkel.cdk-github-runners-0.14.1}/src/cloudsnorkel/cdk_github_runners/py.typed +0 -0
  16. {cloudsnorkel.cdk-github-runners-0.14.0 → cloudsnorkel.cdk-github-runners-0.14.1}/src/cloudsnorkel.cdk_github_runners.egg-info/dependency_links.txt +0 -0
  17. {cloudsnorkel.cdk-github-runners-0.14.0 → cloudsnorkel.cdk-github-runners-0.14.1}/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.0
3
+ Version: 0.14.1
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>
@@ -93,9 +93,14 @@ You can also create your own provider by implementing `IRunnerProvider`.
93
93
  ### Use
94
94
 
95
95
  ```python
96
+ from aws_cdk import App, Stack
96
97
  from cloudsnorkel.cdk_github_runners import GitHubRunners
97
98
 
98
- GitHubRunners(self, "runners")
99
+ app = App()
100
+ stack = Stack(app, "github-runners")
101
+ GitHubRunners(stack, "runners")
102
+
103
+ app.synth()
99
104
  ```
100
105
 
101
106
  </details>
@@ -112,9 +117,14 @@ You can also create your own provider by implementing `IRunnerProvider`.
112
117
  ### Use
113
118
 
114
119
  ```python
120
+ import { App, Stack } from 'aws-cdk-lib';
115
121
  import { GitHubRunners } from '@cloudsnorkel/cdk-github-runners';
116
122
 
117
- new GitHubRunners(this, "runners");
123
+ const app = new App();
124
+ const stack = new Stack(app, 'github-runners');
125
+ new GitHubRunners(stack, 'runners');
126
+
127
+ app.synth();
118
128
  ```
119
129
 
120
130
  </details>
@@ -134,9 +144,19 @@ You can also create your own provider by implementing `IRunnerProvider`.
134
144
  ### Use
135
145
 
136
146
  ```java
147
+ import software.amazon.awscdk.App;
148
+ import software.amazon.awscdk.Stack;
137
149
  import com.cloudsnorkel.cdk.github.runners.GitHubRunners;
138
150
 
139
- GitHubRunners.Builder.create(this, "runners").build();
151
+ public class Example {
152
+ public static void main(String[] args){
153
+ App app = new App();
154
+ Stack stack = new Stack(app, "github-runners");
155
+ GitHubRunners.Builder.create(stack, "runners").build();
156
+
157
+ app.synth();
158
+ }
159
+ }
140
160
  ```
141
161
 
142
162
  </details>
@@ -153,9 +173,21 @@ You can also create your own provider by implementing `IRunnerProvider`.
153
173
  ### Use
154
174
 
155
175
  ```go
156
- import "github.com/CloudSnorkel/cdk-github-runners-go/cloudsnorkelcdkgithubrunners"
176
+ package main
177
+
178
+ import (
179
+ "github.com/CloudSnorkel/cdk-github-runners-go/cloudsnorkelcdkgithubrunners"
180
+ "github.com/aws/aws-cdk-go/awscdk/v2"
181
+ "github.com/aws/jsii-runtime-go"
182
+ )
183
+
184
+ func main() {
185
+ app := awscdk.NewApp(nil)
186
+ stack := awscdk.NewStack(app, jsii.String("github-runners"), &awscdk.StackProps{})
187
+ cloudsnorkelcdkgithubrunners.NewGitHubRunners(stack, jsii.String("runners"), &cloudsnorkelcdkgithubrunners.GitHubRunnersProps{})
157
188
 
158
- NewGitHubRunners(this, jsii.String("runners"))
189
+ app.Synth(nil)
190
+ }
159
191
  ```
160
192
 
161
193
  </details>
@@ -172,9 +204,22 @@ You can also create your own provider by implementing `IRunnerProvider`.
172
204
  ### Use
173
205
 
174
206
  ```csharp
207
+ using Amazon.CDK;
175
208
  using CloudSnorkel;
176
209
 
177
- new GitHubRunners(this, "runners");
210
+ namespace Example
211
+ {
212
+ sealed class Program
213
+ {
214
+ public static void Main(string[] args)
215
+ {
216
+ var app = new App();
217
+ var stack = new Stack(app, "github-runners");
218
+ new GitHubRunners(stack, "runners");
219
+ app.Synth();
220
+ }
221
+ }
222
+ }
178
223
  ```
179
224
 
180
225
  </details>
@@ -70,9 +70,14 @@ You can also create your own provider by implementing `IRunnerProvider`.
70
70
  ### Use
71
71
 
72
72
  ```python
73
+ from aws_cdk import App, Stack
73
74
  from cloudsnorkel.cdk_github_runners import GitHubRunners
74
75
 
75
- GitHubRunners(self, "runners")
76
+ app = App()
77
+ stack = Stack(app, "github-runners")
78
+ GitHubRunners(stack, "runners")
79
+
80
+ app.synth()
76
81
  ```
77
82
 
78
83
  </details>
@@ -89,9 +94,14 @@ You can also create your own provider by implementing `IRunnerProvider`.
89
94
  ### Use
90
95
 
91
96
  ```python
97
+ import { App, Stack } from 'aws-cdk-lib';
92
98
  import { GitHubRunners } from '@cloudsnorkel/cdk-github-runners';
93
99
 
94
- new GitHubRunners(this, "runners");
100
+ const app = new App();
101
+ const stack = new Stack(app, 'github-runners');
102
+ new GitHubRunners(stack, 'runners');
103
+
104
+ app.synth();
95
105
  ```
96
106
 
97
107
  </details>
@@ -111,9 +121,19 @@ You can also create your own provider by implementing `IRunnerProvider`.
111
121
  ### Use
112
122
 
113
123
  ```java
124
+ import software.amazon.awscdk.App;
125
+ import software.amazon.awscdk.Stack;
114
126
  import com.cloudsnorkel.cdk.github.runners.GitHubRunners;
115
127
 
116
- GitHubRunners.Builder.create(this, "runners").build();
128
+ public class Example {
129
+ public static void main(String[] args){
130
+ App app = new App();
131
+ Stack stack = new Stack(app, "github-runners");
132
+ GitHubRunners.Builder.create(stack, "runners").build();
133
+
134
+ app.synth();
135
+ }
136
+ }
117
137
  ```
118
138
 
119
139
  </details>
@@ -130,9 +150,21 @@ You can also create your own provider by implementing `IRunnerProvider`.
130
150
  ### Use
131
151
 
132
152
  ```go
133
- import "github.com/CloudSnorkel/cdk-github-runners-go/cloudsnorkelcdkgithubrunners"
153
+ package main
154
+
155
+ import (
156
+ "github.com/CloudSnorkel/cdk-github-runners-go/cloudsnorkelcdkgithubrunners"
157
+ "github.com/aws/aws-cdk-go/awscdk/v2"
158
+ "github.com/aws/jsii-runtime-go"
159
+ )
160
+
161
+ func main() {
162
+ app := awscdk.NewApp(nil)
163
+ stack := awscdk.NewStack(app, jsii.String("github-runners"), &awscdk.StackProps{})
164
+ cloudsnorkelcdkgithubrunners.NewGitHubRunners(stack, jsii.String("runners"), &cloudsnorkelcdkgithubrunners.GitHubRunnersProps{})
134
165
 
135
- NewGitHubRunners(this, jsii.String("runners"))
166
+ app.Synth(nil)
167
+ }
136
168
  ```
137
169
 
138
170
  </details>
@@ -149,9 +181,22 @@ You can also create your own provider by implementing `IRunnerProvider`.
149
181
  ### Use
150
182
 
151
183
  ```csharp
184
+ using Amazon.CDK;
152
185
  using CloudSnorkel;
153
186
 
154
- new GitHubRunners(this, "runners");
187
+ namespace Example
188
+ {
189
+ sealed class Program
190
+ {
191
+ public static void Main(string[] args)
192
+ {
193
+ var app = new App();
194
+ var stack = new Stack(app, "github-runners");
195
+ new GitHubRunners(stack, "runners");
196
+ app.Synth();
197
+ }
198
+ }
199
+ }
155
200
  ```
156
201
 
157
202
  </details>
@@ -5,7 +5,7 @@ kwargs = json.loads(
5
5
  """
6
6
  {
7
7
  "name": "cloudsnorkel.cdk-github-runners",
8
- "version": "0.14.0",
8
+ "version": "0.14.1",
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.0.jsii.tgz"
29
+ "cdk-github-runners@0.14.1.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.123.0, <3.0.0",
38
38
  "constructs>=10.0.5, <11.0.0",
39
- "jsii>=1.98.0, <2.0.0",
39
+ "jsii>=1.100.0, <2.0.0",
40
40
  "publication>=0.0.3",
41
41
  "typeguard~=2.13.3"
42
42
  ],
@@ -1,4 +1,4 @@
1
- '''
1
+ r'''
2
2
  # GitHub Self-Hosted Runners CDK Constructs
3
3
 
4
4
  [![NPM](https://img.shields.io/npm/v/@cloudsnorkel/cdk-github-runners?label=npm&logo=npm)](https://www.npmjs.com/package/@cloudsnorkel/cdk-github-runners)
@@ -71,9 +71,14 @@ You can also create your own provider by implementing `IRunnerProvider`.
71
71
  ### Use
72
72
 
73
73
  ```python
74
+ from aws_cdk import App, Stack
74
75
  from cloudsnorkel.cdk_github_runners import GitHubRunners
75
76
 
76
- GitHubRunners(self, "runners")
77
+ app = App()
78
+ stack = Stack(app, "github-runners")
79
+ GitHubRunners(stack, "runners")
80
+
81
+ app.synth()
77
82
  ```
78
83
 
79
84
  </details>
@@ -90,9 +95,14 @@ You can also create your own provider by implementing `IRunnerProvider`.
90
95
  ### Use
91
96
 
92
97
  ```python
98
+ import { App, Stack } from 'aws-cdk-lib';
93
99
  import { GitHubRunners } from '@cloudsnorkel/cdk-github-runners';
94
100
 
95
- new GitHubRunners(this, "runners");
101
+ const app = new App();
102
+ const stack = new Stack(app, 'github-runners');
103
+ new GitHubRunners(stack, 'runners');
104
+
105
+ app.synth();
96
106
  ```
97
107
 
98
108
  </details>
@@ -112,9 +122,19 @@ You can also create your own provider by implementing `IRunnerProvider`.
112
122
  ### Use
113
123
 
114
124
  ```java
125
+ import software.amazon.awscdk.App;
126
+ import software.amazon.awscdk.Stack;
115
127
  import com.cloudsnorkel.cdk.github.runners.GitHubRunners;
116
128
 
117
- GitHubRunners.Builder.create(this, "runners").build();
129
+ public class Example {
130
+ public static void main(String[] args){
131
+ App app = new App();
132
+ Stack stack = new Stack(app, "github-runners");
133
+ GitHubRunners.Builder.create(stack, "runners").build();
134
+
135
+ app.synth();
136
+ }
137
+ }
118
138
  ```
119
139
 
120
140
  </details>
@@ -131,9 +151,21 @@ You can also create your own provider by implementing `IRunnerProvider`.
131
151
  ### Use
132
152
 
133
153
  ```go
134
- import "github.com/CloudSnorkel/cdk-github-runners-go/cloudsnorkelcdkgithubrunners"
154
+ package main
135
155
 
136
- NewGitHubRunners(this, jsii.String("runners"))
156
+ import (
157
+ "github.com/CloudSnorkel/cdk-github-runners-go/cloudsnorkelcdkgithubrunners"
158
+ "github.com/aws/aws-cdk-go/awscdk/v2"
159
+ "github.com/aws/jsii-runtime-go"
160
+ )
161
+
162
+ func main() {
163
+ app := awscdk.NewApp(nil)
164
+ stack := awscdk.NewStack(app, jsii.String("github-runners"), &awscdk.StackProps{})
165
+ cloudsnorkelcdkgithubrunners.NewGitHubRunners(stack, jsii.String("runners"), &cloudsnorkelcdkgithubrunners.GitHubRunnersProps{})
166
+
167
+ app.Synth(nil)
168
+ }
137
169
  ```
138
170
 
139
171
  </details>
@@ -150,9 +182,22 @@ You can also create your own provider by implementing `IRunnerProvider`.
150
182
  ### Use
151
183
 
152
184
  ```csharp
185
+ using Amazon.CDK;
153
186
  using CloudSnorkel;
154
187
 
155
- new GitHubRunners(this, "runners");
188
+ namespace Example
189
+ {
190
+ sealed class Program
191
+ {
192
+ public static void Main(string[] args)
193
+ {
194
+ var app = new App();
195
+ var stack = new Stack(app, "github-runners");
196
+ new GitHubRunners(stack, "runners");
197
+ app.Synth();
198
+ }
199
+ }
200
+ }
156
201
  ```
157
202
 
158
203
  </details>
@@ -5906,7 +5951,7 @@ class AmiBuilder(
5906
5951
  ):
5907
5952
  '''(deprecated) An AMI builder that uses AWS Image Builder to build AMIs pre-baked with all the GitHub Actions runner requirements.
5908
5953
 
5909
- Builders can be used with {@link Ec2Runner }.
5954
+ Builders can be used with {@link Ec2RunnerProvider }.
5910
5955
 
5911
5956
  Each builder re-runs automatically at a set interval to make sure the AMIs contain the latest versions of everything.
5912
5957
 
@@ -5931,7 +5976,7 @@ class AmiBuilder(
5931
5976
  amiBuilder: builder,
5932
5977
  });
5933
5978
 
5934
- :deprecated: use RunnerImageBuilder
5979
+ :deprecated: use RunnerImageBuilder, e.g. with Ec2RunnerProvider.imageBuilder()
5935
5980
 
5936
5981
  :stability: deprecated
5937
5982
  '''
@@ -18,9 +18,9 @@ import constructs._jsii
18
18
 
19
19
  __jsii_assembly__ = jsii.JSIIAssembly.load(
20
20
  "@cloudsnorkel/cdk-github-runners",
21
- "0.14.0",
21
+ "0.14.1",
22
22
  __name__[0:-6],
23
- "cdk-github-runners@0.14.0.jsii.tgz",
23
+ "cdk-github-runners@0.14.1.jsii.tgz",
24
24
  )
25
25
 
26
26
  __all__ = [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cloudsnorkel.cdk-github-runners
3
- Version: 0.14.0
3
+ Version: 0.14.1
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>
@@ -93,9 +93,14 @@ You can also create your own provider by implementing `IRunnerProvider`.
93
93
  ### Use
94
94
 
95
95
  ```python
96
+ from aws_cdk import App, Stack
96
97
  from cloudsnorkel.cdk_github_runners import GitHubRunners
97
98
 
98
- GitHubRunners(self, "runners")
99
+ app = App()
100
+ stack = Stack(app, "github-runners")
101
+ GitHubRunners(stack, "runners")
102
+
103
+ app.synth()
99
104
  ```
100
105
 
101
106
  </details>
@@ -112,9 +117,14 @@ You can also create your own provider by implementing `IRunnerProvider`.
112
117
  ### Use
113
118
 
114
119
  ```python
120
+ import { App, Stack } from 'aws-cdk-lib';
115
121
  import { GitHubRunners } from '@cloudsnorkel/cdk-github-runners';
116
122
 
117
- new GitHubRunners(this, "runners");
123
+ const app = new App();
124
+ const stack = new Stack(app, 'github-runners');
125
+ new GitHubRunners(stack, 'runners');
126
+
127
+ app.synth();
118
128
  ```
119
129
 
120
130
  </details>
@@ -134,9 +144,19 @@ You can also create your own provider by implementing `IRunnerProvider`.
134
144
  ### Use
135
145
 
136
146
  ```java
147
+ import software.amazon.awscdk.App;
148
+ import software.amazon.awscdk.Stack;
137
149
  import com.cloudsnorkel.cdk.github.runners.GitHubRunners;
138
150
 
139
- GitHubRunners.Builder.create(this, "runners").build();
151
+ public class Example {
152
+ public static void main(String[] args){
153
+ App app = new App();
154
+ Stack stack = new Stack(app, "github-runners");
155
+ GitHubRunners.Builder.create(stack, "runners").build();
156
+
157
+ app.synth();
158
+ }
159
+ }
140
160
  ```
141
161
 
142
162
  </details>
@@ -153,9 +173,21 @@ You can also create your own provider by implementing `IRunnerProvider`.
153
173
  ### Use
154
174
 
155
175
  ```go
156
- import "github.com/CloudSnorkel/cdk-github-runners-go/cloudsnorkelcdkgithubrunners"
176
+ package main
177
+
178
+ import (
179
+ "github.com/CloudSnorkel/cdk-github-runners-go/cloudsnorkelcdkgithubrunners"
180
+ "github.com/aws/aws-cdk-go/awscdk/v2"
181
+ "github.com/aws/jsii-runtime-go"
182
+ )
183
+
184
+ func main() {
185
+ app := awscdk.NewApp(nil)
186
+ stack := awscdk.NewStack(app, jsii.String("github-runners"), &awscdk.StackProps{})
187
+ cloudsnorkelcdkgithubrunners.NewGitHubRunners(stack, jsii.String("runners"), &cloudsnorkelcdkgithubrunners.GitHubRunnersProps{})
157
188
 
158
- NewGitHubRunners(this, jsii.String("runners"))
189
+ app.Synth(nil)
190
+ }
159
191
  ```
160
192
 
161
193
  </details>
@@ -172,9 +204,22 @@ You can also create your own provider by implementing `IRunnerProvider`.
172
204
  ### Use
173
205
 
174
206
  ```csharp
207
+ using Amazon.CDK;
175
208
  using CloudSnorkel;
176
209
 
177
- new GitHubRunners(this, "runners");
210
+ namespace Example
211
+ {
212
+ sealed class Program
213
+ {
214
+ public static void Main(string[] args)
215
+ {
216
+ var app = new App();
217
+ var stack = new Stack(app, "github-runners");
218
+ new GitHubRunners(stack, "runners");
219
+ app.Synth();
220
+ }
221
+ }
222
+ }
178
223
  ```
179
224
 
180
225
  </details>
@@ -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.0.jsii.tgz
14
+ src/cloudsnorkel/cdk_github_runners/_jsii/cdk-github-runners@0.14.1.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.98.0
3
+ jsii<2.0.0,>=1.100.0
4
4
  publication>=0.0.3
5
5
  typeguard~=2.13.3